Information About OSPFv3 for BFD
The Bidirectional Forwarding Detection (BFD) protocol supports Open Shortest Path First version 3 (OSPFv3).
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
The Bidirectional Forwarding Detection (BFD) protocol supports Open Shortest Path First version 3 (OSPFv3).
This section describes the procedures for configuring BFD support for OSPFv3, so that OSPFv3 is a registered protocol with BFD and will receive forwarding path detection failure messages from BFD. You can either configure BFD support for OSPFv3 globally on all interfaces or configure it selectively on one or more interfaces.
There are two methods for enabling BFD support for OSPFv3:
You can enable BFD for all of the interfaces for which OSPFv3 is routing by using the bfd all-interfaces command in router configuration mode. You can disable BFD support on individual interfaces using the ipv6 ospf bfd disable command in interface configuration mode.
You can enable BFD for a subset of the interfaces for which OSPFv3 is routing by using the ipv6 ospf bfd command in interface configuration mode.
Note |
OSPF will only initiate BFD sessions for OSPF neighbors that are in the FULL state. |
Repeat this task for each interface over which you want to run BFD sessions to BFD neighbors.
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode. Enter your password if prompted. |
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
Step 3 |
interface type number Example:
|
Specifies an interface type and number, and places the device in interface configuration mode. |
Step 4 |
bfd interval milliseconds min_rx milliseconds multiplier interval-multiplier Example:
|
Enables BFD on the interface. |
OSPFv3 must be running on all participating devices. The baseline parameters for BFD sessions on the interfaces over which you want to run BFD sessions to BFD neighbors must be configured.
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode. Enter your password if prompted. |
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
Step 3 |
ipv6 router ospf process-id [vrf vpn-name ] Example:
|
Configures an OSPFv3 routing process. |
Step 4 |
bfd all-interfaces Example:
|
Enables BFD for all interfaces participating in the routing process. |
Step 5 |
exit Example:
|
Enter this command twice to go to privileged EXEC mode. |
Step 6 |
show bfd neighbors [vrf vrf-name ] [client {bgp | eigrp | isis | ospf | rsvp | te-frr }] [ip-address | ipv6 ipv6-address ] [details ] Example:
|
(Optional) Displays a line-by-line listing of existing BFD adjacencies. |
Step 7 |
show ipv6 ospf [process-id ] [area-id ] [rate-limit ] Example:
|
(Optional) Displays general information about OSPFv3 routing processes. |
To configure BFD on one or more OSPF interfaces, perform the steps in this section.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode. Enter your password if prompted. |
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
interface type number Example:
|
Enters interface configuration mode. |
||
Step 4 |
ip ospf bfd [disable ] Example:
|
Enables or disables BFD on a per-interface basis for one or more interfaces that are associated with the OSPF routing process.
|
||
Step 5 |
end Example:
|
Exits interface configuration mode and returns the device to privileged EXEC mode. |
||
Step 6 |
show bfd neighbors [details ] Example:
|
(Optional) Displays information that can help verify if the BFD neighbor is active and displays the routing protocols that BFD has registered.
|
||
Step 7 |
show ip ospf Example:
|
(Optional) Displays information that can help verify if BFD support for OSPF has been enabled. |
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode. Enter your password if prompted. |
Step 2 |
monitor event ipv6 static [enable | disable ] Example:
|
Enables the use of event trace to monitor the operation of the IPv6 static and IPv6 static BFDv6 neighbors. |
Step 3 |
show ipv6 static [ipv6-address | ipv6-prefix/prefix-length ] [interface type number | recursive ] [vrf vrf-name ] [bfd ] [detail Example:
|
Displays the BFDv6 status for a static route associated with a static BFDv6 neighbor. |
Step 4 |
show ipv6 static [ipv6-address | ipv6-prefix/prefix-length ] [interface type number | recursive ] [vrf vrf-name ] [bfd ] [detail ] Example:
|
Displays static BFDv6 neighbors and associated static routes. |
Step 5 |
debug ipv6 static Example:
|
Enables BFDv6 debugging. |
The following display shows that the OSPF interface is enabled for BFD:
Device# show ipv6 ospf interface
Serial10/0 is up, line protocol is up
Link Local Address FE80::A8BB:CCFF:FE00:6500, Interface ID 42
Area 1, Process ID 1, Instance ID 0, Router ID 10.0.0.1
Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT, BFD enabled
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:07
Index 1/1/1, flood queue length 0
Next 0x0(0)/0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 10.1.0.1
Suppress hello for 0 neighbor(s)
Related Topic |
Document Title |
---|---|
OSPFv3 for BFD |
Bidirectional Forwarding Detection module |
Standard/RFC |
Title |
---|---|
RFCs for IPv6 |
IPv6 RFCs |
This table provides release and related information for the features explained in this module.
These features are available in all the releases subsequent to the one they were introduced in, unless noted otherwise.
Release |
Feature |
Feature Information |
---|---|---|
Cisco IOS XE Gibraltar 16.11.1 |
OSPFv3 BFD |
The Bidirectional Forwarding Detection (BFD) protocol supports Open Shortest Path First version 3 (OSPFv3). |
Use the Cisco Feature Navigator to find information about platform and software image support. To access Cisco Feature Navigator, go to https://cfnng.cisco.com/.