Monitoring BFD
This section lists the system event logs associated with the BFD protocol and describes the show commands you can use to view BFD-related information.
System Event Logs
To troubleshoot and monitor BFD, use the following system event logs:
For more information about using event logs, see the JUNOSe System Event Logging Reference Guide, Chapter 1, .
Viewing BFD Information
You can monitor the following aspects of BFD by using the following show commands:
You can use the output filtering feature of the show command to include or exclude lines of output based on a text string that you specify. See JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface, for details.
show license bfd
host1#show license bfdBFD license is bfd_licenseshow bfd session
- Use to display BFD protocol session information.
- Use the address keyword to specify an IPv4 or IPv6 session that you want to view.
- Use the detail keyword to view more detailed information about the BFD session.
- Field descriptions
- AddressIP address of the remote interface with which the session is established. In unnumbered cases, the remote interface provides its reference IP address.
- StateState of the BFD session, Up or Down
- InterfaceInterface on which the BFD session has been established
- Detect/Detection TimeTime (in seconds) taken to declare the remote interface down when no packets are received from that interface
- Local discriminatorValue used to identify the session at the local end
- Remote discriminatorValue used to identify the session at the remote end
- Session up timeAmount of time the session has been operational since the last session down event in days:hours:minutes:seconds format.
- Up/Down countNumber of times up/down transitions have occurred on the session
- AdaptivityNumber of times this session has adapted its intervals, or that additional adaptivity is disabled for this BFD session on the router
- Local
- min tx intervalMinimum transmit interval (in seconds) configured on the session at the local end
- min rx intervalMinimum receive interval (in seconds) configured on the session at the local end
- multiplierMultiplier configured on the session at the local end
- min tx intervalMinimum transmit interval (in seconds) to which the session is adapted at the local end
- min rx intervalMinimum receive interval (in seconds) to which the session is adapted at the local end
- multiplierMultiplier to which the session is adapted at the local end
- min tx intervalMinimum transmit interval (in seconds) configured on the session at the remote end
- min rx intervalMinimum receive interval (in seconds) configured on the session at the remote end
- multiplierMultiplier configured on the session at the remote end
- Up/Down countNumber of up/down transitions that have occurred on the session
- Local diagnosticReason at the local end for the last session down event
- Remote diagnosticReason at the remote end for the last session down event
- Remote heard/Remote not heardWhether the local end is receiving packets from the remote end
- hears us/doesn't hear usWhether the remote end is receiving packets from the local end
- Min async intervalMinimum interval (in seconds) between packets sent when in asynchronous mode
- min slow intervalMinimum interval (in seconds) between packets when the remote end is first being detected
- Echo modeState of echo mode (enabled or disabled; active or inactive)
- ClientName of the client
- desired txMinimum transmit interval (in seconds) requested by the client
- required rxMinimum required receive interval (in seconds) specified by the client
- multiplierMultiplier requested by the client
host1#show bfd sessionAddress State Interface Detect Interval MxTime-------------------------------------------------------------------------172.16.1.2 Up FastEthernet1/4 0.900 0.300 3172.16.1.1 Up FastEthernet1/5 0.900 0.300 3Example 2IPv4 version host1#show bfd session detailAddress: 172.16.1.2State UP on Interface FastEthernet1/4Detection Time 0.900, version v0Local discriminator 3, Remote discriminator 1Session up time 00:00:01:04, Up/Down count 1, Adapted 3 timesLocal: min tx interval 0.3, min rx interval 0.3, multiplier 1(Adapted) min tx interval 0.6, min rx interval 0, multiplier 3Remote: min tx interval 0.3, min rx interval 0.3, multiplier 3Local diagnostic: None, Remote diagnostic: NoneRemote heard, hears usMin async interval 0.3, min slow interval 0.3Echo mode disabled/inactive2 Clients:Client OSPFv2, desired tx: 0.3, required rx: 0.3, multiplier 3Client ISIS, desired tx: 0.3, required rx: 0.3, multiplier 3Example 3IPv6 version host1#show bfd session detailAddress fe80:1234::abcdState UP on Interface FastEthernet1/3Detection Time 0.900, version v1Local discriminator 3, Remote discriminator 1Session up time 00:00:01:04, Up/Down count 1, Adaptivity disabledLocal: min tx interval 0.3, min rx interval 0.3, multiplier 3(Adapted) min tx interval 0, min rx interval 0, multiplier 4Remote: min tx interval 0.3, min rx interval 0.3, multiplier 3Local diagnostic: None, Remote diagnostic: NoneRemote heard, hears usMin async interval 0.3, min slow interval 0.3Echo mode disabled/inactive1 Client:Client OSPFv3, desired tx: 0.3, required rx: 0.3, multiplier 3