Setting a BFD Session to Passive
BFD sessions can be set to passive for OSPFv2-enabled and OSPFv3-enabled interfaces.
The following task enables BFD for an OSPFv2-enabled Ethernet interface and sets the
BFD session to passive.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
interfacecommand, specifying an interface. - Enter the
ip ospf bfdcommand to enable BFD for the OSPFv2 interface. - Enter the
ip ospf bfdcommand with the passive keyword to set the BFD session as passive.
The following example enables BFD for an OSPFv2-enabled Ethernet interface and sets the BFD session to passive.
device# configure terminal device(config)# interface ethernet 1/1/1 device(config-if-e40000-1/1/1)# ip ospf bfd device(config-if-e40000-1/1/1)# ip ospf bfd passive