display segment-routing seamless-bfd tunnel session

Function

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

Format

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

Parameters

Parameter Description Value
prefix ip-address

Displays SBFD 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.

flex-algo flexAlgoId

Specifies a flexible algorithm identifier.

The value is an integer ranging from 128 to 255.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
segr read

Usage Guidelines

Usage Scenario

After SBFD is configured to monitor a Segment Routing tunnel, run the display segment-routing seamless-bfd tunnel session command to view information about the SBFD session.

If the prefix ip-address parameter is configured, information about an SBFD session monitoring a Segment Routing tunnel with a specified destination IP address is displayed. If this parameter is not configured, information about all SBFD 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 all SBFD sessions that monitor Segment Routing tunnels with the flexible algorithm ID 128.
<HUAWEI> display segment-routing seamless-bfd tunnel session flex-algo 128
Seamless BFD Information for SR Tunnel
Total Tunnel Number: 1
---------------------------------------------------------------------------------------------------
Prefix               Discriminator                  State           Algorithm       Source         
---------------------------------------------------------------------------------------------------
2.2.2.2/32           16385                          Up              128             1.1.1.1             
---------------------------------------------------------------------------------------------------
# Display information about all SBFD sessions that monitor Segment Routing tunnels.
<HUAWEI> display segment-routing seamless-bfd tunnel session prefix 2.2.2.2 32
Seamless BFD Information for SR Tunnel
Total Tunnel Number: 1
-----------------------------------------------------------------------------------
Prefix               Discriminator                  State           Source         
-----------------------------------------------------------------------------------
2.2.2.2/32           16386                          Up              1.1.1.1             
-----------------------------------------------------------------------------------
Table 1 Description of the display segment-routing seamless-bfd tunnel session command output
Item Description
Total Tunnel Number

Total number of tunnels.

Prefix

Destination IP address of a Segment Routing tunnel.

Discriminator

SBFD local discriminator.

State

SBFD session status.

Source

SBFD source address.

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