Send document comments to nexus7k-docfeedback@cisco.com
5-11
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 5 Configuring Bidirectional Forwarding Detection
Configuring BFD
Configuring BFD on a Port Channel
You can configure the BFD session parameters for all BFD sessions on a port channel. If per-link mode
is used for Layer 3 port channels, BFD creates a session for each link in the port channel and provides
an aggregate result to client protocols. For example, if the BFD session for one link on a port channel is
up, BFD informs client protocols, such as OSPF, that the port channel is up. The BFD session parameters
are negotiated between the BFD peers in a three-way handshake.
This configuration overrides the global session parameters for the configured port channel. The member
ports of the port channel inherit the port channel BFD session parameters, unless you configure
subinterface-level BFD parameters on a member port. In that case, the member port subinterface uses
the subinterface BFD configuration if subinterface optimization is not enabled. See the “Optimizing
BFD on Subinterfaces” section on page 5-13 for more information.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Ensure that you enable LACP on the port channel before you enable BFD.
Enable the BFD feature. See the “Enabling the BFD Feature” section on page 5-7.
SUMMARY STEPS
1. configure terminal
2. interface port-channel number
3. bfd per-link
4. (Optional) bfd interval mintx min_rx msec multiplier value
5. (Optional) bfd authentication keyed-sha1 keyid id key ascii_key
6. (Optional) show running-config bfd
7. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface port-channel number
Example:
switch(config)# interface port-channel 2
switch(config-if)#
Enters port channel configuration mode. Use the ?
keyword to display the supported number range.
Step 3
bfd per-link
Example:
switch(config-if)# bfd per-link
Configures the BFD sessions for each link in the port
channel.