display mpls sr-te cspf destination

Function

The display mpls sr-te cspf destination command displays information about paths that satisfy specified constraints. The constraints are specified using parameters.

Format

display mpls sr-te cspf destination ip-address [ metric-type { igp | te } | srlg-strict exclude-path-name | explicit-path pri-path-name | affinity { pri-properties [ mask pri-mask-value ] | { { include-all | include-any } { pri-in-name-string } &<1-32> | exclude { pri-ex-name-string } &<1-32> } * } | hop-limit pri-hop-limit-number | adjacency-sid ] * [ hot-standby [ explicit-path hsb-path-name | overlap-path | affinity { hsb-properties [ mask hsb-mask-value ] | { { hsb-include-all | hsb-include-any } { hsb-in-name-string } &<1-32> | hsb-exclude { hsb-ex-name-string } &<1-32> } * } | hop-limit hsb-hop-limit-number | srlg { strict | preferred } ] * ] [ path-verify ]

Parameters

Parameter Description Value
ip-address

Specifies a destination IP address for a tunnel.

The value is in dotted decimal notation.

metric-type

Specifies the metric type for path computation.

-

igp

Specifies the path computation metric type as IGP.

-

te

Specifies the path computation metric type as TE.

-

srlg-strict exclude-path-name

Specifies a path that must be excluded based on the SRLG.

The value is a string of 1 to 128 case-insensitive characters. It cannot contain spaces.

explicit-path pri-path-name

Specifies an explicit path.

The value is a string of 1 to 128 case-insensitive characters. It cannot contain spaces.

explicit-path hsb-path-name

Specifies an explicit path for a hot-standby path.

The value is a string of 1 to 128 case-insensitive characters. It cannot contain spaces.

affinity pri-properties

Specifies the affinity parameter of the primary path.

The value is in hexadecimal notation ranging from 0 to ffffffff. The default value is 0.

affinity hsb-properties

Specifies the affinity parameter of a hot-standby path.

The value is in hexadecimal notation ranging from 0 to ffffffff. The default value is 0.

mask pri-mask-value

Specifies the mask value of an affinity.

The value is in dotted decimal notation.

mask hsb-mask-value

Specifies the mask of an affinity of a hot-standby path.

The value is in dotted decimal notation.

include-all

Indicates that all affinity attributes are included.

-

include-any

Indicates that any affinity attribute is included.

-

pri-in-name-string

Specifies a name of an included affinity.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

exclude

Excludes an affinity attribute.

-

pri-ex-name-string

Specifies the name of an excluded affinity.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

hop-limit pri-hop-limit-number

Specifies the maximum number of hops on a path.

The value is an integer ranging from 1 to 32.

hop-limit hsb-hop-limit-number

Specifies the maximum number of hops for a hot-standby path.

The value is an integer ranging from 1 to 32.

adjacency-sid

Specifies an adjacency SID.

-

hot-standby

Specifies a hot-standby path.

-

overlap-path

Indicates that a hot-standby path can overlap the primary path.

-

hsb-include-all

Indicates that a hot-standby path contains all affinity attributes.

-

hsb-include-any

Indicates that a hot-standby LSP contains any affinity attribute.

-

hsb-in-name-string

Specifies the name of an affinity included by a hot-standby path.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

hsb-exclude

Specifies an affinity excluded by a hot-standby path.

-

hsb-ex-name-string

Specifies the name of an affinity excluded by a hot-standby path.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

srlg

Specifies an SRLG.

-

strict

Indicates that CSPF calculates a hot-standby path based on the SRLG attribute constraint. Specifically, the hot-standby and primary paths must be in different SRLGs.

-

preferred

When the hot-standby path is calculated for the first time, CSPF must meet the constraints of the SRLG attribute. If the first computation fails, CSPF no longer uses the SRLG attribute as a constraint.

-

path-verify

Specifies path verification.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-te read

Usage Guidelines

Usage Scenario

This command can be used to check whether the current network meets the requirement for establishing constraint-based SR-MPLS TE tunnels from the current node to a destination address.

Example

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

# Display information about SR-MPLS TE paths that CSPF uses the primary/backup disjoint mechanism to compute.
<HUAWEI> display mpls sr-te cspf destination 3.3.3.3 computation-mode disjoint
Main path for the given constraints is:
1.1.1.1                          Include          LSR-ID
10.13.0.1                        Include 
10.13.0.3                        Include 
3.3.3.3                          Include          LSR-ID
The total metrics of the calculated path is :   10
  
  
Hot-standby path for the given constraints is:
1.1.1.1                          Include          LSR-ID
10.12.0.1                        Include 
10.12.0.2                        Include 
2.2.2.2                          Include          LSR-ID
10.24.0.2                        Include 
10.24.0.4                        Include 
4.4.4.4                          Include          LSR-ID
10.34.0.4                        Include 
10.34.0.3                        Include 
3.3.3.3                          Include          LSR-ID
Complete disjoint path computed and the total metrics of the calculated path is :   30
# Display information about SR-MPLS TE paths that CSPF uses the path verify to compute.
<HUAWEI> display mpls sr-te cspf destination 3.3.3.3 explicit-path abc adjacency-sid path-verify
Path for the given constraints is:
---------------------------------------------------------------------
 Label      Type              Address              Subscription
---------------------------------------------------------------------
 48090      Adj-SID      NAI: 10.0.0.1/10.0.0.2        Yes
 48091      Adj-SID      NAI: 10.3.0.1/10.3.0.2        Yes
  
The total metrics of the calculated path is :   20
Table 1 Description of the display mpls sr-te cspf destination command output
Item Description
Main path for the given constraints is

Primary path with specified constraints.

The total metrics of the calculated path is

Total metric of a computed path.

Hot-standby path for the given constraints is

Hot-standby path with specified constraints.

Complete disjoint path computed and the total metrics of the calculated path is

Complete disjoint path computed and the total metric of the computed path.

Label

Label.

Type

SID type.

Address

Address.

Subscription

Subscription.

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