To establish BFD with all OSPF neighbors or with OSPF neighbors on a single interface, use the following
commands.
•
Establish sessions with all OSPF neighbors.
ROUTER-OSPF mode
bfd all-neighbors
•
Establish sessions with OSPF neighbors on a single interface.
INTERFACE mode
ip ospf bfd all-neighbors
Example of Verifying Sessions with OSPF Neighbors
To view the established sessions, use the show bfd neighbors command.
The bold line shows the OSPF BFD sessions.
R2(conf-router_ospf)#bfd all-neighbors
R2(conf-router_ospf)#do show bfd neighbors
*
- Active session role
Ad Dn - Admin Down
C
- CLI
I
- ISIS
O
- OSPF
R
- Static Route (RTM)
LocalAddr
RemoteAddr Interface State Rx-int Tx-int Mult Clients
* 2.2.2.2
2.2.2.1
* 2.2.3.1
2.2.3.2
Changing OSPFv3 Session Parameters
Configure BFD sessions with default intervals and a default role.
The parameters that you can configure are: desired tx interval, required min rx interval,
detection multiplier, and system role. Configure these parameters for all OSPFv3 sessions or all
OSPFv3 sessions on a particular interface. If you change a parameter globally, the change affects all OSPFv3
neighbors sessions. If you change a parameter at the interface level, the change affects all OSPFv3 sessions
on that interface.
To change parameters for all OSPFv3 sessions or for OSPFv3 sessions on a single interface, use the following
commands.
To view session parameters, use the show bfd neighbors detail command, as shown in the example in
Displaying BFD for BGP
•
Change parameters for all OSPFv3 sessions.
ROUTER-OSPFv3 mode
bfd all-neighbors interval milliseconds min_rx milliseconds multiplier value
role [active | passive]
•
Change parameters for OSPFv3 sessions on a single interface.
INTERFACE mode
ipv6 ospf bfd all-neighbors interval milliseconds min_rx milliseconds multiplier
value role [active | passive]
Te 2/1
Up
Te 2/2
Up
Information.
200
200
3
200
200
3
Bidirectional Forwarding Detection (BFD)
O
O
175