The display segment-routing seamless-bfd tunnel session command displays SBFD session information about Segment Routing tunnels.
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. |
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.The actual command output varies according to the device. The command output here is only an example.
<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
---------------------------------------------------------------------------------------------------
<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
-----------------------------------------------------------------------------------
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. |