display srv6-te policy

Function

The display srv6-te policy command displays detailed SRv6 TE Policy information.

The display srv6-te policy brief command displays brief SRv6 TE Policy information.

Format

display srv6-te policy [ endpoint ipv6-address color color-value | policy-name name-value | binding-sid sid-value ]

display srv6-te policy interface-name interface-name-value

display srv6-te policy brief

Parameters

Parameter Description Value
endpoint ipv6-address

Specifies the endpoint of an SRv6 TE Policy.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

color color-value

Specifies the color of an SRv6 TE Policy.

The value is an integer ranging from 0 to 4294967295.

policy-name name-value

Specifies the name of an SRv6 TE Policy.

The value is a string of 1 to 31 case-sensitive characters. When double quotation marks are used around the string, spaces are allowed in the string.

binding-sid sid-value

Specifies a binding SID.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

interface-name interface-name-value

Specifies an interface name for an SRv6 TE Policy.

The value is a string of 1 to 27 case-sensitive characters. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
srpolicy read

Usage Guidelines

Usage Scenario

The display srv6-te policy command displays detailed SRv6 TE Policy information.

The display srv6-te policy brief command displays brief SRv6 TE Policy information.

Example

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

# Display detailed SRv6 TE Policy information.
<HUAWEI> display srv6-te policy
PolicyName : p1
Color                   : 100                            Endpoint             : 2001:DB8:1::1
TunnelId                : 1                              Binding SID          : -
TunnelType              : SRv6-TE Policy                 DelayTimerRemain     : -
Policy State            : Up                             State Change Time    : 2020-07-21 09:39:52
Admin State             : Up                             Traffic Statistics   : Disable
Backup Hot-Standby      : Disable                        BFD                  : Disable
Interface Index         : 87                             Interface Name       : SRv6TE-Policy-1
Interface State         : Up                             Encapsulation Mode   : Encaps
Candidate-path Count    : 2

 Candidate-path Preference : 200
 Path State             : Active                         Path Type            : Primary
 Protocol-Origin        : Configuration(30)              Originator           : 0, 0.0.0.0
 Discriminator          : 200                            Binding SID          : -
 GroupId                : 2                              Policy Name          : 1
 Template ID            : 0                              Path Verification    : Disable
 DelayTimerRemain       : -                              Network Slice ID     : 400 (data-plane)
 Segment-List Count     : 1
  Segment-List          : 1
   Segment-List ID      : 2                              XcIndex              : 2
   List State           : Up                             DelayTimerRemain     : -
   Verification State   : -                              SuppressTimeRemain   : -
   PMTU                 : 9600                           Active PMTU          : 9600
   Weight               : 1                              BFD State            : -
   Network Slice ID     : 400 (data-plane)               
   SID :
         2001:DB8:100:1:0:3000::(V)                 Block Length : 52  Compress Length : 32
         2001:DB8:100:7:0:2000::                    Block Length : 52  Compress Length : 32

 Candidate-path Preference : 100
 Path State             : Inactive (Valid)               Path Type            : -
 Protocol-Origin        : Configuration(30)              Originator           : 0, 0.0.0.0
 Discriminator          : 100                            Binding SID          : -
 GroupId                : 1                              Policy Name          : 1
 Template ID            : 0                              Path Verification    : Disable
 DelayTimerRemain       : -                              Network Slice ID     : -
 Segment-List Count     : 1
  Segment-List          : 1
   Segment-List ID      : 1                              XcIndex              : -
   List State           : Down (Valid)                   DelayTimerRemain     : -
   Verification State   : -                              SuppressTimeRemain   : -
   PMTU                 : 9600                           Active PMTU          : 9600
   Weight               : 1                              BFD State            : -
   Network Slice ID     : -                              
   SID :
         2001:DB8:100:1::3FF
# Display brief SRv6 TE Policy information.
<HUAWEI> display srv6-te policy brief
PolicyName : 1
Color                   : 1                              Endpoint             : 2001:DB8:1::1
TunnelId                : 1                              Binding SID          : 2001:DB8:1::7
Policy State            : Up                             State Change Time    : 2021-08-26 03:42:22
Candidate-path Count    : 2

PolicyName : 2
Color                   : 2                              Endpoint             : 2001:DB8:1::1
TunnelId                : 2                              Binding SID          : 2001:DB8:1::11
Policy State            : Up                             State Change Time    : 2021-08-26 03:42:22
Candidate-path Count    : 1

PolicyName : 3
Color                   : 3                              Endpoint             : 2001:DB8:1::1
TunnelId                : 3                              Binding SID          : -
Policy State            : Up                             State Change Time    : 2021-08-26 03:42:20
Candidate-path Count    : 4

PolicyName : 4
Color                   : 4                              Endpoint             : 2001:DB8:1::1
TunnelId                : 4                              Binding SID          : -
Policy State            : Up                             State Change Time    : 2021-08-28 02:14:59
Candidate-path Count    : 1

PolicyName : 5
Color                   : 5                              Endpoint             : 2001:DB8:1::1
TunnelId                : 5                              Binding SID          : -
Policy State            : Up                             State Change Time    : 2021-08-28 02:14:59
Candidate-path Count    : 1
Table 1 Description of the display srv6-te policy command output
Item Description
PolicyName

SRv6 TE Policy name.

Color

Color value of an SRv6 TE Policy.

Endpoint

Endpoint of an SRv6 TE Policy.

TunnelId

SRv6 TE Policy ID.

Binding SID

Binding SID of an SRv6 TE Policy.

Binding SID

Binding SID of an SRv6 TE Policy's candidate path.

SID

SID stack of a segment list referenced by an SRv6 TE Policy's candidate path.

SID flag:

  • V: verification flag.
TunnelType

Tunnel type of an SRv6 TE Policy.

Policy State

SRv6 TE Policy state:

  • Up.
  • Down (Init).
  • Down (Overrun).
  • Down (BFD down).
  • Down (Shutdown).
  • Down (Delay Delete).
Policy Name

SRv6 TE Policy name. This field is empty for a BGP-delivered candidate path.

DelayTimerRemain

Remaining time of the delayed-deletion and delayed-switching timer after the segment list of an SRv6 TE Policy's candidate path is deleted.

State Change Time

Date and time when the state of an SRv6 TE Policy changed.

Admin State

Whether the shutdown command is run for an SRv6 TE Policy. If the command is run, the SRv6 TE Policy is Down. Otherwise, the SRv6 TE Policy is Up.

Traffic Statistics

Whether SRv6 TE Policy traffic statistics collection is enabled.

Backup Hot-Standby

Whether SRv6 TE Policy backup hot-standby is enabled:

  • Enable.
  • Disable.
BFD

Whether SRv6 TE Policy BFD is enabled:

  • SBFD Enable (Nobypass).
  • SBFD Enable.
  • UBFD Enable.
  • UBFD Enable (Nobypass).
  • Disable.
BFD State

BFD state of the segment list of an SRv6 TE Policy's candidate path:

  • -.
  • Down.
  • Up.
  • Unknown.
  • Admin Down.
  • Select Board Fail.
  • Path Inactive.
  • Overrun.
Interface Index

Interface index of an SRv6 TE Policy. Only an SRv6 TE Policy configured with IGP shortcut has an interface index.

Interface Name

Interface name of an SRv6 TE Policy. Only an SRv6 TE Policy configured with IGP shortcut has an interface name.

Interface State

Interface state of an SRv6 TE Policy. Only an SRv6 TE Policy configured with IGP shortcut has an interface state.

-Up.

-Down(Policy Down).

-Down(No USD).

Encapsulation Mode

Encapsulation mode of an SRv6 TE Policy:

  • -.
  • Invalid.
  • Insert.
  • Encaps.
  • Insert&Encaps.
Candidate-path Count

Number of candidate paths configured for an SRv6 TE Policy.

Candidate-path Preference

Preference of an SRv6 TE Policy's candidate path.

Path State

State of an SRv6 TE Policy's candidate path:

  • Inactive (Invalid).
  • Inactive (Valid).
  • Active.
  • Inactive (Wait BFD).
  • Inactive (BFD Down).
  • Inactive (Delay Delete).
  • Active (Wait Delay Delete).
  • Inactive (Delay Switch).
  • Inactive (Wait Switch).
Path Type

Type of an SRv6 TE Policy's candidate path. The value can be Primary, Backup, or empty. If the value is empty, no path is preferentially selected.

Path Verification

Whether path fault detection is enabled:

  • Enable.
  • Disable.
  • Specified SID Enable.
Active PMTU

MTU that takes effect for the segment list referenced by an SRv6 TE Policy's candidate path. The PMTU value minus the global MTU compensation value is the active PMTU value.

Protocol-Origin

Protocol origin of an SRv6 TE Policy's candidate path:

  • PECP(10).
  • BGP(20).
  • Configuration(30).
Originator

Originator of an SRv6 TE Policy's candidate path. The value is in the format of <ASN, node-address>, where:

  • ASN indicates the AS number. If the candidate path is statically configured, the value is 0. If the candidate path is delivered by BGP, the value is the ASN delivered by BGP.
  • If the candidate path is statically configured, the node-address value is fixed at 0.0.0.0. If the candidate path is delivered by BGP, the node-address value is the BGP-delivered router-id value of the BGP peer.
Discriminator

Discriminator of an SRv6 TE Policy's candidate path. For a statically configured candidate path, the discriminator is the same as the preference. For a BGP-delivered candidate path, the discriminator is the same as the discriminator carried in the BGP-delivered TLV.

GroupId

ID of the group to which an SRv6 TE Policy's candidate path is allocated.

Template ID

Private template ID of an SRv6 TE Policy.

Verification State

Segment list fault detection verification result:

  • Up.
  • SID Unreachable.
  • Delay UP.
  • Unknown.
Network Slice ID

Network slice ID of an SRv6 TE Policy's candidate path.

Network Slice ID

ID of the network slice that actually takes effect in the segment list of an SRv6 TE Policy's candidate path.

Segment-List Count

Number of segment lists for an SRv6 TE Policy's candidate path, including valid and invalid segment lists.

Segment-List

Name of a segment list referenced by an SRv6 TE Policy&apos;s candidate path.

Segment-List ID

ID of the segment list referenced by an SRv6 TE Policy's candidate path.

XcIndex

Forwarding path index allocated to the segment list of an SRv6 TE Policy's candidate path. Only the segment list of the preferred path has XcIndex.

List State

Segment list state of an SRv6 TE Policy's candidate path:

  • Up.
  • Down (Valid).
  • Down (Invalid).
  • Down (Overrun).
  • Down (Wait BFD).
  • Down (BFD Down).
  • Down (Delay Delete).
  • Down (Delay Switch).
  • Up (Wait Delay Delete).
  • Down (Wait SID State).
  • Down (SID Stack Down).
SuppressTimeRemain

Remaining flapping suppression time.

PMTU

MTU of the segment list of an SRv6 TE Policy's candidate path.

Weight

Load balancing weight of a segment list.

Block Length

Length of the SID block.

Compress Length

SID compression length.

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