Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
7-13
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 7 Configuring Bidirectional Forwarding Detection for BGP
Configuring BFD
Configuring BFD on BGP
You can configure BFD for the Border Gateway Protocol (BGP).
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Enable the BFD feature. See the “Enabling the BFD Feature” section on page 7-6.
Configure the BFD session parameters. See the “Configuring Global BFD Parameters” section on
page 7-6 or the “Configuring BFD on an Interface” section on page 7-8.
Enable the BGP feature. See the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide,
Release 5.x, for more information.
SUMMARY STEPS
1. configure terminal
2. router bgp as-number
3. neighbor {ip-address | ipv6-address} remote-as as-number
4. bfd
5. (Optional) show running-config bgp
6. (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
router bgp as-number
Example:
switch(config)# router bgp 64496
switch(config-router)#
Enables BGP and assigns the AS number to the local
BGP speaker. The AS number can be a 16-bit integer
or a 32-bit integer in the form of a higher 16-bit
decimal number and a lower 16-bit decimal number in
xx.xx format.
Step 3
neighbor {ip-address | ipv6-address}
remote-as as-number
Example:
switch(config-router)# neighbor
209.165.201.1 remote-as 64497
switch(config-router-neighbor)#
Configures the IPv4 or IPv6 address and AS number
for a remote BGP peer. The ip-address format is
x.x.x.x. The ipv6-address format is A:B::C:D.
Step 4
bfd
Example:
switch(config-router-neighbor)# bfd
Enables BFD for this BGP peer.