display ospf bfd session

Function

The display ospf bfd session command displays information about a BFD-enabled neighbor.

Format

display ospf [ process-id ] bfd session { all | interfaceName | interfaceType interfaceNum | NbrRouterId }

display ospf [ process-id ] bfd session { interfaceName | interfaceType interfaceNum } NbrRouterId

Parameters

Parameter Description Value
process-id

Specifies the ID of an OSPF process.

The value is an integer ranging from 1 to 4294967295.

all

Displays all the interfaces that are enabled with BFD in the OSPF process.

-

interfaceName

Specifies the interface name.

-

interfaceType

Specifies the interface type.

-

interfaceNum

Specifies the interface number.

-

NbrRouterId

Specifies the router ID of a neighbor.

The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

In BFD for OSPF, a BFD session is associated with OSPF. The BFD session fast detects a link fault and then notifies OSPF of the fault, which enables OSPF to fast respond to the change of the network topology.

The display ospf bfd session command displays information about a BFD-enabled neighbor.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about BFD-enabled neighbors.
<HUAWEI> display ospf bfd session all
OSPF Process 1 with Router ID 3.3.3.3
  Area 0.0.0.0 interface 10.2.2.1 ( GigabitEthernet0/1/0 )'s BFD Sessions

 NeighborId:10.2.2.2          AreaId:0.0.0.0           Interface:GigabitEthernet0/1/0          
 BFDState:up                  rx    :50                tx       :50               
 Multiplier:3                 BFD Local Dis:16385      LocalIpAdd:10.2.2.1        
 RemoteIpAdd:10.2.2.2         Diagnostic Info:No diagnostic information

   Total UP/DOWN/UNKNOWN BFD Session Number : 1 / 0 / 0
Table 1 Description of the display ospf bfd session command output
Item Description
Router ID

Local router ID.

BFD Local Dis

Local Discriminator.

rx

Interval at which BFD packets are received.

tx

Interval at which BFD packets are sent.

Diagnostic Info

Diagnostic information.

Total UP/DOWN/UNKNOWN BFD Session Number

Total number of BFD sessions in the Up, Down, or Unknown state.

NeighborId

Router ID of the neighbor.

BFDState

BFD status:

  • up.
  • down.
  • unknown.
LocalIpAdd

Local IP address.

RemoteIpAdd

Remote IP address.

AreaId

Area ID.

Interface

Interface used to set up the BFD session.

Multiplier

Remote detection multiplier.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >