OSPFv3 for BFD
Information About OSPFv3 for BFD
The Bidirectional Forwarding Detection (BFD) protocol supports Open Shortest Path First version 3 (OSPFv3).
How to Configure OSPFv3 for BFD
Configuring BFD Support for 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. |
Configuring Baseline BFD Session Parameters on the Interface
Repeat this task for each interface over which you want to run BFD sessions to BFD neighbors.
SUMMARY STEPS
- enable
- configure terminal
- interface type number
- bfd interval milliseconds min_rx milliseconds multiplier interval-multiplier
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
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. |
Configuring BFD Support for OSPFv3 for All Interfaces
Before you begin
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.
SUMMARY STEPS
- enable
- configure terminal
- ipv6 router ospf process-id [vrf vpn-name ]
- bfd all-interfaces
- exit
- show bfd neighbors [vrf vrf-name ] [client {bgp | eigrp | isis | ospf | rsvp | te-frr }] [ip-address | ipv6 ipv6-address ] [details ]
- show ipv6 ospf [process-id ] [area-id ] [rate-limit ]
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
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. |
Configuring OSPF Support for BFD over IPv4 for One or More Interfaces
To configure BFD on one or more OSPF interfaces, perform the steps in this section.
SUMMARY STEPS
- enable
- configure terminal
- interface type number
- ip ospf bfd [disable ]
- end
- show bfd neighbors [details ]
- show ip ospf
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
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 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. |
Retrieving BFDv6 Information for Monitoring and Troubleshooting
SUMMARY STEPS
- enable
- monitor event ipv6 static [enable | disable ]
- show ipv6 static [ipv6-address | ipv6-prefix/prefix-length ] [interface type number | recursive ] [vrf vrf-name ] [bfd ] [detail
- show ipv6 static [ipv6-address | ipv6-prefix/prefix-length ] [interface type number | recursive ] [vrf vrf-name ] [bfd ] [detail ]
- debug ipv6 static
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
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. |
Configuring BFD Support for 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. |
Example: Displaying OSPF Interface Information about BFD
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)
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
OSPFv3 for BFD |
Bidirectional Forwarding Detection module |
Standards and RFCs
Standard/RFC |
Title |
---|---|
RFCs for IPv6 |
IPv6 RFCs |
Feature Information for OSPFv3 for BFD
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Releases |
Feature Information |
---|---|
Cisco IOS XE Fuji 16.8.1a |
The feature was introduced. |