ip route bfd
Syntax
ip route <DEST-IPV4-ADDR>/<NETMASK> [<NEXT-HOP-IP-ADDR>|<INTERFACE>] bfd
ip route <DEST-IPV4-ADDR>/<NETMASK> [<NEXT-HOP-IP-ADDR>|<INTERFACE>]
Description
Enables or disables BFD on the specified static route. To disable BFD, issue the command without the
bfd
option.
Command context
config
Parameters
<DEST-IPV4-ADDR>/<NETMASK>
Specifies the IPv4 route destination.
<NEXT-HOP-IP-ADDR>
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. You can remove leading zeros. For example, the address192.169.005.100
becomes192.168.5.100
.<INTERFACE>
Specifies the next hop as an outgoing interface.
bfd
Enables BFD on the static route. Omit this parameter to disable BFD.
Authority
Administrators
Examples
Enabling BFD on a static route:
switch(config)# interface 1/1/1 switch(config-if)# ip address 20.1.1.2/24 switch(config-if)# no shutdown switch(config-if)# quit switch(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/1 switch(config-if)# ip address 20.1.1.2/24 switch(config-if)# no shutdown switch(config-if)# quit switch(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