ip route bfd
Syntax
ip route / [ | ] [bfd]
描述
Enables or disables BFD on the specified static route. To disable BFD, issue the command without thebfd
option.
Command context
config
Parameters
-
-
Specifies a route destination in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255. -
-
指定数量的广告位dress mask in CIDR format (
x
), wherex
is a decimal number from 0 to 128. -
-
Specifies the next hop address for reaching the destination in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255. -
-
Specifies the next hop as an outgoing interface.
-
bfd
-
Enables BFD on the static route. Omit this parameter to disable BFD.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Enabling BFD on a static route:
switch(config)#interface 1/1/1switch(config-if)#ip address 20.1.1.2/24switch(config-if)#no shutdownswitch(config-if)#exitswitch(config)#ip route 192.0.0.0/8 20.1.1.1 bfd
Disabling BFD on a static route:
switch(config)# ip route 192.0.0.0/8 20.1.1.1
Enabling BFD on a static route:
switch(config)#interface 1/1/1switch(config-if)#ip address 20.1.1.2/24switch(config-if)#no shutdownswitch(config-if)#exitswitch(config)#ip route 192.0.0.0/8 1/1/1 bfd
Disabling BFD on a static route:
switch(config)# ip route 192.0.0.0/8 1/1/1