display segment-routing bfd tunnel session

Function

The display segment-routing bfd tunnel session command displays BFD session information about Segment Routing tunnels.

Format

display segment-routing bfd tunnel session [ prefix ip-address { mask | mask-length } ]

Parameters

Parameter Description Value
prefix ip-address

Displays BFD session information about the Segment Routing tunnel with a specified prefix.

The value is in dotted decimal notation.

mask

Specifies the IP address mask.

The value is in dotted decimal notation.

mask-length

Specifies the length of the IP address mask.

The value is an integer ranging from 0 to 32.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
segr read

Usage Guidelines

Usage Scenario

After BFD is configured for SR tunnels, run the display segment-routing bfd tunnel session command to view information about BFD sessions that monitor the tunnels.

If the prefix ip-address parameter is configured, information about a BFD session monitoring a Segment Routing tunnel with a specified destination IP address is displayed. If this parameter is not configured, information about all BFD sessions that monitor Segment Routing tunnels is displayed.

Example

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

# Display information about BFD sessions that monitor Segment Routing tunnels.
<HUAWEI> display segment-routing bfd tunnel session prefix 10.2.2.2 32
BFD Information for SR Tunnel
Total Tunnel Number: 1
-------------------------------------------------------------------
Prefix               Discriminator                  State          
-------------------------------------------------------------------
10.2.2.2/32           16385                          Up           
-------------------------------------------------------------------
Table 1 Description of the display segment-routing bfd tunnel session command output
Item Description
Total Tunnel Number

Total number of tunnels.

Prefix

Destination IP address of a Segment Routing tunnel.

Discriminator

BFD local discriminator.

State

BFD session status.

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