39-14
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)SG
OL_28731-01
Chapter 39 Configuring Bidirection Forwarding Detection
How to Configure Bidirectional Forwarding Detection
To configure BFD support for static routing, perform this task:
Command or Action Purpose
Step 1
enable
Switch> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Switch# configure terminal
Enters global configuration mode.
Step 3
interface type number
Switch(config)# interface gigabitethernet6/1
Configures an interface and enters interface configuration
mode.
Step 4
no switchport
Switch(config-if)# no switchport
Changes the interface to Layer 3.
Step 5
ip address ip-address mask
Switch(config-if)# ip address 10.201.201.1
255.255.255.0
Configures an IP address for the interface.
Step 6
bfd interval milliseconds min_rx milliseconds
multiplier interval-multiplier
Switch(config-if)# bfd interval 500 min_rx 500
multiplier 5
Enables BFD on the interface.
Step 7
exit
Switch(config-if)# exit
Exits interface configuration mode and returns to global
configuration mode.
Step 8
ip route static bfd interface-type
interface-number ip-address [group group-name
[passive]]
Switch(config)# ip route static bfd
Gi6/1 10.1.1.1 group group1 passive
Specifies a static route BFD neighbor.
• The interface-type, interface-number, and ip-address
arguments are required because BFD support exists
only for directly connected neighbors.
Step 9
ip route [vrf vrf-name] prefix mask {ip-address
| interface-type interface-number [ip-address]}
[dhcp] [distance] [name next-hop-name]
[permanent | track number] [tag tag]
Example:
Switch(config)# ip route 10.0.0.0 255.0.0.0
Gi6/1 10.201.201.2
Specifies a static route BFD neighbor.
Step 10
exit
Example:
Switch(config)# exit
Exits global configuration mode and returns to privileged
EXEC mode.
Step 11
show ip static route
Example:
Switch# show ip static route
(Optional) Displays static route database information.