show bfd

Description                                                    Display information for Bidirectional Forwarding Detection (BFD).

Syntax                                                                  show bfd {neighbors [detail] | statistics}

Parameter

Description

neighbors

Displays summarized information for BFD neighbors.

detail

Displays detailed information for BFD neighbors.

statistics

Displays overall statistics for BFD packets.

Mode                                                                   All

Example                                                            The following example shows how to view overall statistics for BFD packets:

ACOS(config)#show bfd statistics

IP Checksum error                        0

UDP Checksum error                       0

No session found with your_discriminator 0

Multihop config mismatch                 0

BFD Version mismtach                     0

BFD Packet length field is too small     0

BFD Packet data is short                 0

BFD Packet DetectMult is invalid         0

BFD Packet Multipoint is invalid         0

BFD Packet my_discriminator is invalid   0

BFD Packet TTL/Hop Limit is invalid      0

BFD Packet auth length is invalid        0

BFD Packet auth mismatch                 0

BFD Packet auth type mismatch            0

BFD Packet auth key ID mismatch          0

BFD Packet auth key mismatch             0

BFD Packet auth seq# invalid             0

BFD Packet auth failed                   0

BFD local state is AdminDown             0

BFD Destination unreachable              0

BFD Other error                          0

Example                                                            The following command displays the BFD neighbor status:

ACOS#show bfd neighbors

Our Address            Neighbor Address         State   Holddown txint mult diag

219.0.0.1              219.0.0.2                Up           150    50    3 3/0

219.0.1.1              219.0.1.2                Up           150    50    3 3/0

219.0.2.1              219.0.2.2                Up           150    50    3 0/0

219.0.3.1              219.0.3.2                Up           150    50    3 0/0

219.0.4.1              219.0.4.2                Up           150    50    3 3/0

219.0.5.1              219.0.5.2                Up           150    50    3 3/0

219.0.6.1              219.0.6.2                Up           150    50    3 0/0

219.0.7.1              219.0.7.2                Up           150    50    3 3/0

 

The following table describes the fields in the command output.

Field

Description

Our Address

ACOS interface associated with the BFD session.

Neighbor Address

Neighbor interface associated with the BFD session.

State

Shows the local state of the session.

Holdtime

Maximum amount of time the ACOS device waits for a BFD control packet from the neighbor.

txint

Configured interval at which the ACOS device sends BFD control packets to the neighbor.

mult

Maximum number of consecutive times the ACOS device will wait for a BFD control packet from the neighbor.

diag

Diagnostic codes for the local and remote ends of the BFD session.

 

Example                                                            The following command displays detailed BFD neighbor status:

ACOS#show bfd neighbors detail

Our Address      219.0.0.1

Neighbor Address 219.0.0.2

Clients OSPFv2, IS-IS

Singlehop, Echo disabled, Demand disabled, UDP source port 53214

Asynchronous mode, Authentication None

CPU ID 2, Interface index 93

Local State Up, Remote State Up, 2h:29m:45s up

Local discriminator 0x00000fdf, Remote discriminator 0x0000006f

Config DesiredMinTxInterval 50 milliseconds, RequiredMinRxInterval 50 milliseconds

Local DesiredMinTxInterval 50 milliseconds, RequiredMinRxInterval 50 milliseconds

Remote DesiredMinTxInterval 50 milliseconds, RequiredMinRxInterval 50 milliseconds

Local Multiplier 3, Remote Multiplier 3

Hold Down Time 150 milliseconds, Transmit Interval 50 milliseconds

Local Diagnostic: Neighbor Signalled Session Down(3)

Remote Diagnostic: No Diagnostic(0)

 Last sent echo sequence number 0x00000000

Control Packet sent 215226, received 215195

Echo Packet sent 0, received 0

The following table describes the fields in the command output.

Field

Description

Our Address

ACOS interface associated with the BFD session.

Neighbor Address

Neighbor interface associated with the BFD session.

Clients

Protocol that initiates this BFD session. It can be one or more of the following: Static, OSPFv2, OSPFv3, IS-IS, or BGP.

Singlehop (or Multihop)

BFD session can be either singlehop or multihop.

Echo

Indicates whether Echo functionality has been enabled or disabled.

Demand

Indicates whether Demand mode functionality has been enabled or disabled.

UDP source port

UDP source port used for this BFD session.

Asynchronous mode (or Demand) mode

If configured and running, indicates whether BFD is operating in Asynchronous mode or Demand mode.

Authentication

Authentication method. This can be either “None” (if it is not configured) or one of the following supported authentication schemes:

  Simple password

  Keyed MD5

  Meticulous Keyed MD5

  Keyed SHA1

  Meticulous Keyed SHA1

CPU ID

Since BFD traffic is distributed across multiple data CPUs, this CPU ID refers to the one associated with the current BFD session.

Interface index

Interface index associated with the current BFD session. This index is used mostly for debugging purposes

Local State

Shows the local state the session. The state can be one of the following:

  Init

  Up

  AdminDown

  Down

Remote State

Shows the remote state the session. The state can be one of the following:

  Init

  Up

  AdminDown

  Down

Local discriminator

The local discriminator value that the ACOS device assigns for the current BFD ses­sion.

Remote discriminator

The remote discriminator value that the neighboring router claims.

Config

The configured timer values.

Local

The configured timer values sent in the last BFD control packet. This value is deter­mined based on BFD package exchange and negotiation.

Remote

The timer values received in the last BFD control packet from the BFD neighbor.

Local Multiplier

The local multiplier sent in the last BFD packet.

Remote Multiplier

The remote multiplier received in the last BFD packet from the neighbor.

Hold Down Time

The expiration time after which the BFD session will be brought down. This value is determined with the negotiated interval value and the remote multiplier value.

Transmit Interval

The periodic interval to send BFD control packets.

Local Diagnostic:

The diagnostic value sent in the last BFD control packet.

Remote Diagnostic:

The diagnostic value received in the last BFD control packet from the neighbor.

Last sent echo sequence number

A10 Network’s proprietary sequence number sent in the last echo packet.

Control Packet sent....received

Statistics of control packets for this BFD session.

Echo Packet sent...received

Statistics of echo packets received for this BFD session.

 

Example                                                            The following command shows BFD statistics:

ACOS(config)# show bfd statistics

IP Checksum error                        0

UDP Checksum error                       0

No session found with your_discriminator 39958

Multihop config mismatch                 0

BFD Version mismatch                     0

BFD Packet length field is too small     0

BFD Packet data is short                 0

BFD Packet DetectMult is invalid         0

BFD Packet Multipoint is invalid         0

BFD Packet my_discriminator is invalid   0

BFD Packet TTL/Hop Limit is invalid      0

BFD Packet auth length is invalid        0

BFD Packet auth mismatch                 0

BFD Packet auth type mismatch            0

BFD Packet auth key ID mismatch          0

BFD Packet auth key mismatch             103

BFD Packet auth seq# invalid             0

BFD Packet auth failed                   0

BFD local state is AdminDown             2

BFD Destination unreachable              1

BFD Other error                          0

 

The following table describes the fields in the command output.

Field

Description

IP Checksum error

Number of BFD packets that had an invalid IP checksum.

UDP Checksum error

Number of BFD packets that had an invalid UDP checksum.

No session found with your_discriminator

Number of BFD packets whose Your Discriminator value did not match a My Discriminator value on the ACOS device.

Multihop config mismatch

A multihop configuration mismatch occurs when an ACOS device receives a BFD packet with a source or destination that matches an existing BFD ses­sion. It can also be caused in two other scenarios:

  Local is configured as singlehop, but the packet is received on the UDP port for multihop.

  Local is configured as multihop, but packet is received on the UDP port for singlehop.

BFD Version mismatch

Number of BFD packets with a different BFD version than the one in use by the ACOS device.

BFD Packet length field is too small

Number of BFD packets whose Length field value was shorter than the min­imum BFD packet length (24 bytes without authentication or 26 bytes with authentication).

BFD Packet data is short

The packet payload size is smaller than the BFD length value.

BFD Packet DetectMult is invalid

The value of the received DetectMult is “0”.

BFD Packet Multipoint is invalid

The value of the received multipoint flag is set to “1”.

BFD Packet my_discriminator is invalid

Number of BFD packets whose My Discriminator value was invalid.

BFD Packet TTL/Hop Limit is invalid

In a singlehop BFD session, the IP time-to-live or IPv6 hop limit value must be 255. If a value other than 255 is detected, this field is incremented.

BFD Packet auth length is invalid

The BFD length without the BFD packet header does not match the expected authentication length byte value. The number of BFD control packets have wrong authentication lengths in bytes

BFD Packet auth type mismatch

Number of BFD packets carrying an authentication type that does not match the BFD authentication type configured on the ACOS device.

BFD Packet auth key ID mismatch

This field is incremented when the key ID in the authentication header does not match the one configured on the ACOS device.

BFD Packet auth key mismatch

This field is incremented when the received authentication key does not match the one configured on the ACOS device.

BFD Packet auth seq# invalid

This field is incremented when the received authentication sequence num­ber is not equal to or greater than the sequence number received previ­ously.

BFD Packet auth failed

Number of BFD packets with an incorrect authentication value.

BFD local state is AdminDown

Number of BFD packets received while the BFD session was administra­tively down.

BFD Destination unreachable

Number of times the destination IP address for a BFD neighbor was unreachable while the ACOS device was attempting to transmit a BFD packet to the neighbor.

BFD Other error

Number of BFD errors not counted in any of the fields above.

Table of Contents

Index

Glossary

-Search-

Back