B Cisco Nexus 9000 NX Os Interfaces Configuration Guide 92x - Chapter - 0110
B Cisco Nexus 9000 NX Os Interfaces Configuration Guide 92x - Chapter - 0110
About BFD
BFD is a detection protocol designed to provide fast forwarding-path failure detection times for media types,
encapsulations, topologies, and routing protocols. You can use BFD to detect forwarding path failures at a
uniform rate, rather than the variable rates for different protocol hello mechanisms. BFD makes network
profiling and planning easier and reconvergence time consistent and predictable.
BFD provides subsecond failure detection between two adjacent devices and can be less CPU-intensive than
protocol hello messages because some of the BFD load can be distributed onto the data plane on supported
modules.
Asynchronous Mode
Cisco NX-OS supports the BFD asynchronous mode, which sends BFD control packets between two adjacent
devices to activate and maintain BFD neighbor sessions between the devices. You configure BFD on both
devices (or BFD neighbors). Once BFD has been enabled on the interfaces and on the appropriate protocols,
Cisco NX-OS creates a BFD session, negotiates BFD session parameters, and begins to send BFD control
packets to each BFD neighbor at the negotiated interval. The BFD session parameters include the following:
• Desired minimum transmit interval—The interval at which this device wants to send BFD hello messages.
• Required minimum receive interval—The minimum interval at which this device can accept BFD hello
messages from another BFD device.
• Detect multiplier—The number of missing BFD hello messages from another BFD device before this
local device detects a fault in the forwarding path.
The following figure shows how a BFD session is established. The figure shows a simple network with two
routers running Open Shortest Path First (OSPF) and BFD. When OSPF discovers a neighbor (1), it sends a
request to the local BFD process to initiate a BFD neighbor session with the OSPF neighbor router (2). The
BFD neighbor session with the OSPF neighbor router is now established (3).
Figure 1: Establishing a BFD Neighbor Relationship
Note Note The BFD failure detection occurs in less than a second, which is much faster than OSPF Hello messages
could detect the same failure.
Distributed Operation
Cisco NX-OS can distribute the BFD operation to compatible modules that support BFD. This process offloads
the CPU load for BFD packet processing to the individual modules that connect to the BFD neighbors. All
BFD session traffic occurs on the module CPU. The module informs the supervisor when a BFD failure is
detected.
Security
Cisco NX-OS uses the packet Time to Live (TTL) value to verify that the BFD packets came from an adjacent
BFD peer. For all asynchronous and echo request packets, the BFD neighbor sets the TTL value to 255 and
the local BFD process verifies the TTL value as 255 before processing the incoming packet. For the echo
response packet, BFD sets the TTL value to 254.
You can configure SHA-1 authentication of BFD packets.
High Availability
BFD supports stateless restarts. After a reboot or supervisor switchover, Cisco NX-OS applies the running
configuration and BFD immediately sends control packets to the BFD peers.
Virtualization Support
BFD supports virtual routing and forwarding instances (VRFs). VRFs exist within virtual device contexts
(VDCs). By default, Cisco NX-OS places you in the default VDC and default VRF.
• SVI limitations:
• An ASIC reset causes traffic disruption for other ports and it can cause the SVI sessions on the other
ports to flap. For example, if the carrier interface is a virtual port channel (vPC), BFD is not supported
over the SVI interface and it could cause a trigger for an ASIC reset. When a BFD session is over
SVI using virtual port channel (vPC) Peer-Link, the BFD echo function is not supported. You must
disable the BFD echo function for all sessions over SVI between vPC peer nodes.
An SVI on the Cisco Nexus series switches should not be configured to establish a BFD neighbor
adjacency with a device connected to it via a vPC. This is because the BFD keepalives from the
neighbor, if sent over the vPC member link connected to the vPC peer-switch, do not reach this SVI
causing the BFD adjacency to fail.
• When you change the topology (for example, add or delete a link into a VLAN, delete a member
from a Layer 2 port channel, and so on), the SVI session could be affected. It may go down first
and then come up after the topology discovery is finished.
• BFD over FEX HIF interfaces is not supported.
• When a BFD session is over SVI using virtual port-channel (vPC) Peer-Link (either BCM or GEM
based ports), the BFD echo function is not supported. You must disable the BFD echo function for
all sessions over SVI between vPC peer nodes using the no bfd echo command at the SVI
configuration level.
Tip If you do not want the SVI sessions to flap and you need to change the topology,
you can disable the BFD feature before making the changes and re-enable BFD
after the changes have been made. You can also configure the BFD timer to be
a large value (for example, 5 seconds), and change it back to a fast timer after
the above events complete.
• When you configure the BFD Echo function on the distributed Layer 3 port channels, reloading a member
module flaps the BFD session hosted on that module, which results in a packet loss.
If you connect the BFD peers directly without a Layer 2 switch in between, you can use the BFD per-link
mode as an alternative solution.
• When you specify a BFD neighbor prefix in the clear {ip | ipv6} route prefix command, the BFD
echo session flaps.
• The clear {ip | ipv6} route * command causes BFD echo sessions to flap.
• HSRP for IPv4 is supported with BFD.
• BFD packets generated by the Cisco NX-OS device line cards are sent with COS 6/DSCP CS6. The
DSCP/COS values for BFD packets are not user configurable.
• When configuring BFDv6 in no-bfd-echo mode, it is recommended to run with timers of 150 ms with a
multiplier of 3.
• BFDv6 is not supported for VRRPv3 and HSRP for v6.
• IPv6 eigrp bfd cannot be disabled on an interface.
• IETF BFD is not supported on N9K-X96136YC-R, N9K-X9636C-R, N9K-X9636C-RX and
N9K-X9636Q-R line cards.
• Port channel configuration notes:
• When the BFD per-link mode is configured, the BFD echo function is not supported. You must
disable the BFD echo function using the no bfd echo command before configuring the bfd per-link
command.
• Before configuring BFD per-link, make sure there is no BFD session running on the port-channel.
If there is any BFD session running already, remove it and then proceed with bfd per-link
configuration.
• Configuring BFD per-link with link-local is not supported.
• The supported platforms include Cisco Nexus 9500 Series switches with N9K-X9636C-R,
N9K-X9636Q-R, N9K-X9636C-RX line cards.
• Beginning with Cisco NX-OS Release 9.3(7), BFD is supported on unnumbered interfaces.
Note BFD over unnumbered Switched Virtual Interfaces (SVIs) are not supported.
Downgrade compatibility for BFD on unnumbered interface support cannot be
verified using show incompatibility nxos bootflash:filename command. The
compatibility will be checked during install all command.
• When you configure BFD on a numbered interface along with OSPF and when the interface is converted
to an unnumbered interface, the OSPF and BFD command remains in the running configuration but the
BFD functionality may not work
• The following BFD command configurations are not supported for configuration replace:
• port-channel bfd track-member-link
• port-channel bfd destination destination-ip-address
Default Settings
The following table lists the default settings for BFD parameters.
Parameters Default
Detect multiplier 3
Mode Asynchronous
Configuring BFD
Configuration Hierarchy
You can configure BFD at the global level and at the interface level. The interface configuration overrides
the global configuration.
For physical ports that are members of a port channel, the member port inherits the primary port channel BFD
configuration.
Note Use the no feature bfd command to disable the BFD feature and remove all associated configuration.
Command Purpose
SUMMARY STEPS
1. configure terminal
2. feature bfd
3. show feature | include bfd
4. copy running-config startup-config
DETAILED STEPS
Procedure
Step 3 show feature | include bfd (Optional) Displays enabled and disabled features.
Example:
switch(config)# show feature | include
bfd
SUMMARY STEPS
1. configure terminal
2. bfd interval mintx min_rx msec multiplier value
3. bfd slow-timer [interval]
4. bfd echo-interface loopback interface number
5. show running-config bfd
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 bfd interval mintx min_rx msec multiplier value Configures the BFD session parameters for all BFD sessions
on the device. This command overrides these values by
Example:
configuring the BFD session parameters on an interface.
switch(config)# bfd interval 50 min_rx The mintx and msec range is from 50 to 999 milliseconds
50 multiplier 3
and the default is 50. The multiplier range is from 1 to 50.
The multiplier default is 3.
Step 3 bfd slow-timer [interval] Configures the slow timer used in the echo function. This
value determines how fast BFD starts up a new session and
Example:
at what speed the asynchronous sessions use for BFD
switch(config)# bfd slow-timer 2000 control packets when the echo function is enabled. The
slow-timer value is used as the new control packet interval,
while the echo packets use the configured BFD intervals.
The echo packets are used for link failure detection, while
the control packets at the slower rate maintain the BFD
session. The range is from 1000 to 30000 milliseconds. The
default is 2000.
Step 4 bfd echo-interface loopback interface number Configures the interface used for Bidirectional Forwarding
Detection (BFD) echo frames. This command changes the
Example:
source address for the echo packets to the one configured
switch(config)# bfd echo-interface loopback 1 3 on the specified loopback interface. The interface number
range is from 0 to 1023.
Step 5 show running-config bfd (Optional) Displays the BFD running configuration.
Example:
switch(config)# show running-config bfd
SUMMARY STEPS
1. configure terminal
2. interface int-if
3. bfd interval mintx min_rx msec multiplier value
4. bfd authentication keyed-sha1 keyid id key ascii_key
5. show running-config bfd
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
Step 3 bfd interval mintx min_rx msec multiplier value Configures the BFD session parameters for all BFD sessions
on the device. This command overrides these values by
Example:
configuring the BFD session parameters on an interface.
switch(config-if)# bfd interval 50 The mintx and msec range is from 50 to 999 milliseconds
min_rx 50 multiplier 3
and the default is 50. The multiplier range is from 1 to 50.
The multiplier default is 3.
Beginning with Cisco NX-OS Release 9.3(5), configuring
BFD session parameters under interface with default timer
values using the bfd interval 50 min_rx 50 multiplier 3
command is functionally equivalent to no bfd interval
command.
Once BFD session parameters under interface are set to
default values, those BFD sessions running on that interface
will inherit global session parameters, if present.
Step 4 bfd authentication keyed-sha1 keyid id key ascii_key (Optional) Configures SHA-1 authentication for all BFD
sessions on the interface. The ascii_key string is a secret
Example:
key shared among BFD peers. The id value, a number
Step 5 show running-config bfd (Optional) Displays the BFD running configuration.
Example:
switch(config-if)# show running-config bfd
SUMMARY STEPS
1. configure terminal
2. interface port-channel number
3. bfd per-link
4. bfd interval mintx min_rx msec multiplier value
5. bfd authentication keyed-sha1 keyid id key ascii_key
6. show running-config bfd
7. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 interface port-channel number Enters port-channel configuration mode. Use the ? keyword
to display the supported number range.
Example:
switch(config)# interface port-channel 2
switch(config-if)#
Step 3 bfd per-link Configures the BFD sessions for each link in the port
channel.
Example:
switch(config-if)# bfd per-link
Step 4 bfd interval mintx min_rx msec multiplier value (Optional) Configures the BFD session parameters for all
BFD sessions on the port channel. This command overrides
Example:
these values by configuring the BFD session parameters.
switch(config-if)# bfd interval 50 The mintx and msec range is from 50 to 999 milliseconds
min_rx 50 multiplier 3
and the default is 50. The multiplier range is from 1 to 50.
The multiplier default is 3.
Step 5 bfd authentication keyed-sha1 keyid id key ascii_key (Optional) Configures SHA-1 authentication for all BFD
sessions on the interface. The ascii_key string is a secret
Example:
key shared among BFD peers. The id value, a number
switch(config-if)# bfd authentication between 0 and 255, is assigned to this particular ascii_key.
keyed-sha1 keyid 1 ascii_key cisco123
BFD packets specify the key by id, allowing the use of
multiple active keys.
To disable SHA-1 authentication on the interface, use the
no form of the command.
Step 6 show running-config bfd (Optional) Displays the BFD running configuration.
Example:
switch(config-if)# show running-config bfd
SUMMARY STEPS
1. configure terminal
2. bfd slow-timer echo-interval
3. interface int-if
4. bfd echo
5. show running-config bfd
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 bfd slow-timer echo-interval Configures the slow timer used in the echo function. This
value determines how fast BFD starts up a new session and
Example:
is used to slow down the asynchronous sessions when the
switch(config)# bfd slow-timer 2000 BFD echo function is enabled. This value overwrites the
required minimum receive interval when the echo function
is enabled. The range is from 1000 to 30000 milliseconds.
The default is 2000.
Step 3 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
Step 5 show running-config bfd (Optional) Displays the BFD running configuration.
Example:
switch(config-if)# show running-config bfd
SUMMARY STEPS
1. configure terminal
2. router bgp as-number
3. neighbor (ip-address | ipv6-address) remote-as as-number
4. bfd [multihop | singlehop]
5. update-source interface
6. show running-config bgp
7. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 router bgp as-number 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
Example:
integer in the form of a higher 16-bit decimal number and
switch(config)# router bgp 64496 a lower 16-bit decimal number in xx.xx format.
switch(config-router)#
Step 3 neighbor (ip-address | ipv6-address) remote-as as-number Configures the IPv4 or IPv6 address and AS number for a
remote BGP peer. The ip-address format is x.x.x.x. The
Example:
ipv6-address format is A:B::C:D.
switch(config-router)# neighbor
209.165.201.1 remote-as 64497
switch(config-router-neighbor)#
Step 4 bfd [multihop | singlehop] Configures the BFD multi hop or single hop session on the
device. The default is with no keyword. When you do not
Example:
specify any keyword and if the peer is directly connected
switch(config-router-neighbor)# bfd multiihop then a single hop session is selected, if the peer is not
connected then a multi hop session type is selected. When
you specify a "multihop" or "singlehop" option, the session
type is forced in a device according to the CLI option.
Step 5 update-source interface Allows BGP sessions to use the primary IP address from a
particular interface as the local address when forming a
Example:
BGP session with a neighbor and enables BGP to register
switch(config-router-neighbor)# update-source as a client with BFD.
ethernet 2/1
Step 6 show running-config bgp (Optional) Displays the BGP running configuration.
Example:
switch(config-router-neighbor)# show
running-config bgp
SUMMARY STEPS
1. configure terminal
2. router eigrp instance-tag
3. bfd [ipv4 | ipv6]
4. interface int-if
5. ip eigrp instance-tag bfd
6. show ip eigrp [vrf vrf-name] [ interfaces if]
7. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 router eigrp instance-tag Creates a new EIGRP process with the configured instance
tag. The instance tag can be any case-sensitive,
Example:
alphanumeric string up to 20 characters.
switch(config)# router eigrp Test1
switch(config-router)# If you configure an instance-tag that does not qualify as an
AS number, you must use the autonomous-system to
configure the AS number explicitly or this EIGRP instance
will remain in the shutdown state.
Step 3 bfd [ipv4 | ipv6] (Optional) Enables BFD for all EIGRP interfaces.
Example:
switch(config-router-neighbor)# bfd ipv4
Step 4 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config-router-neighbor)# interface
ethernet 2/1
switch(config-if)#
Step 6 show ip eigrp [vrf vrf-name] [ interfaces if] (Optional) Displays information about EIGRP. The vrf-name
can be any case-sensitive, alphanumeric string up to 32
Example:
characters.
switch(config-if)# show ip eigrp
SUMMARY STEPS
1. configure terminal
2. router ospf instance-tag
3. bfd [ipv4 | ipv6]
4. interface int-if
5. ip ospf bfd
6. show ip ospf [vrf vrf-name] [ interfaces if]
7. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 router ospf instance-tag Creates a new OSPF instance with the configured instance
tag. The instance tag can be any case-sensitive,
Example:
alphanumeric string up to 20 characters.
switch(config)# router ospf 200
switch(config-router)#
Step 3 bfd [ipv4 | ipv6] (Optional) Enables BFD for all OSPF interfaces.
Example:
switch(config-router)# bfd
Step 4 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config-router)# interface
ethernet 2/1
switch(config-if)#
Step 6 show ip ospf [vrf vrf-name] [ interfaces if] (Optional) Displays information about OSPF. The vrf-name
can be any case-sensitive, alphanumeric string up to 32
Example:
characters.
switch(config-if)# show ip ospf
Configure the BFD session parameters. See the Configuring Global BFD Parameters section or the Configuring
BFD on an Interface section.
Enable the IS-IS feature. See the Cisco Nexus 9000 Series NX-OS Unicast Routing Configuration Guide for
more information.
SUMMARY STEPS
1. configure terminal
2. router isis instance-tag
3. bfd [ipv4 | ipv6]
4. interface int-if
5. isis bfd
6. show isis [vrf vrf-name] [ interface if]
7. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 router isis instance-tag Creates a new IS-IS instance with the configured instance
tag.
Example:
Step 3 bfd [ipv4 | ipv6] (Optional) Enables BFD for all OSPF interfaces.
Example:
switch(config-router)# bfd
Step 4 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config-router)# interface
ethernet 2/1
switch(config-if)#
SUMMARY STEPS
1. configure terminal
2. hsrp bfd all-interfaces
3. interface int-if
4. hsrp bfd
5. show running-config hsrp
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 hsrp bfd all-interfaces (Optional) Enables or disables BFD on all HSRP interfaces.
The default is disabled.
Example:
switch# hsrp bfd all-interfaces
Step 3 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config-router)# interface
ethernet 2/1
switch(config-if)#
Step 5 show running-config hsrp (Optional) Displays the HSRP running configuration.
Example:
switch(config-if)# show running-config hsrp
Enable the VRRP feature. See the Cisco Nexus 9000 Series NX-OS Unicast Routing Configuration Guide
for more information.
SUMMARY STEPS
1. configure terminal
2. interface int-if
3. vrrp group-no
4. vrrp bfd address
5. show running-config vrrp
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config)# interface
ethernet 2/1
switch(config-if)#
Step 4 vrrp bfd address Enables or disables BFD on a VRRP interface. The default
is disabled.
Example:
switch(config-if)# vrrp bfd
Step 5 show running-config vrrp (Optional) Displays the VRRP running configuration.
Example:
switch(config-if)# show running-config vrrp
SUMMARY STEPS
1. configure terminal
2. ip pim bfd
3. interface int-if
4. ip pim bfd-instance [disable]
5. show running-config pim
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 3 interface int-if Enters interface configuration mode. Use the ? keyword to
display the supported interfaces.
Example:
switch(config)# interface
ethernet 2/1
switch(config-if)#
Step 4 ip pim bfd-instance [disable] (Optional) Enables or disables BFD on a PIM interface.
The default is disabled.
Example:
switch(config-if)# ip pim bfd-instance
Step 5 show running-config pim (Optional) Displays the PIM running configuration.
Example:
switch(config)# show running-config pim
SUMMARY STEPS
1. configure terminal
2. vrf context vrf-name
3. ip route route interface {nh-address | nh-prefix}
4. ip route static bfd interface {nh-address | nh-prefix}
5. show ip route static [vrf vrf-name]
6. copy running-config startup-config
DETAILED STEPS
Procedure
Step 3 ip route route interface {nh-address | nh-prefix} Creates a static route Use the ? keyword to display the
supported interfaces.
Example:
switch(config-vrf)# ip route 192.0.2.1 ethernet
2/1 192.0.2.4
Step 4 ip route static bfd interface {nh-address | nh-prefix} Enables BFD for all static routes on an interface. Use the?
keyword to display the supported interfaces.
Example:
Step 5 show ip route static [vrf vrf-name] (Optional) Displays the static routes.
Example:
switch(config-vrf)# show ip route static vrf Red
Command Purpose
ip eigrp instance-tag bfd disable Disables BFD on an EIGRP interface. The instance
tag can be any case-sensitive, alphanumeric string up
Example:
to 20 characters.
switch(config-if)# ip eigrp Test1 bfd
disable
DETAILED STEPS
Procedure
Step 2 interface port-channel int-if Enters interface configuration mode. Use the ? keyword
to display the supported interfaces.
Example:
switch(config-if)# interface ethernet 2/1
Step 5 bfd interval mintx min_rx msec multiplier value Configures the BFD session parameters for all BFD sessions
on the port channel. This command overrides these values
Example:
by configuring the BFD session parameters. The mintx and
switch(config-if)# bfd interval 50 msec range is from 50 to 999 milliseconds and the default
min_rx 50 multiplier 3
is 50. The multiplier range is from 1 to 50. The multiplier
default is 3.
DETAILED STEPS
Procedure
Step 2 interface port-channel vlan vlan-id Creates a dynamic Switch Virtual Interface (SVI).
Example:
switch(config)# interface vlan 998
switch(config-if)#
Step 3 bfd interval mintx min_rx msec multiplier value Configures the BFD session parameters for all BFD sessions
on the device. The mintx and msec range is from 50 to 999
Example:
milliseconds and the default is 50. The multiplier range is
switch(config-if)# bfd interval 50 from 1 to 50. The multiplier default is 3.
min_rx 50 multiplier 3
DETAILED STEPS
Procedure
Step 2 interface port-channel type number.subinterface-id Enters port channel configuration mode. Use the ? keyword
to display the supported number range.
Example:
switch(config-if)# interface port-channel 50.2
Step 3 bfd interval mintx min_rx msec multiplier value Configures the BFD session parameters for all BFD sessions
on the port channel. The mintx and msec range is from 50
Example:
to 999 milliseconds and the default is 50. The multiplier
switch(config-if)# bfd interval 50 range is from 1 to 50. The multiplier default is 3.
min_rx 50 multiplier 3
Command Purpose
show startup-config bfd Displays the BFD configuration that will be applied
on the next system startup.
Monitoring BFD
Use the following commands to display BFD:
Command Purpose
show bfd neighbors [application name] [details] Displays information about BFD for a supported
application, such as BGP or OSPFv2.
show bfd neighbors [interface int-if] [details] Displays information about BFD neighbors on an
interface.
show bfd neighbors [dest-ip ip-address] [src-ip Displays information about the specified BFD
ip-address][details] neighbors on an interface.
show bfd neighbors [vrf vrf-name] [details] Displays information about BFD for a VRF.
show bfd [ipv4 | ipv6] [neighbors] Displays information about IPv4 neighbors or IPv6
neighbors.
BFD Multihop
Beginning with Cisco NX-OS Release 9.2(1), BFD multihop is supported on Cisco Nexus 9000 switches in
compliance with RFC5883. You can now configure IPv4 BFD sessions over multihop routes. BFD multihop
session is setup between a unique source and destination address pair. A multihop BFD session is associated
with the link between a source-destination rather than an interface as in single hop BFD sessions. BFD multihop
is not supported on IPv6.
SUMMARY STEPS
1. configure terminal
2. [no] bfd multihop interval milliseconds min_rx milliseconds multiplier interval-multiplier
3. end
DETAILED STEPS
Procedure
Step 2 [no] bfd multihop interval milliseconds min_rx Configures the BFD multihop session global parameters
milliseconds multiplier interval-multiplier for all BFD sessions on the device. This command overrides
the default values. The Required Minimum Receive Interval
Example:
and Desired Minimum Transmit Interval are 250. The
switch(config)# bfd multihop interval 250 min_rx multiplier default is 3.
250 multiplier 3
Step 3 end Saves the configuration change and ends the configuration
session.
Example:
switch(config)# end
SUMMARY STEPS
1. configure terminal
2. router bgp as-number
3. neighbor (ip-address | ipv6-address) remote-as as-number
4. update-source interface
5. bfd
6. bfd multihop interval mintx min_rx msec multiplier value
7. bfd multihop authentication keyed-sha1 keyid id key ascii_key
8. copy running-config startup-config
DETAILED STEPS
Procedure
Step 2 router bgp as-number 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
Example:
integer in the form of a higher 16-bit decimal number and
switch(config)# router bgp 64496 a lower 16-bit decimal number in xx.xx format.
switch(config-router)#
Step 3 neighbor (ip-address | ipv6-address) remote-as as-number Configures the IPv4 or IPv6 address and AS number for a
remote BGP peer. The ip-address format is x.x.x.x. The
Example:
ipv6-address format is A:B::C:D.
switch(config-router)# neighbor
209.165.201.1 remote-as 64497
switch(config-router-neighbor)#
Step 4 update-source interface Retrieves the source IP address of the BFD session from
the interface.
Example:
switch(config-router-neighbor)# update-source
Ethernet1/4
switch(config-router-neighbor)#
Step 6 bfd multihop interval mintx min_rx msec multiplier value Configures Multihop BFD interval values for this neighbor.
The mintx and msec range is from 250 to 999 milliseconds
Example:
and the default is 250. The multiplier range is from 1 to 50.
switch(config-router-neighbor)# bfd multihop The multiplier default is 3.
interval 250
min_rx 250 multiplier 3
Step 7 bfd multihop authentication keyed-sha1 keyid id key (Optional) Configures SHA-1 authentication for BFDs on
ascii_key Multihop BFD session over this neighbor. The ascii_key
string is a secret key shared among BFD peers. The id value,
Example:
a number between 0 and 255, is assigned to this particular
switch(config-router-neighbor)# bfd multihop ascii_key. BFD packets specify the key by id, allowing the
authentication
keyed-sha1 keyid 1 ascii_key cisco123
use of multiple active keys.
To disable SHA-1 authentication on the interface, use the
no form of the command.
feature bfd
feature ospf
router ospf Test1
interface ethernet 2/1
ip ospf bfd
no shutdown
This example shows how to configure BFD for all EIGRP interfaces, using the default BFD session parameters:
feature bfd
feature eigrp
bfd interval 100 min_rx 100 multiplier 4
router eigrp Test2
bfd
feature bfd
feature ospfv3
router ospfv3 Test1
interface Ethernet2/7
ipv6 router ospfv3 Test1 area 0.0.0.0
ospfv3 bfd
no shutdown
OurAddr NeighAddr
LD/RD RH/RS Holdown(mult) State Int
Vrf
cc:10::2 cc:10::1
1090519335/1090519260 Up 5692(3) Up Po1
default
Related Documents
Related Topic Document Title
RFCs
RFC Title