• Disable BFD on an interface.INTERFACE modeno bfd enable• Enable BFD on an interface.INTERFACE modebfd enableIf you disable BFD on a local interface, this message displays:R1(conf-if-te-4/24)#01:00:52: %RPM0-P:RP2 %BFDMGR-1-BFD_STATE_CHANGE: Changed sessionstate to AdDn for neighbor 2.2.2.2 on interface Te 4/24 (diag: 0)If the remote system state changes due to the local state administration being down, this message displays:R2>01:32:53: %RPM0-P:RP2 %BFDMGR-1-BFD_STATE_CHANGE: Changed session state to Down forneighbor2.2.2.1 on interface Te 2/1 (diag: 7)Configure BFD for Static RoutesBFD offers systems a link state detection mechanism for static routes. With BFD, systems are notified to remove static routes fromthe routing table as soon as the link state change occurs, rather than waiting until packets fail to reach their next hop.Configuring BFD for static routes is a three-step process:1. Enable BFD globally.2. Configure static routes on both routers on the system (either local or remote).3. Configure an IP route to connect BFD on the static routes using the ip route bfd command.Related Configuration Tasks• Changing Static Route Session Parameters• Disabling BFD for Static RoutesEstablishing Sessions for Static RoutesSessions are established for all neighbors that are the next hop of a static route.Figure 12. Establishing Sessions for Static RoutesTo establish a BFD session, use the following command.• Establish BFD sessions for all neighbors that are the next hop of a static route.CONFIGURATION modeBidirectional Forwarding Detection (BFD) 129