09-MPLS Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release1828P04-6W18209-MPLS Command Reference
02-MPLS TE Commands
Title Size Download
02-MPLS TE Commands 421.97 KB

MPLS TE configuration commands 1

add hop· 1

delete hop· 1

display explicit-path· 2

display isis traffic-eng advertisements 3

display isis traffic-eng link· 6

display isis traffic-eng network· 7

display isis traffic-eng statistics 9

display isis traffic-eng sub-tlvs 10

display mpls lsp bfd te· 11

display mpls rsvp-te· 12

display mpls rsvp-te established· 14

display mpls rsvp-te peer 15

display mpls rsvp-te psb-content 16

display mpls rsvp-te request 19

display mpls rsvp-te reservation· 20

display mpls rsvp-te rsb-content 21

display mpls rsvp-te sender 23

display mpls rsvp-te statistics 24

display mpls static-cr-lsp· 27

display mpls te cspf tedb· 29

display mpls te link-administration admission-control 34

display mpls te link-administration bandwidth-allocation· 35

display mpls te protection tunnel 37

display mpls te tunnel 38

display mpls te tunnel path· 41

display mpls te tunnel statistics 42

display mpls te tunnel-interface· 43

display ospf mpls-te· 45

display ospf traffic-adjustment 48

display tunnel-info· 49

enable traffic-adjustment 50

enable traffic-adjustment advertise· 50

explicit-path· 51

list hop· 52

modify hop· 52

mpls rsvp-te· 53

mpls rsvp-te authentication· 54

mpls rsvp-te bfd enable· 54

mpls rsvp-te blockade-multiplier 55

mpls rsvp-te graceful-restart 56

mpls rsvp-te hello· 56

mpls rsvp-te hello-lost 57

mpls rsvp-te keep-multiplier 58

mpls rsvp-te reliability· 59

mpls rsvp-te resvconfirm·· 59

mpls rsvp-te srefresh· 60

mpls rsvp-te timer graceful-restart recovery· 60

mpls rsvp-te timer graceful-restart restart 61

mpls rsvp-te timer hello· 62

mpls rsvp-te timer refresh· 62

mpls rsvp-te timer retransmission· 63

mpls te· 64

mpls te affinity property· 64

mpls te backup· 65

mpls te backup bandwidth· 66

mpls te bandwidth change thresholds 67

mpls te bfd enable· 68

mpls te commit 68

mpls te cspf 69

mpls te cspf timer failed-link· 70

mpls te failure-action teardown· 70

mpls te fast-reroute· 71

mpls te fast-reroute bypass-tunnel 72

mpls te igp advertise· 72

mpls te igp metric· 73

mpls te igp shortcut 74

mpls te link administrative group· 74

mpls te loop-detection· 75

mpls te metric· 76

mpls te path· 76

mpls te path metric-type· 77

mpls te periodic-tracert 78

mpls te priority· 79

mpls te protection tunnel 80

mpls te protect-switch· 81

mpls te record-route· 82

mpls te reoptimization (tunnel interface view) 82

mpls te reoptimization (user view) 83

mpls te resv-style· 83

mpls te retry· 84

mpls te route-pinning· 84

mpls te signal-protocol 85

mpls te tie-breaking· 86

mpls te timer fast-reroute· 87

mpls te timer link-management periodic-flooding· 87

mpls te timer retry· 88

mpls te tunnel-id· 88

mpls te vpn-binding· 89

mpls-te· 90

next hop· 91

opaque-capability· 91

ping lsp te· 92

reset mpls rsvp-te statistics 93

static-cr-lsp egress 94

static-cr-lsp ingress 94

static-cr-lsp transit 95

te-set-subtlv· 96

tracert lsp te· 97

traffic-eng· 98

 


MPLS TE configuration commands

add hop

Syntax

add hop ip-address1 [ include [ loose | strict ] | exclude ] { after | before } ip-address2

View

Explicit path view

Default level

2: System level

Parameters

ip-address1: IP address or Router ID of the node to be inserted, in dotted decimal notation.

include: Includes the specified IP address ip-address1 in the explicit path.

loose: Specifies the inserted node as a loose node, which means that the inserted node and its previous hop can be connected indirectly.

strict: Specifies the inserted node as a strict node, which means that the inserted node and its previous hop must be connected directly.

exclude: Excludes the node identified by the ip-address1 argument from the explicit path. Excluded addresses are not considered in path calculation.

after: Inserts the node ip-address1 after the reference node ip-address2.

before: Inserts the node ip-address1 before the reference node ip-address2.

ip-address2: IP address of the reference node, in dotted decimal notation.

Description

Use add hop to insert a node to the explicit path, and configure the node’s attributes (include or exclude, strict or loose).

·     If you specify neither include nor exclude, the include keyword is used by default.

·     If you specify neither loose nor strict, the strict keyword is used by default.

Examples

# Specify the switch to not consider 3.3.29.3 as the next hop of 3.3.10.5 during path calculation for the explicit path path1.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] add hop 3.3.29.3 exclude after 3.3.10.5

delete hop

Syntax

delete hop ip-address

View

Explicit path view

Default level

2: System level

Parameters

ip-address: IP address of a node along the explicit path.

Description

Use delete hop to remove a specific node from the explicit path.

Examples

# Remove the node identified by 10.0.0.1 from the explicit path path1.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] delete hop 10.0.0.1

display explicit-path

Syntax

display explicit-path [ path-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

path-name: Specifies a path name, a string of 1 to 31 characters.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display explicit-path to display information about an explicit path.

If no path name is specified, this command displays information about all explicit paths.

Examples

# Display information about all explicit paths.

<Sysname> display explicit-path

Path Name : ErHop-Path1  Path Status : Enabled

 1             1.1.1.10         Strict                    Include

 2             2.1.1.10         Strict                    Include

 3             1.1.1.20         Strict                    Include

 4             2.1.1.20         Strict                    Include

 5             2.1.1.30         Strict                    Include

 6             1.1.1.30         Strict                    Include

 7             9.4.4.4          Strict                    Include

Path Name : ErHop-Path2  Path Status : Enabled

 1             1.1.1.10         Strict                    Include

 2             2.1.1.10         Strict                    Include

 3             1.1.1.40         Strict                    Include

 4             2.1.1.40         Strict                    Include

 5             1.1.1.50         Strict                    Include

 6             2.1.1.40         Strict                    Include

 7             2.1.1.30         Strict                    Include

 8             1.1.1.30         Strict                    Include

 9             9.4.4.4          Strict                    Include

Table 1 Command output

Field

Description

Path Name

Explicit path name.

Path Status

Explicit path status.

 

display isis traffic-eng advertisements

Syntax

display isis traffic-eng advertisements [ [ level-1 | level-1-2 | level-2 ] | [ lsp-id lsp-id | local ] ] * [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

level-1: Displays the TE information for IS-IS Level-1 routers.

level-1-2: Displays the TE information for IS-IS Level-1-2 routers.

level-2: Displays the TE information for IS-IS Level-2 routers.

lsp-id lsp-id: Displays the IS-IS TE information advertised by the specified link state packet (LSP). For more information about IS-IS LSP, see Layer 3—IP Routing Configuration Guide.

local: Displays local TE information.

process-id: Specifies an IS-IS process ID in the range of 1 to 65535.

vpn-instance vpn-instance-name: Displays the IS-IS TE information for the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. To display the IS-IS TE information for the public network, do not specify this option.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display isis traffic-eng advertisements to display the latest TE information advertised by IS-IS.

If no IS-IS level is specified, this command displays the TE information for IS-IS Level-1-2 routers.

Examples

# Display the latest TE information advertised by IS-IS.

<Sysname> display isis traffic-eng advertisements

                           TE information for ISIS(1)

                           --------------------------

 

Level-1 Link State Database

---------------------------

 

LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime  ATT/P/OL

0000.0000.0001.00-00* 0x00000001   0x3f57        534           0/0/0

 

 NLPID      : IPV4

 AREA ADDR  : 00.0005

 INTF ADDR  : 10.1.1.1

 INTF ADDR  : 1.1.1.9

 INTF ADDR  : 30.1.1.1

 

Level-2 Link State Database

---------------------------

 

LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime  ATT/P/OL

0000.0000.0001.00-00* 0x0000001c   0xf1ec        687           0/0/0

 

 NLPID      : IPV4

 AREA ADDR  : 00.0005

 INTF ADDR  : 10.1.1.1

 INTF ADDR  : 1.1.1.9

 INTF ADDR  : 30.1.1.1

 Router ID  : 1.1.1.9

+NBR        : 0000.0000.0002.02  COST: 10

    Admin Group: 0x00000000

    Interface IP Address:  10.1.1.1

    Physical BW  :          0 Bytes/sec

    Reservable BW:          0 Bytes/sec

    Unreserved BW for Class Type 0:

    BW Unresrv[0]:          0 Bytes/sec BW Unresrv[1]:          0 Bytes/sec

    BW Unresrv[2]:          0 Bytes/sec BW Unresrv[3]:          0 Bytes/sec

    BW Unresrv[4]:          0 Bytes/sec BW Unresrv[5]:          0 Bytes/sec

    BW Unresrv[6]:          0 Bytes/sec BW Unresrv[7]:          0 Bytes/sec

    Unreserved BW for Class Type 1:

    BW Unresrv[0]:          0 Bytes/sec BW Unresrv[1]:          0 Bytes/sec

    BW Unresrv[2]:          0 Bytes/sec BW Unresrv[3]:          0 Bytes/sec

    BW Unresrv[4]:          0 Bytes/sec BW Unresrv[5]:          0 Bytes/sec

    BW Unresrv[6]:          0 Bytes/sec BW Unresrv[7]:          0 Bytes/sec

    TE Cost      :         10

    Bandwidth Constraint Model: Russian Doll

    Bandwidth Constraints:

    BC[0]        :          0 Bytes/sec BC[1]        :          0 Bytes/sec

+NBR        : 0000.0000.0004.00  COST: 10

    Admin Group: 0x00000000

    Interface IP Address:  30.1.1.1

    Peer IP Address     :  30.1.1.2

    Physical BW  :         0 Bytes/sec

    Reservable BW:         0 Bytes/sec

    Unreserved BW for Class Type 0:

    BW Unresrv[0]:          0 Bytes/sec BW Unresrv[1]:          0 Bytes/sec

    BW Unresrv[2]:          0 Bytes/sec BW Unresrv[3]:          0 Bytes/sec

    BW Unresrv[4]:          0 Bytes/sec BW Unresrv[5]:          0 Bytes/sec

    BW Unresrv[6]:          0 Bytes/sec BW Unresrv[7]:          0 Bytes/sec

    Unreserved BW for Class Type 1:

    BW Unresrv[0]:          0 Bytes/sec BW Unresrv[1]:          0 Bytes/sec

    BW Unresrv[2]:          0 Bytes/sec BW Unresrv[3]:          0 Bytes/sec

    BW Unresrv[4]:          0 Bytes/sec BW Unresrv[5]:          0 Bytes/sec

    BW Unresrv[6]:          0 Bytes/sec BW Unresrv[7]:          0 Bytes/sec

    TE Cost      :         10

    Bandwidth Constraint Model: Russian Doll

    Bandwidth Constraints:

    BC[0]        :          0 Bytes/sec BC[1]        :          0 Bytes/sec

Table 2 Command output

Field

Description

LSPID

LSP ID.

LSP Seq Num

LSP sequence number.

ATT/P/OL

·     ATT—Attach bit.

·     P—Partition bit.

·     OL—Overload bit.

NLPID

Network protocol type.

AREA ADDR

IS-IS area address.

INTF ADDR

Interface address.

+NBR

Neighbor.

Admin Group

Link administrative group attribute.

Physical BW

Physical bandwidth.

Reservable BW

Reservable bandwidth.

BW Unresrv[0]-[7]

Available subpool bandwidths at eight levels.

BC[0]

Global pool.

BC[1]

Subpool.

LOM[0]

LOM[1]

Local overbooking multiplier. The bracketed number indicates the level of bandwidth.

 

display isis traffic-eng link

Syntax

display isis traffic-eng link [ [ level-1 | level-1-2 | level-2 ] | verbose ] * [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

level-1: Displays the TE information for IS-IS Level-1 routers.

level-1-2: Displays the TE information for IS-IS Level-1-2 routers.

level-2: Displays the TE information for IS-IS Level-2 routers.

verbose: Displays details.

process-id: IS-IS process ID in the range of 1 to 65535.

vpn-instance vpn-instance-name: Displays the IS-IS TE link information for the specified VPN.. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. To display the IS-IS TE link information for the public network, do not specify this option.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display isis traffic-eng link to display IS-IS TE link information.

If no IS-IS level is specified, this command displays TE link information for IS-IS Level-1-2 routers.

Examples

# Display IS-IS TE link information.

<Sysname> display isis traffic-eng link

                           TE information for ISIS(1)

                           --------------------------

Level-2 Link Information

------------------------

 0000.0000.0001.00-->0000.0000.0001.01    Type: MULACC  LinkID: 10.1.1.1

 0000.0000.0002.00-->0000.0000.0003.00    Type: P2P     LinkID: 3.3.3.9

 0000.0000.0002.00-->0000.0000.0001.01    Type: MULACC  LinkID: 10.1.1.1

 0000.0000.0003.00-->0000.0000.0002.00    Type: P2P     LinkID: 2.2.2.9

 0000.0000.0003.00-->0000.0000.0004.01    Type: MULACC  LinkID: 30.1.1.2

 0000.0000.0004.00-->0000.0000.0004.01    Type: MULACC  LinkID: 30.1.1.2

 Total Number of TE Links in Level-2 Area: 6, Num Active: 6

Table 3 Command output

Field

Description

Type

Type of the link.

LinkID

ID of the link.

Total Number of TE Links in Level-2 Area

Total number of TE links in the Level-2 area.

Num Active

Number of active TE links.

 

display isis traffic-eng network

Syntax

display isis traffic-eng network [ level-1 | level-1-2 | level-2 ] [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

level-1: Displays the TE information for IS-IS Level-1 routers.

level-1-2: Displays the TE information for IS-IS Level-1-2 routers.

level-2: Displays the TE information for IS-IS Level-2 routers.

process-id: IS-IS process ID in the range of 1 to 65535.

vpn-instance vpn-instance-name: Displays the IS-IS TE network information for the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. To display the IS-IS TE network information for the public network, do not specify this option.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display isis traffic-eng network to display the IS-IS TE network information.

If no IS-IS level is specified, this command displays information about TE networks in the IS-IS Level-1-2 area.

Examples

# Display information about IS-IS TE networks.

<Sysname> display isis traffic-eng network

                           TE information for ISIS(1)

                           --------------------------

 

Level-1 Network Information

---------------------------

    DIS Router ID  : 89.1.1.1        DIS's Ip Address         : 86.1.1.1

    Status In CSPF : ACTIVE          Attached Router Count    : 2

    List of Attached Routers

 RouterId : 89.1.1.1   Nbr : 1111.1111.1111.00

 Link State : 1

 RouterId : 89.2.2.2   Nbr : 1111.1111.1113.00

 Link State : 1

 

 Total Number of TE Networks in Level-1 Area: 1, Num Active: 1

 

Level-2 Network Information

---------------------------

    DIS Router ID  : 89.1.1.1        DIS's Ip Address         : 86.1.1.1

    Status In CSPF : ACTIVE          Attached Router Count    : 2

    List of Attached Routers

 RouterId : 89.1.1.1   Nbr : 1111.1111.1111.00

 Link State : 1

 RouterId : 89.2.2.2   Nbr : 1111.1111.1113.00

 Link State : 1

 

 Total Number of TE Networks in Level-2 Area: 1, Num Active: 1

Table 4 Command output

Field

Description

DIS's Ip Address

IP address of the DR router.

Status In CSPF

CSPF state.

Attached Router Count

Number of attached routers.

List of Attached Routers

List of attached routers.

RouterId

Router ID.

Nbr

Neighbors.

Level-2 Network Information

Level-2 network information.

 

display isis traffic-eng statistics

Syntax

display isis traffic-eng statistics [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

process-id: IS-IS process ID in the range of 1 to 65535.

vpn-instance vpn-instance-name: Displays the IS-IS TE statistics for the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. To display the IS-IS TE statistics for the public network, do not specify this option.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display isis traffic-eng statistics to display IS-IS TE statistics.

If no IS-IS level is specified, this command displays TE statistics for Level-1-2 IS-IS.

Examples

# Display IS-IS TE statistics.

<Sysname> display isis traffic-eng statistics

                           TE information for ISIS(1)

                           --------------------------

TE Statistics Information

-------------------------

 IS-IS System Type                          : Level-1-2

 IS-IS Cost Style Status                    : Wide

 IS-IS Level-1 Traffic Engineering Status   : Disabled

 IS-IS Level-2 Traffic Engineering Status   : Enabled

 IS-IS Router ID                            : 1.1.1.9

Table 5 Command output

Field

Description

IS-IS System Type

System type.

IS-IS Cost Style Status

Cost type of the router.

IS-IS Level-1 Traffic Engineering Status

TE state of Level-1 router.

IS-IS Level-2 Traffic Engineering Status

TE state of Level-2 router.

 

display isis traffic-eng sub-tlvs

Syntax

display isis traffic-eng sub-tlvs [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

process-id: IS-IS process ID in the range of 1 to 65535.

vpn-instance vpn-instance-name: Displays the IS-IS sub-TLVs for TE in the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its VPN instance name, a case-sensitive string of 1 to 31 characters. To display TE sub-TLV information for the public network, do not specify this option.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display isis traffic-eng sub-tlvs to display information about IS-IS sub-TLVs for TE.

If no IS-IS level is specified, this command displays Level-1-2 IS-IS sub-TLVs for TE.

Related commands: te-set-subtlv.

Examples

# Display IS-IS sub-TLV information for TE.

<Sysname> display isis traffic-eng sub-tlvs

IS-IS(1) SubTlv Information

---------------------------------

 Unreserved sub-pool bandwidth sub-tlv value : 251

 Bandwidth constraint sub-tlv value          : 252

 LO multiplier sub-tlv value                 : 253

Table 6 Command output

Field

Description

Unreserved sub-pool bandwidth sub-tlv value

Sub-TLV of unreserved subpool bandwidth.

Bandwidth constraint sub-tlv value

Bandwidth constraint sub-TLV.

LO multiplier sub-tlv value

LOM sub-TLV.

 

display mpls lsp bfd te

Syntax

display mpls lsp bfd [ te tunnel tunnel-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

tunnel tunnel-number: Displays the BFD information for the specified MPLS TE tunnel. tunnel-number is the tunnel interface number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls lsp bfd te to display BFD information for MPLS TE tunnels.

Examples

# Display BFD information for the MPLS TE tunnel using tunnel interface Tunnel1.

<Sysname> display mpls lsp bfd te Tunnel 1

 

               MPLS BFD Session(s) Information

-----------------------------------------------------------------------------

 FEC            : Tunnel1           Type           : TE Tunnel

 Local Discr    : 3                 Remote Discr   : 3

 Tunnel ID      : 0xd2009           NextHop        : ----

 Session State  : Up                Source IP      : 1.1.1.1

 Session Role   : Active

 

 Total Session Num: 1

Table 7 Command output

Field

Description

Type

Type of the tunnel detected by BFD, which can be LSP or TE Tunnel.

Local Discr

Local discriminator of the BFD session.

Remote Discr

Remote discriminator of the BFD session.

Session State

Status of the BFD session, which can be Init (initializing), Up, or Down.

Source IP

IP address of the active end (ingress LSR) of the BFD session.

Session Role

Role of the LSR in the BFD session, Active or Passive.

 

display mpls rsvp-te

Syntax

display mpls rsvp-te [ interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] ]

View

Any view

Default level

1: Monitor level

Parameters

interface: Displays RSVP-TE configuration for interfaces.

interface-type interface-number: Specifies an interface for which RSVP-TE configuration is displayed.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te to display RSVP-TE configuration.

If the interface keyword is not specified, this command displays global RSVP-TE configuration.

If no interface is specified through the interface-type interface-number argument, this command displays RSVP-TE configuration for all RSVP-TE enabled interfaces.

Examples

# Display global RSVP-TE configuration.

<Sysname> display mpls rsvp-te

LSR ID: 4.4.4.4

 Resv Confirmation Request: DISABLE

 RSVP Hello Extension: ENABLE

 Hello interval: 3 sec         Max Hello misses: 3

 Path and Resv message refresh interval: 30 sec

 Path and Resv message refresh retries count: 3

 Blockade Multiplier: 4

 Graceful Restart: ENABLE

 Restart Time: 200 sec       Recovery Time: 150 sec

Table 8 Command output

Field

Description

LSR ID

Label switched Router ID, in the format of X.X.X.X.

Resv Confirmation Request

Reserved confirmation request.

RSVP Hello Extension

State of the hello mechanism: enabled or disabled.

Hello Interval

Hello interval, in seconds.

Max Hello misses

Maximum number of consecutive hello losses before a neighbor is considered dead.

Path and Resv message refresh interval

Path and reservation message refresh interval, in seconds.

Path and Resv message refresh retries count

Number of Path and Resv message retransmissions.

Blockade Multiplier

Blockade multiplier.

Graceful Restart

State of GR: enabled or disabled.

Restart Time

GR restart interval in seconds.

Recovery Time

GR recovery interval in seconds.

 

# Display the RSVP-TE configuration on interface VLAN-interface 1000.

<Sysname> display mpls rsvp-te interface Vlan-interface 1000

Interface Vlan-interface 1000

 Interface state: UP       BFD feature: ENABLE

 Total-BW: 80              Used-BW: 20

 Hello configured: NO      Num of Neighbors: 1

 SRefresh feature: ENABLE  SRefresh Interval: 30sec

 Authentication: DISABLE   Reliability configured: NO

 Retransmit Interval: 500msec  Increment Value: 1

Table 9 Command output

Field

Description

Interface Vlan-interface 1000

RSVP-TE enabled interface.

Interface state

Physical interface state.

BFD feature

State of BFD: enabled or disabled.

Total-BW

Total bandwidth (in kbps).

Used-BW

Used bandwidth (in kbps).

Hello configured

State of the hello mechanism: enabled or disabled.

Num of Neighbors

Number of neighbors connected to the interface.

Srefresh feature

State of the summary refresh function: enabled or disabled.

Srefresh interval

Summary refresh interval (in seconds).

Authentication

State of authentication: enabled or disabled.

Reliability

Whether the reliability feature is configured: yes or no.

Retransmit interval

Initial retransmission interval (in milliseconds).

Increment value

Increment value delta which governs the speed at which the interface increases the retransmission interval.

Assume the retransmission interval is Rf seconds. If the interface does not receive an ACK message for a packet within this interval, it retransmits the packet after (1 + Increment value) × Rf seconds.

 

display mpls rsvp-te established

Syntax

display mpls rsvp-te established [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays the RSVP-TE tunnel information for all interfaces.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te established to display information about RSVP-TE tunnels.

Examples

# Display RSVP-TE tunnel information for interface VLAN-interface 1000.

<Sysname> display mpls rsvp-te established interface Vlan-interface 1000

Interface Vlan-interface 1000

 Token Bucket Rate: 0.00            Peak Data Rate: 0.00

 Tunnel Dest: 2.2.2.2               Ingress LSR ID: 3.3.3.3

 Local LSP ID: 4                    Session Tunnel ID: 4

 Next Hop Addr: 80.4.1.1

 Upstream Label: 1024               Downstream Label: 3

Table 10 Command output

Field

Description

Interface Vlan-interface 1000

RSVP-TE enabled interface.

Token Bucket rate

Token bucket rate, a traffic parameter.

Peak Data Rate

Peak rate, a traffic parameter.

Tunnel Dest

Tunnel destination, in the format of X.X.X.X.

Ingress LSR ID

Ingress LSR ID, in the format of X.X.X.X.

Next Hop Addr

Next hop address, in the format of X.X.X.X.

 

display mpls rsvp-te peer

Syntax

display mpls rsvp-te peer [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te peer to display information about RSVP-TE neighbors on the specified or all interfaces.

Examples

# Display information about RSVP-TE neighbors on all interfaces.

<Sysname> display mpls rsvp-te peer

Interface Vlan-interface1000

 Neighbor Addr: 80.4.1.1

 SrcInstance: 841             NbrSrcInstance: 928

 PSB Count: 0                 RSB Count: 1

 Hello Type Sent: ACK         Neighbor Hello Extension: ENABLE

 SRefresh Enable: NO          Reliability Enable: YES

 Graceful Restart State: Ready

 Restart Time: 200 sec        Recovery Time: 150 sec

 

Interface Vlan-interface1001

 Neighbor Addr: 80.2.1.1

 SrcInstance: 832             NbrSrcInstance: 920

 PSB Count: 1                 RSB Count: 0

 Hello Type Sent: REQ         Neighbor Hello Extension: ENABLE

 SRefresh Enable: NO          Reliability Enable: YES 

 Graceful Restart State: Not Ready 

 Restart Time: ---            Recovery Time: ---

Table 11 Command output

Field

Description

Interface Vlan-interface1000

RSVP-TE enabled interface.

Neighbor Addr:

Neighbor address, in the format of X.X.X.X.

SrcInstance

Instance of source Message ID.

NbrSrcInstance

Instance of neighbor Message ID.

PSB Count

Number of path state blocks.

RSB Count

Number of reservation state blocks.

Hello Type Sent

Type of hellos sent to the neighbor: REQ, ACK, or NONE.

Neighbor Hello Extension

State of hello extension: enabled or disabled. This field is displayed only when hello extension is enabled on the interface.

SRefresh Enable

State of summary refresh: YES for enabled and NO for disabled.

Reliability Enable

State of the reliability function: YES for enabled and NO for disabled.

Graceful Restart State

Neighbor's GR status: Not Ready, Ready, Restart, or Recovery. Displayed as --- when not supported by the switch.

Restart Time

GR restart interval in seconds.

Recovery Time

GR recovery interval in seconds.

 

display mpls rsvp-te psb-content

Syntax

display mpls rsvp-te psb-content ingress-lsr-id lspid tunnel-id egress-lsr-id [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ingress-lsr-id: Ingress LSR ID.

lspid: Local LSR ID in the range of 1 to 65535.

tunnel-id: Tunnel ID in the range of 0 to 65535.

egress-lsr-id: Egress LSR ID.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te psb-content to display information about RSVP-TE PSB.

Examples

# Display PSB information.

<Sysname> display mpls rsvp-te psb-content 19.19.19.19 1 0 29.29.29.29

The PSB Content:

 Tunnel Dest: 29.29.29.29     Session Tunnel ID: 0  

 Tunnel ExtID: 19.19.19.19

 Ingress LSR ID: 19.19.19.19  Local LSP ID: 1

 Previous Hop : 101.101.101.1 Next Hop : -----

 Incoming / Outgoing Interface: Vlan-interface1000  /  -----

 InLabel : 3            OutLabel : NULL

 Reverse InLabel : null  Reverse OutLabel : 1024

Send Message ID : 1      Recv Message ID : 0

 Session Attribute-

   SetupPrio: 7         HoldPrio: 7

   SessionFlag: SE Style desired

  ERO Information-

     L-Type          ERO-IPAddr       ERO-PrefixLen

   ERHOP_STRICT    101.101.101.2         32

 RRO Information-

   RRO-CType: IPV4   RRO-IPAddress: 101.101.101.1   RRO-IPPrefixLen: 32

 SenderTspec Information-

   Token bucket rate: 0.00

   Token bucket size: 0.00

   Peak data rate: 0.00

   Minimum policed unit: 0

   Maximum packet size: 4294967295

 Path Message arrive on Vlan-interface1000 from PHOP 101.101.101.1

 Resource Reservation OK

 Graceful Restart State: Stale

 Bandwidth Constraint Mode: IETF DS-TE RDM

Table 12 Command output

Field

Description

Tunnel Dest

Tunnel destination, in the format of X.X.X.X.

Session Tunnel ID

Session tunnel ID.

Tunnel ExtID

Tunnel extension ID, in the format of X.X.X.X.

Ingress LSR ID

Ingress LSR ID, in the format of X.X.X.X.

Local LSP ID

Local LSP ID.

Next Hop

Next hop address, in the format of X.X.X.X.

Previous Hop

Previous hop address, in the format of X.X.X.X.

In Label

Incoming label.

Out Label

Outgoing label.

Reverse InLabel

Incoming label of the reverse LSP.

Reverse OutLabel

Outgoing label of the reverse LSP.

Send message ID

Instance of sent Message ID.

Resv Message ID

Instance of received Message ID.

Setup Prio

Session setup priority.

HoldPrio

Session hold priority.

Session Flag

Session flag (local protection policy, label, SE style).

ERO Information

Information about explicit routes.

L-Type

Explicit routing type: strict or loose.

ERO-IPAddress

IP address for an explicit route.

ERO-Prefix Len

Prefix length for an explicit route.

RRO Information

Information about route recording.

RRO-C Type

Type of route recording.

RRO-IP Address

IP address of recorded route in the format of X.X.X.X.

RRO-IPPrefixLen

IP prefix length of recorded route.

Sender Tspec Information

Information about sender's service specifications.

Token Bucket rate

Token bucket rate (in kbps), a traffic parameter.

Token Bucket size

Token bucket size, a traffic parameter.

Peak Data Rate

Peak data rate (in kbps), a traffic parameter.

Maximum packet size

Maximum packet size, a traffic parameter.

Minimum policed unit

Minimum policed unit, a traffic parameter.

Path message

Path message sent from the interface to the next hop at X.X.X.X.

Resource

Available when the RSVP flag is configured.

Graceful Restart State

State of GR: stale or normal. Displayed as --- when not supported by the switch.

Bandwidth Constraint Mode

Bandwidth constraints model carried in the path message:

·     IETF DS-TE RDM.

·     IETF DS-TE MAM.

·     Prestandard DS-TE RDM.

 

display mpls rsvp-te request

Syntax

display mpls rsvp-te request [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te request to display information about RSVP-TE requests on the specified or all interfaces.

Examples

# Display information about RSVP-TE requests on all interfaces.

<Sysname> display mpls rsvp-te request

Interface Vlan-interface1000:

 Tunnel Dest: 2.2.2.2                Ingress LSR ID: 3.3.3.3

 Local LSP ID: 4                     Session Tunnel ID: 4

 NextHopAddr: 80.4.1.1

 SessionFlag: SE Style desired.

 Token bucket rate: 0.00             Token bucket size: 1000.00

 Out Interface: Vlan-interface1001

Table 13 Command output

Field

Description

Interface Vlan-interface1000

RSVP-TE enabled Ethernet interface.

Tunnel Dest

Tunnel destination, in the format of X.X.X.X

Ingress LSR ID

Ingress LSR ID, in the format of X.X.X.X

Next Hop Address

Next hop address, in the format of X.X.X.X

SessionFlag

Reservation style.

Token Bucket rate

Token bucket rate, a traffic parameter.

Token Bucket Size

Token bucket size, a traffic parameter.

Out Interface

Output interface.

 

display mpls rsvp-te reservation

Syntax

display mpls rsvp-te reservation [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te reservation to display information about RSVP-TE reservations on the specified interface or all interfaces.

Examples

# Display information about RSVP-TE reservations on interface VLAN-interface 1000.

<Sysname> display mpls rsvp-te reservation interface Vlan-interface 1000

Interface Vlan-interface1000

 Tunnel Dest: 29.29.29.29     Ingress LSR ID: 19.19.19.19

 LSP ID: 1                    Tunnel ID: 1

 Upstream Label: -----

 Token bucket rate: 0.00       Token bucket size: 0.00

# Display information about RSVP-TE reservations on all interfaces.

<Sysname> display mpls rsvp-te reservation

Interface Vlan-interface1000

 Tunnel Dest: 29.29.29.29     Ingress LSR ID: 19.19.19.19

 LSP ID: 1                    Tunnel ID: 1

 Upstream Label: -----

 Token bucket rate: 0.00       Token bucket size: 0.00

 Interface: Outgoing-Interface at the Egress

 Tunnel Dest: 19.19.19.19     Ingress LSR ID: 29.29.29.29

 LSP ID: 1                    Tunnel ID: 1

 Upstream Label: 3

 Token bucket rate: 0.00       Token bucket size: 0.00

Table 14 Command output

Field

Description

Interface Vlan-interface1000

RSVP-TE enabled Ethernet interface.

Tunnel Dest

Tunnel destination, in the format of X.X.X.X

Ingress LSR ID

Ingress LSR ID, in the format of X.X.X.X

Token Bucket rate

Token bucket rate, a traffic parameter.

Token Bucket Size

Token bucket size, a traffic parameter.

 

display mpls rsvp-te rsb-content

Syntax

display mpls rsvp-te rsb-content ingress-lsr-id Ispid tunnel-id egress-lsr-id nexthop-address [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ingress-lsr-id: Ingress LSR ID.

lspid: Local LSP ID in the range of 1 to 65535.

tunnel-id: Tunnel ID in the range of 0 to 65535.

egress-lsr-id: Egress LSR ID.

nexthop-address: Next hop address.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te rsb-content to display information about RSVP-TE reservation state blocks (RSBs).

Examples

# Display information about RSVP-TE RSBs.

<Sysname> display mpls rsvp-te rsb-content 19.19.19.19 1 0 29.29.29.29 101.101.101.2

The RSB Content:

 Tunnel Dest: 29.29.29.29    Session Tunnel ID: 0     

 Tunnel ExtID: 19.19.19.19

 Next Hop: 101.101.101.2    Reservation Style: SE Style

 Reservation Incoming Interface: Vlan-interface1000

 Reservation Interface: Vlan-interface1000

 Message ID : 2

 Filter Spec Information-

   The filter number: 1

   Ingress LSR ID: 19.19.19.19    Local LSP ID: 1      OutLabel: 3

   Graceful Restart State: Stale

 RRO Information-

 RRO-Flag is

   RRO-CType: IPV4   RRO-IPAddress: 101.101.101.2      RRO-IPPrefixLen: 32

 FlowSpec Information-

   Token bucket rate: 2500.00

   Token bucket size: 0.00

   Peak data rate: 0.00

   Minimum policed unit: 0

   Maximum packet size: 0

   Bandwidth guarantees: 0.00

   Delay guarantees: 0

   Qos Service is Controlled

 Resv Message arrive on Vlan-interface1000 from NHOP 101.101.101.2

 Graceful Restart State: Stale

Table 15 Command output

Field

Description

Tunnel Dest

Tunnel destination, in the format of X.X.X.X.

Tunnel Ext ID

Tunnel extension (ingress LSR ID), in the format of X.X.X.X.

Next Hop

Next hop address, in the format of X.X.X.X.

Reservation Style

Reservation style: SE or FF.

Reservation Interface

Reservation interface name.

Reserve Incoming Interface

Incoming interface where the Resv message was received.

Message ID

Message ID of the Refresh Reduction message.

Filter Spec Information

Filter specifications.

The filter number

Number of filters.

Ingress LSR ID

Ingress LSR ID, in the format of X.X.X.X.

Out Label

Outgoing label.

RRO Information

Information about route recording.

RRO-C Type

Type of route recording.

RRO-IP Address

IP address of recorded route in the format of X.X.X.X.

RRO-IPPrefixLen

IP prefix length of recorded route.

Flow Spec information

Flow specifications.

Token Bucket rate

Token bucket rate (in kbps), a traffic parameter.

Token Bucket size

Token bucket size, a traffic parameter.

Peak Data Rate

Peak data rate (in kbps), a traffic parameter.

Maximum packet size

Maximum packet size, a traffic parameter.

Minimum policed unit

Minimum policed unit, a traffic parameter.

Bandwidth guarantees

Guaranteed bandwidth, a reservation specifications parameter.

Delay guarantees

Delay guarantee, a reservation specifications parameter.

QOS service

QoS guarantee/control.

Resv Message

Reservation message received on a particular interface from next hop (X.X.X.X).

Graceful Restart State

State of GR: stale or normal. Displayed as --- when not supported by the switch.

 

display mpls rsvp-te sender

Syntax

display mpls rsvp-te sender [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls rsvp-te sender to display RSVP-TE sender message information.

Examples

# Display RSVP-TE sender message information on interface VLAN-interface 1000.

<Sysname> display mpls rsvp-te sender interface Vlan-interface 1000

Interface Vlan-interface1000

 Tunnel Dest: 29.29.29.29    Ingress LSR ID: 19.19.19.19

 LSP ID: 1                   Session Tunnel ID: 1

 Session Name: Tunnel1

 Previous Hop Address: 101.101.101.1

 Token bucket rate: 0.0      Token bucket size: 0.00

# Display RSVP-TE sender message information on all interfaces.

<Sysname> display mpls rsvp-te sender

Interface: Vlan-interface1000

 Tunnel Dest: 19.19.19.19    Ingress LSR ID: 29.29.29.29

 LSP ID: 1                   Session Tunnel ID: 0

 Session Name: Tunnel1

 Previous Hop Address: 101.101.101.2

 Token bucket rate: 0.0      Token bucket size: 0.00

Interface: Incoming-Interface at the Ingress

 Tunnel Dest: 29.29.29.29    Ingress LSR ID: 19.19.19.19

 LSP ID: 1                   Session Tunnel ID: 0

 Session Name: Tunnel2

 Previous Hop Address: 19.19.19.19

 Token bucket rate: 0.0      Token bucket size: 0.00

Table 16 Command output

Field

Description

Interface Vlan-interface1000

RSVP-TE enabled Ethernet interface.

Tunnel Dest

Tunnel destination, in the format of X.X.X.X.

Ingress LSR ID

Ingress LSR ID, in the format of X.X.X.X.

Previous Hop Address

Previous hop address, in the format of X.X.X.X.

Token Bucket rate

Token bucket rate, a traffic parameter.

Token Bucket Size

Token bucket size, a traffic parameter.

 

display mpls rsvp-te statistics

Syntax

display mpls rsvp-te statistics { global | interface [ interface-type interface-number ] } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

global: Display global RSVP-TE information.

interface: Displays statistics about RSVP-TE for a specific interface or, if no interface is specified, all interfaces.

interface-type interface-number: Specifies an interface for which statistics about RSVP-TE is displayed.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls rsvp-te statistics to display statistics about RSVP-TE.

Examples

# Display global RSVP-TE statistics.

<Sysname> display mpls rsvp-te statistics global

LSR ID: 1.1.1.1

 PSB Count: 1                          RSB Count: 1

 RFSB Count: 0                         TCSB Count: 1

 LSP Count: 1

 

Total Statistics Information:

 PSB CleanupTimeOutCounter: 0          RSB CleanupTimeOutCounter: 0

 SendPacketCounter: 55                 RecPacketCounter: 54

 SendPathCounter: 5                    RecPathCounter: 0

 SendResvCounter: 0                    RecResvCounter: 4

 SendResvConfCounter: 0                RecResvConfCounter: 0

 SendHelloCounter: 2                   RecHelloCounter: 48

 SendAckCounter: 48                    RecAckCounter: 2

 SendPathErrCounter: 0                 RecPathErrCounter: 0

 SendResvErrCounter: 0                 RecResvErrCounter: 0

 SendPathTearCounter: 0                RecPathTearCounter: 0

 SendResvTearCounter: 0                RecResvTearCounter: 0

 SendSrefreshCounter: 0                RecSrefreshCounter: 0

 SendAckMsgCounter: 0                  RecAckMsgCounter: 0

 SendErrMsgCounter: 0                  RecErrMsgCounter: 0

 RecReqFaultCounter: 0                 BindFrrFaultCounter: 0

# Display RSVP-TE statistics for interface VLAN-interface 1000.

<Sysname> display mpls rsvp-te statistics interface Vlan-interface1000

Vlan-interface1000:

 PSB CleanupTimeOutCounter: 0          RSB CleanupTimeOutCounter: 0

 SendPacketCounter: 69                 RecPacketCounter: 68

 SendPathCounter: 6                    RecPathCounter: 0

 SendResvCounter: 0                    RecResvCounter: 5

 SendResvConfCounter: 0                RecResvConfCounter: 0

 SendHelloCounter: 2                   RecHelloCounter: 61

 SendAckCounter: 61                    RecAckCounter: 2

 SendPathErrCounter: 0                 RecPathErrCounter: 0

 SendResvErrCounter: 0                 RecResvErrCounter: 0

 SendPathTearCounter: 0                RecPathTearCounter: 0

 SendResvTearCounter: 0                RecResvTearCounter: 0

 SendSrefreshCounter: 0                RecSrefreshCounter: 0

 SendAckMsgCounter: 0                  RecAckMsgCounter: 0

 SendErrMsgCounter: 0                  RecErrMsgCounter: 0

 RecReqFaultCounter: 0                 BindFrrFaultCounter: 0

Table 17 Command output

Field

Description

PSB Count

Number of PSBs.

RSB Count

Number of RSBs.

RFSB Count

Number of RFSBs.

TCSB Count

Number of TCSBs.

LSP Count

Number of LSPs.

PSB CleanupTimeOutCounter

Number of PSB timeouts.

RSB CleanupTimeOutCounter

Number of RSB timeouts.

SendPacketCounter

Number of transmitted packets.

RecPacketCounter

Number of received packets.

SendPathCounter

Number of transmitted Path messages.

RecPathCounter

Number of received Path messages.

SendResvCounter

Number of transmitted Resv messages.

RecResvCounter

Number of received Resv messages.

SendResvConfCounter

Number of transmitted ResvConf messages.

RecResvConfCounter

Number of received ResvConf messages.

SendHelloCounter

Number of transmitted Hello messages.

RecHelloCounter

Number of received Hello messages.

SendAckCounter

Number of transmitted Ack messages.

RecAckCounter

Number of received Ack messages.

SendPathErrCounter

Number of transmitted PathErr messages.

RecPathErrCounter

Number of received PathErr messages.

SendResvErrCounter

Number of transmitted ResvErr messages.

RecResvErrCounter

Number of received ResvErr messages.

SendPathTearCounter

Number of transmitted PathTear messages.

RecPathTearCounter

Number of received PathTear messages.

SendResvTearCounter

Number of transmitted ResvTear messages.

RecResvTearCounter

Number of received ResvTear messages.

SendSrefreshCounter

Number of transmitted Srefresh messages.

RecSrefreshCounter

Number of received Srefresh messages.

SendAckMsgCounter

Number of transmitted AckMsg messages.

RecAckMsgCounter

Number of received AckMsg messages.

SendErrMsgCounter

Number of transmitted errors.

RecErrMsgCounter

Number of received errors.

RecReqFaultCounter

Number of request failures.

BindFrrFaultCounter

Number of primary-to-bypass tunnel binding failures in the FRR process.

 

display mpls static-cr-lsp

Syntax

display mpls static-cr-lsp [ lsp-name lsp-name ] [ { include | exclude } ip-address prefix-length ] [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

lsp-name lsp-name: Label switched path name containing 1 to 15 characters.

include: Displays only CR-LSPs with the destination IP address specified by the ip-address prefix-length arguments.

exclude: Displays only CR-LSPs with destination IP addresses other than the one specified by the ip-address prefix-length arguments.

ip-address: IP address of the FEC.

prefix-length: IP address prefix length in the range of 0 to 32.

verbose: Displays detailed information.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

·     begin: Displays the first line that matches the specified regular expression and all lines that follow.

·     exclude: Displays all lines that do not match the specified regular expression.

·     include: Displays all lines that match the specified regular expression.

·     regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls static-cr-lsp to display information about static CR-LSPs.

Examples

# Display brief information about all static CR-LSPs.

<Sysname> display mpls static-cr-lsp

total statics-cr-lsp : 1

Name       FEC               I/O Label  I/O If                State

Tunnel1    3.3.3.9/32        NULL/100   -/Vlan1000            Down

Table 18 Command output

Field

Description

Name

Static CR-LSP name.

FEC

FEC destination address and mask.

I/O Label

Incoming/outgoing label.

I/O If

Incoming/outgoing interface.

State

Current state of the CR-LSP.

 

# Display detailed information about all static CR-LSPs.

<Sysname> display mpls static-cr-lsp verbose

No             : 1

LSP-Name       : Tunnel1

LSR-Type       : Ingress

FEC            : 3.3.3.3/32

In-Label       : NULL

Out-Label      : 20

In-Interface   : -

Out-Interface  : Vlan-interface1000

NextHop        : 2.1.1.2

Lsp Status     : Up

Table 19 Command output

Field

Description

LSP-Name

Static CR-LSP name.

LSR-Type

Role of the LSR in the LSP: ingress, transit, or egress.

FEC

FEC destination address and the destination address mask.

In-Label

Incoming label.

Out-Label

Outgoing label.

In-Interface

Incoming interface.

Out-Interface

Outgoing interface.

NextHop

Next hop address.

Lsp Status

Status of the LSP.

 

display mpls te cspf tedb

Syntax

display mpls te cspf tedb { all | area area-id | interface ip-address | network-lsa | node [ mpls-lsr-id ] } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

area-id: Area ID. For OSPF, it is in the range of 0 to 4294967295. For IS-IS, it is in the range of 1 or 2.

ip-address: IP address of an interface.

network-lsa: Displays traffic engineering database (TEDB) information in network LSAs.

node: Displays the TEDB information on nodes. If no node is specified, this command displays the TEDB information on all nodes.

mpls-lsr-id: Specifies a node by its MPLS LSR ID.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 80 characters.

Description

Use display mpls te cspf tedb to display information about CSPF-based TEDB by specified criteria.

Examples

# Display TEDB information in network LSAs.

<Sysname> display mpls te cspf tedb network-lsa

Maximum Network LSA Supported:  500

Current Total Network LSA Number:       7

Id   DR MPLS LSR-Id DR-Address       IGP   Process-Id  Area  Neighbor

1    8.1.1.2        3.0.0.2          OSPF  100         0     1.1.1.1

                                                             2.1.1.1

                                                             8.1.1.2

2    2.1.1.1        3.0.0.3          OSPF  100         0     2.1.1.1

                                                             3.1.1.1

                                                             2.1.1.2

3    3.1.1.2        3.0.0.4          OSPF  100         0     3.1.1.1

                                                             4.1.1.1

                                                             3.1.1.2

4    4.1.1.2        3.0.0.5          OSPF  100         0     4.1.1.1

                                                             5.1.1.1

                                                             4.1.1.2

5    5.1.1.2        3.0.0.6          OSPF  100         0     5.1.1.1

                                                             6.1.1.1

                                                             5.1.1.2

6    6.1.1.2        3.0.0.9          OSPF  100         0     6.1.1.1

                                                             7.1.1.1

                                                             6.1.1.2

7    7.1.1.1        12.0.0.7         OSPF  100         0     3.1.1.1

                                                             7.1.1.1

                                                             7.1.1.2

Table 20 Command output

Field

Description

ID

Number.

DR MPLS LSR-Id

MPLS LSR ID of the designated router (DR), in dotted decimal notation.

DR-Address

Interface address of the DR.

IGP

Interior gateway protocol: OSPF or IS-IS.

Process-Id

IGP process ID.

Area

Area to which the router belongs.

Neighbor

Neighbor router ID.

 

# Display all TEDB information.

<Sysname> display mpls te cspf tedb all

Maximum Node Supported: 1000            Maximum Link Supported: 4000

Current Total Node Number: 3            Current Total Link Number: 44

Id    MPLS LSR-Id     IGP     Process-Id    Area            Link-Count

1     1.1.1.1         OSPF    100           1001,1002,1003  20

                                            1004,1005,1006

                                            1007,1008,1009

                                            1010,1,2

                                            13,14,15

                                            16,17,18

                                            19,20

2     2.1.1.1         ISIS    100           Level-0,1       20

3     3.1.1.1         OSPF    100           0               4

Table 21 Command output

Field

Description

ID

Number.

MPLS LSR-Id

MPLS LSR ID, in dotted decimal notation.

IGP

Interior gateway protocol: OSPF or IS-IS.

Process-Id

IGP process ID.

Area

Area to which the router belongs.

Link-count

Total number of connected links belonging to a particular IGP protocol process.

 

# Display the TEDB information for IGP area 1.

<Sysname> display mpls te cspf tedb area 1

Router Node Information for Area 1:

Id     MPLS LSR-Id    IGP     Process-Id     Area            Link-Count

1      2.2.2.2        OSPF    100            1               1

2      3.3.3.3        OSPF    100            1               1

3      2.2.2.2        ISIS    100            Level-1         1

4      3.3.3.3        ISIS    100            Level-1         1

 

Network LSA Information for Area 1:

Id   DR MPLS LSR-Id  DR-Address    IGP  Process-Id Area    Neighbor

1    3.3.3.3         20.1.1.2      OSPF 100        1       2.2.2.2

                                                           3.3.3.3

2    3.3.3.3         20.1.1.2      ISIS 100        Level-1 3.3.3.3

                                                           2.2.2.2

Table 22 Command output

Field

Description

Id

Number.

MPLS LSR-Id

MPLS LSR ID, in dotted decimal notation.

IGP

Interior gateway protocol: OSPF or IS-IS.

Process-Id

IGP process ID.

Area

Area to which the router belongs.

Link-Count

Total number of connected links belonging to a particular IGP protocol process.

DR MPLS LSR-Id

MPLS LSR ID of the DR.

DR-Address

Interface address of the DR.

Neighbor

MPLS LSR ID of the neighbor.

 

# Display the TEDB information for all nodes in prestandard DS-TE mode.

<Sysname> display mpls te cspf tedb node

MPLS LSR-Id: 1.1.1.1

  IGP Type: OSPF   Process Id: 100

  MPLS-TE Link Count: 1

  Link[1] :

    Interface IP Address: 2.0.0.33, 2.0.0.35, 2.0.0.36,

    Neighbor  IP Address: 2.0.0.2, 2.0.0.42, 2.0.0.43,

                          2.0.0.44, 2.0.0.45, 2.0.0.46,

                          2.0.0.47, 2.0.0.32,

    Neighbor  MPLS LSR-Id : 1.1.1.2

    IGP Area: 1

    Link  Type: point-to-point  Link Status: Inactive

    IGP Metric: 100             TE Metric: 100         Color: 0xff

    Maximum Reservable Bandwidth: 0 (kbps)

    Bandwidth Constraint Mode: Prestandard DS-TE RDM

    Bandwidth Constraints:

         BC[0] :  0          (kbps)

         BC[1] :  0          (kbps)

   Unreserved Bandwidth for each TE Class:

         [0] :    0          (kbps),  [1] :     0          (kbps)

         [2] :    0          (kbps),  [3] :     0          (kbps)

         [4] :    0          (kbps),  [5] :     0          (kbps)

         [6] :    0          (kbps),  [7] :     0          (kbps)

         [8] :    0          (kbps),  [9] :     0          (kbps)

         [10]:    0          (kbps),  [11]:     0          (kbps)

         [12]:    0          (kbps),  [13]:     0          (kbps)

         [14]:    0          (kbps),  [15]:     0          (kbps)

MPLS LSR-Id: 1.1.1.1

  IGP Type: ISIS   Process Id: 100

  MPLS-TE Link Count: 2

  Link[1] :

    Interface IP Address: 2.0.0.33, 2.0.0.35, 2.0.0.36,

    Neighbor  IP Address: 2.0.0.2, 2.0.0.42, 2.0.0.43,

                          2.0.0.44, 2.0.0.45, 2.0.0.46,

                          2.0.0.47, 2.0.0.32, 2.0.0.33

    Neighbor  MPLS LSR-Id: 1.1.1.2

    IGP Area: Level-0

    Link  Type: point-to-point  Link Status: Active

    IGP Metric: 10              TE Metric: 10          Color: 0x11

    Maximum Bandwidth: 100 (kbps)

    Maximum Reservable Bandwidth: 0 (kbps)

    Bandwidth Constraint Mode: Prestandard DS-TE RDM

    Bandwidth Constraints:

         BC[0] :  0          (kbps)

         BC[1] :  0          (kbps)

    Unreserved Bandwidth for each TE Class:

         [0] :    0          (kbps),  [1] :     0          (kbps)

         [2] :    0          (kbps),  [3] :     0          (kbps)

         [4] :    0          (kbps),  [5] :     0          (kbps)

         [6] :    0          (kbps),  [7] :     0          (kbps)

         [8] :    0          (kbps),  [9] :     0          (kbps)

         [10]:    0          (kbps),  [11]:     0          (kbps)

         [12]:    0          (kbps),  [13]:     0          (kbps)

         [14]:    0          (kbps),  [15]:     0          (kbps)

Table 23 Command output

Field

Description

MPLS LSR-Id

MPLS LSR ID of node, in dotted decimal notation.

Process Id

IGP process ID.

MPLS-TE Link Count

Number of MPLS TE links.

Link[1]

Information about the first link.

DR Address

IP address of the DR.

IGP Metric

IGP metric of link.

TE Metric

TE metric of link.

Color

Link administrative attribute.

Maximum Bandwidth

Maximum bandwidth of the link.

Maximum Reservable Bandwidth

Maximum reservable bandwidth of link.

Bandwidth Constraint Mode

Bandwidth constrains model.

Unreserved Bandwidth for each TE Class

Reservable bandwidth for each TE class.

 

# Display TEDB information for a specific interface address in IETF DS TE RDM mode.

<Sysname> display mpls te cspf tedb interface 20.1.1.1

MPLS LSR-Id: 2.2.2.2

  IGP Type: ISIS   Process Id: 100

  Link[1] :

    Interface IP Address: 20.1.1.1

    DR Address: 20.1.1.2

    IGP Area: Level-1

    Link  Type: multi-access  Link Status: Active

    IGP Metric: 10              TE Metric: 0           Color: 0x0

    Maximum Bandwidth: 0 (kbps)

    Maximum Reservable Bandwidth: 0 (kbps)

    Bandwidth Constraint Mode: IETF DS-TE RDM

    Bandwidth Constraints:

         BC[0] :  0          (kbps)

         BC[1] :  0          (kbps)

         BC[2] :  0          (kbps)  

         BC[3] :  0          (kbps)   

    Unreserved Bandwidth for each TE Class:

         [0] :    0          (kbps),  [1] :     0          (kbps)

         [2] :    0          (kbps),  [3] :     0          (kbps)

         [4] :    0          (kbps),  [5] :     0          (kbps)

         [6] :    0          (kbps),  [7] :     0          (kbps)

Table 24 Command output

Field

Description

MPLS LSR-Id

MPLS LSR ID of node, in dotted decimal notation.

Process Id

IGP process ID.

MPLS-TE Link Count

Number of MPLS TE links.

Link[1]

Information about the first link.

Interface IP Address

Interface IP address.

DR Address

IP address of the DR.

IGP Metric

IGP metric of link.

TE Metric

TE metric of link.

Color

Link administrative attribute.

Maximum Bandwidth

Maximum bandwidth of the link.

Maximum Reservable Bandwidth

Maximum reservable bandwidth of the link.

Bandwidth Constraint Mode

Bandwidth constraints model.

Unreserved Bandwidth for each TE Class

Reservable bandwidth for each TE class.

 

display mpls te link-administration admission-control

Syntax

display mpls te link-administration admission-control [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and a number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te link-administration admission-control to display information about CR-LSPs carried on the link of a specific interface or links of all interfaces if no interface is specified.

Examples

# Display information about the CR-LSPs carried on the links of all interfaces.

<Sysname> display mpls te link-administration admission-control

LspID           In/Out IF         S/H Prio    CT       BW(kbps)

1.1.1.9:1024    ---/Vlan1000      7/7         0        0

1.1.1.9:2048    ---/Vlan1001      7/7         0        0

Table 25 Command output

Field

Description

LspID

ID of an LSP carried on a link.

In/Out IF

Incoming/Outgoing interface.

S/H Prio

Setup and holding priorities of CR-LSP.

CT

Service class type.

BW(kbps)

Bandwidth (in kbps)

 

display mpls te link-administration bandwidth-allocation

Syntax

display mpls te link-administration bandwidth-allocation [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies an interface by its type and a number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te link-administration bandwidth-allocation to display bandwidth allocation on the specified or all MPLS TE enabled interfaces.

Examples

# Display bandwidth allocation on the MPLS TE enabled interface in prestandard mode.

<Sysname> display mpls te link-administration bandwidth-allocation

Link ID:  Vlan-interface1000

  Max Link Bandwidth                          :  0 kbits/sec                

  Max Reservable Bandwidth of Prestandard RDM :  0 kbits/sec                

  Max Reservable Bandwidth of IETF RDM        :  0 kbits/sec            

  Max Reservable Bandwidth of IETF MAM        :  0 kbits/sec

  Downstream LSP Count       :  0

  UpStream LSP Count         :  0

  Downstream Bandwidth       :  0 kbits/sec

  Upstream Bandwidth         :  0 kbits/sec

  IPUpdown Link Status       :  UP

  PhysicalUpdown Link Status :  UP

  BC  Prestandard RDM(kbps)  IETF Mode RDM(kbps)  IETF Mode MAM(kbps)

  0   0                      0                    0

  1   0                      0                    0

  2   0                      0                    0

  3   0                      0                    0

  TE CLASS    CLASS TYPE    PRIORITY   BW RESERVED(kbps)  BW AVAILABLE(kbps)

      0           0             0            0            0

      1           0             1            0            0

      2           0             2            0            0

      3           0             3            0            0

      4           0             4            0            0

      5           0             5            0            0

      6           0             6            0            0

      7           0             7            0            0

      8           1             0            0            0

      9           1             1            0            0

     10           1             2            0            0

     11           1             3            0            0

     12           1             4            0            0

     13           1             5            0            0

     14           1             6            0            0

     15           1             7            0            0

Table 26 Command output

Field

Description

Downstream LSP Count

Number of downstream LSPs.

UpStream LSP Count

Number of upstream LSPs.

IPUpdown Link Status

IP layer link status.

PhysicalUpdown Link Status

Physical layer link status.

BC

Bandwidth constraint number.

Prestandard RDM

Bandwidth constraints in prestandard RDM mode, in kbps.

IETF Mode RDM

Bandwidth constraints in IETF RDM mode, in kbps.

IETF Mode MAM

Bandwidth constraints in IETF RDM mode, in kbps.

TE CLASS

TE class.

CLASS TYPE

Service class type.

BW RESERVED

Bandwidth reserved for the TE class, in kbps.

BW AVAILABLE

Bandwidth available for the TE class, in kbps.

 

display mpls te protection tunnel

Syntax

display mpls te protection tunnel { tunnel-id | all } [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

tunnel-id: ID of a main tunnel.

all: Displays information about all protection groups.

verbose: Displays the detailed information.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te protection tunnel to display information about the specified tunnel and its protection tunnel.

Examples

# Display information about tunnel 100 and its protection tunnel.

<Sysname> display mpls te protection tunnel 100

-----------------------------------------------------------------

Work-tunnel id     Protect-tunnel id     Switch-Result

------------------------------------------------------------------

100                101                   work-tunnel

# Display detailed information about tunnel 100 and its protection tunnel.

<Sysname> display mpls te protection tunnel 100 verbose

Work-tunnel id                 :   100

Protect-tunnel id              :   101

Switch result                  :   work-tunnel

Work-tunnel defect state       :   No-defect

Protect-tunnel defect state    :   No-defect

Holdoff                        :   5000ms

WTR                            :   150s

Mode                           :   revertive

Holdoff timer                  :   not start

WTR timer                      :   not start

The current switch command     :   --         

Table 27 Command output

Field

Description

Work-tunnel id

Main tunnel's ID.

Protect-tunnel id

Protection tunnel's ID.

Switch result

Tunnel in use, which can be work-tunnel or protect-tunnel.

Work-tunnel defect state

State of the main tunnel:

·     No-defect—The main tunnel is normal.

·     In-defect—The main tunnel is failed.

Protect-tunnel defect state

State of the protection tunnel:

·     No-defect—The protection tunnel is normal.

·     In-defect—The protection tunnel is failed.

Holdoff

Switching delay time, time to wait before switching to the backup tunnel.

WTR

Reverting delay time, time to wait before switching back to the main tunnel.

Mode

Reverting mode, which can be revertive or non-revertive.

The current switch command

Executed external switching command.

 

display mpls te tunnel

Syntax

display mpls te tunnel [ destination dest-addr ] [ lsp-id lsr-id lsp-id ] [ lsr-role { all | egress | ingress | remote | transit } ] [ name name ] [ { incoming-interface | outgoing-interface | interface } interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

destination address: Specifies a destination IP address to display only the tunnels with the specified destination IP address.

lsr-id: LSR ID of the ingress node, in dotted decimal notation.

lsp-id: LSP ID in the range of 1 to 65535.

lsr-role: Displays tunnels by LSR role (ingress, transit, egress, or remote).

all: Displays all tunnels.

egress: Displays tunnels created taking the current device as the egress.

ingress: Displays tunnels created taking the current device as the ingress .

remote: Displays tunnels created taking the current device as the egress or a transit node.

transit: Displays tunnels created taking the current device as a transit node.

name name: Displays the tunnel with a particular name. This could be a string of 1 to 63 characters configured as interface description or the interface name if no interface description is configured. The tunnel name should be signaled to all hops.

incoming-interface: Displays all tunnels that use the interface identified by the interface-type interface-number arguments as the incoming interface.

outgoing-interface: Displays all tunnels that use the interface identified by the interface-type interface-number arguments as the outgoing interface.

interface: Displays all tunnels that use the interface identified by the interface-type interface-number arguments as the incoming or outgoing interface.

interface-type interface-number: Specifies an interface by its type and number.

verbose: Displays detailed information.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te tunnel to display information about MPLS TE tunnels.

Examples

# Display information about MPLS TE tunnels. (The output might vary by signaling protocol.)

<Sysname> display mpls te tunnel

LSP-Id            Destination     In/Out-If            Name

1.1.1.9:1024      3.3.3.9         -/Vlan10             Tunnel1

1.1.1.9:2048      3.3.3.9         -/Vlan11             Tunnel1

Table 28 Command output

Field

Description

LSP-ID

LSP ID of tunnel.

Destination

Destination router ID.

In/Out-IF

Incoming/outgoing interface.

Name

Tunnel name configured on the ingress node.

 

# Display detailed information about MPLS TE tunnels.

<Sysname> display mpls te tunnel verbose

No             : 1

LSP-Id         : *1.1.1.9:23

Tunnel-Name    : Tunnel2

Destination    : 1.1.1.9

In-Interface   : Vlan1

Out-Interface  : -

Tunnel BW      : 0 kbps

Class Type     : CT0

Ingress LSR-Id : *1.1.1.9

Egress LSR-Id  : 1.1.1.9

Setup-Priority : 7

Hold-Priority  : 7

Sign-Protocol  : RSVP TE

Resv Style     : FF

IncludeAnyAff  : 0x0

ExcludeAllAff  : 0x0

IncludeAllAff  : 0x0

Created Time   : 2011/01/28 09:59:49

No             : 2

LSP-Id         : 1.1.1.9:23

Tunnel-Name    : Tunnel2

Destination    : 2.2.2.9

In-Interface   : -

Out-Interface  : Vlan1

Tunnel BW      : 0 kbps

Class Type     : CT0

Ingress LSR-Id : 1.1.1.9

Egress LSR-Id  : 2.2.2.9

Setup-Priority : 7

Hold-Priority  : 7

Sign-Protocol  : RSVP TE

Resv Style     : FF

IncludeAnyAff  : 0x0

ExcludeAllAff  : 0x0

IncludeAllAff  : 0x0

Created Time   : 2011/01/28 09:59:49

Table 29 Command output

Field

Description

No

Number.

LSP-Id

LSP ID of tunnel.

Tunnel-Name

Tunnel name configured on the ingress node.

Destination

Destination router ID.

In-Interface

Incoming interface.

Out-Interface

Outgoing interface.

Tunnel BW

Tunnel bandwidth.

Class Type

Service class type.

Ingress LSR-Id

Ingress LSR ID.

Egress LSR-Id

Egress LSR-ID.

Setup-Priority

Setup priority of link.

Hold-Priority

Holding priority of link.

Sign-Protocol

Signaling protocol.

Resv Style

Reservation style.

IncludeAnyAff

Any affinity properties that must be included.

ExcludeAllAff

Link properties that are excluded.

IncludeAllAff

All link affinity properties that must be included.

Created Time

Time when the tunnel was created.

 

display mpls te tunnel path

Syntax

display mpls te tunnel path [ lsp-id lsr-id lsp-id | tunnel-name tunnel-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

lsr-id: Ingress LSR ID, in dotted decimal notation.

lsp-id: LSP ID in the range of 1 to 65535.

tunnel-name tunnel-name: Tunnel name, a string of 1 to 63 characters.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te tunnel path to display the path or paths that the specified or all MPLS TE tunnels traverse on this node.

Examples

# Display the paths that all MPLS TE tunnels traverse.

<Sysname> display mpls te tunnel path

Tunnel Interface Name : Tunnel1

Lsp ID :  1.1.1.9:10

Hop information:

Hop 0: 192.1.1.1;

Hop 1: 12.1.1.2;

Hop 2: 10.202.2.2.

Table 30 Command output

Field

Description

Tunnel Interface Name

Tunnel interface name.

Lsp ID

LSP ID.

Hop 0

Hop 0 on the path.

Hop 1

Hop 1 on the path.

Hop 2

Hop 2 on the path.

 

display mpls te tunnel statistics

Syntax

display mpls te tunnel statistics [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te tunnel statistics to display statistics about MPLS TE tunnels.

Examples

# Display statistics about MPLS TE tunnels.

<Sysname> display mpls te tunnel statistics

Ingress:   0 Tunnels,    0 Tunnels Up,    0 CRLSPs Up

           0 Modified,   0 In-Progress,   0 Failed

Transit:   0 Up

Egress :   0 Up

Table 31 Command output

Field

Description

Ingress

This device is the tunnel ingress.

Transit

This device is a transit node on the tunnel.

Egress

This device is the tunnel egress.

Modified

Number of CR-LSP tunnels that use this device as the ingress and are in modified state.

In-Progress

Number of CR-LSP tunnels that use this device as the ingress and are in in-progress state.

Failed

Number of CR-LSP tunnels that use this device as the ingress and are in failed state.

 

display mpls te tunnel-interface

Syntax

display mpls te tunnel-interface [ tunnel number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

tunnel number: Displays information about a tunnel interface.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mpls te tunnel-interface to display information about MPLS TE tunnel interfaces on this node.

Examples

# Display information about MPLS TE tunnel interfaces on this node.

<Sysname> display mpls te tunnel-interface

  Tunnel Name         :  Tunnel1

  Tunnel Desc         :  Tunnel1 Interface

  Tunnel State Desc   :  CR-LSP is Up

  Tunnel Attributes   :

    LSP ID              :  1.1.1.9:1

    Session ID          :  10

    Admin State         :  UP                    Oper State   :  UP

    Ingress LSR ID      :  1.1.1.9               Egress LSR ID:  2.2.2.9

    Signaling Prot      :  RSVP                  Resv Style   :  FF

    Tunnel mode         :  Co-routed, active

    Class Type          :  CT0                   Tunnel BW    :  2000 kbps

    Reserved BW         :  2000 kbps

    Setup Priority      :  7                     Hold Priority:  7

    Affinity Prop/Mask  :  0/0

    Explicit Path Name  :  -

    Tie-Breaking Policy :  None

    Metric Type         :  None

    Record Route        :  Disabled          Record Label :  Disabled

    FRR Flag            :  Disabled          BackUpBW Flag:  Not Supported

    BackUpBW Type       :  -                 BackUpBW     :  -

    Route Pinning       :  Disabled

    Retry Limit         :  10                Retry Interval:  10

    Reopt               :  Disabled          Reopt Freq   :  -

    Back Up Type        :  None

    Back Up LSPID       :  -

    Auto BW             :  Disabled          Auto BW Freq :  -

    Min BW              :  -                 Max BW       :  -

    Current Collected BW:  -

    Interfaces Protected:  -

    VPN Bind Type       :  NONE

    VPN Bind Value      :  -

    Car Policy          :  Disabled

    Tunnel  Group       :  Secondary

    Primary Tunnel      :  120

    Backup  Tunnel      :  -

    Group   Status      :  -

Table 32 Command output

Field

Description

Tunnel Desc

Tunnel description.

Tunnel State Desc

Tunnel state description.

Admin State

Administrative state.

Oper State

Operation state.

Signaling Prot

Signaling protocol.

Resv Style

Reservation style.

Class Type

Service class type.

Tunnel BW

Tunnel bandwidth.

Reserved BW

Reserved bandwidth.

Setup Priority

Setup priority of LSP.

Hold Priority

Hold priority of LSP.

Affinity Prop/Mask

Affinity attribute and mask.

Tie-Breaking Policy

Path selection policy.

Record Route

State of the route recording function.

Record Label

State of the label recording function.

FRR Flag

Fast reroute (FRR) flag.

BackUpBW Flag

Backup bandwidth flag.

BackUpBW Type

Backup bandwidth type.

BackUpBW

Backup bandwidth.

Route Pinning

Route pinning function.

Retry Limit

Maximum number of setup retries.

Retry Interval

Retry interval.

Reopt

State of the reoptimization function.

Reopt Freq

Reoptimization interval.

Back Up Type

Backup path type.

Back Up LSPID

Backup LSP ID.

Auto BW

State of the automatic bandwidth adjustment function.

Auto BW Freq

Automatic bandwidth adjustment interval.

Min BW

Lower limit for automatic bandwidth adjustment.

Max BW

Upper limit for automatic bandwidth adjustment .

Current Collected BW

Bandwidth information collected.

Interfaces Protected

FRR protected interfaces.

VPN Bind Type

Type of the binding, VPN or ACL.

VPN Bind Value

Value of the binding, the VPN instance name or ACL number.

Car Policy

Whether CAR policy is enabled.

Tunnel Group

Whether the tunnel is the primary tunnel or backup tunnel in the group.

Primary Tunnel

Tunnel ID of the corresponding primary tunnel. Displayed as - for a primary tunnel.

Backup Tunnel

Tunnel ID of the corresponding backup tunnel. Displayed as - for a backup tunnel.

Group Status

Status of the group. Displayed as - if no protection group is configured.

 

display ospf mpls-te

Syntax

display ospf [ process-id ] mpls-te [ area area-id ] [ self-originated ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

process-id: OSPF process ID in the range of 1 to 65535. If a process is specified, only the TE LSAs of this process are displayed; if no process is specified, the TE LSAs of all processes are displayed.

area area-id: Displays the TE LSAs of a specific OSPF area. The area-id argument takes an integer in the range of 0 to 4294967295 or the form of IPv4 address.

self-originated: Displays self originated TE LSAs.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ospf mpls-te to display TE LSAs in the link state database (LSDB).

Examples

# Display all TE LSAs in the LSDB.

<Sysname> display ospf mpls-te

OSPF Process 100 with Router ID 10.0.0.1

Area ID:

 Traffic Engineering LSA’s of the database

------------------------------------------------

 LSA []

 ------------------------------------------------

   LSA  Type                 : Opq-Area

   Opaque Type              : 1

   Opaque ID                :

   Advertising Router ID  : xxx.xxx.xxx.xxx

   LSA  Age                 :

   Length                   :

   LSA  Options             :

   LS Seq Number            :

   CheckSum                 :

  

   Link Type               :Point to Point / Point to Multi Point /MultiAccess

   Link ID                  :

   Local Interface Address  : xxx.xxx.xxx.xxx

   Remote Interface Address : xxx.xxx.xxx.xxx

   TE Metric                :

   Maximum Bandwidth        :  bytes/sec

   Maximum Reservable BW    :  bytes/sec

   Admin Group              :

  

   Unreserved Bandwidth for each TE Class:

       Unreserved BW [ 0] =   0  bytes/sec

       Unreserved BW [ 1] =   0  bytes/sec

       Unreserved BW [ 2] =   0  bytes/sec

       Unreserved BW [ 3] =   0  bytes/sec

       Unreserved BW [ 4] =   0  bytes/sec

       Unreserved BW [ 5] =   0  bytes/sec

       Unreserved BW [ 6] =   0  bytes/sec

       Unreserved BW [ 7] =   0  bytes/sec

       Unreserved BW [ 8] =   0  bytes/sec

       Unreserved BW [ 9] =   0  bytes/sec

       Unreserved BW [10] =   0  bytes/sec

       Unreserved BW [11] =   0  bytes/sec

       Unreserved BW [12] =   0  bytes/sec

       Unreserved BW [13] =   0  bytes/sec

       Unreserved BW [14] =   0  bytes/sec

       Unreserved BW [15] =   0  bytes/sec

 

   Bandwidth Constraints:

       BC [ 0] =   bytes/sec

       BC [ 1] =   bytes/sec

Table 33 Command output

Field

Description

Area ID

TE enabled OSPF area ID.

LSA Type

LSA type which must be Opd-Area, carried in the Opaque LSA header.

Opaque Type

1 for TE, carried in the header of Opaque LSA.

Opaque ID

Opaque ID, carried in the header of Opaque LSA.

Advertising Router ID

Router ID of the node where the LSA was generated.

LSA age

LSA age, carried in  the header of Opaque LSA.

Length

LSA length, carried in the header of Opaque LSA.

LSA Options

LSA options, carried in the header of Opaque LSA.

LS Seq Number

LSA sequence number, carried in the header of Opaque LSA.

Checksum

LSA checksum, carried in the header of Opaque LSA.

Link Type

Link type: point to point, point to multipoint, or multiAccess.

Admin Group

Administrative group attribute.

Unreserved Bandwidth for each TE Class

Reservable bandwidth for each TE class.

Unreserved BW [0] to [15]

Available bandwidths of the 16 TE classes.

Bandwidth Constraints

Bandwidth constraints (only significant for DS-TE LSAs)

BC 0–1

Two types of bandwidth constraints (only significant for DS-TE LSAs): BC0 and BC1.

 

display ospf traffic-adjustment

Syntax

display ospf [ process-id ] traffic-adjustment [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

process-id: OSPF process ID in the range of 1 to 65535.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ospf traffic-adjustment to display the settings of tunnel traffic adjustment (IGP shortcut and forwarding adjacency) for a specific OSPF process or for all OSPF processes.

Examples

# Display the settings of tunnel traffic adjustment for all OSPF processes.

<Sysname> display ospf traffic-adjustment

OSPF Process 100 with Router ID 100.0.0.1

Traffic adjustment

Interface: 100.0.0.1 (Tunnel1)

     Type: Forwarding Adjacency  State: Up

     Neighbor ID: 100.0.0.2   Cost: 100 

     Configuration:

     Neighbor Ip Address: 100.0.0.2

     Cost               : -10

     Cost Type          : Relative

     Hold time          : 10s

Table 34 Command output

Field

Description

Interface

Tunnel interface address and name.

Type

Approach to automatic route advertisement: IGP shortcut or forwarding adjacency.

Neighbor ID

Remote neighbor ID.

State

State: up or down.

 

display tunnel-info

Syntax

display tunnel-info { tunnel-id | all | statistics } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

tunnel-id: Specifies a tunnel ID in the range of 1 to FFFFFFFE. If a tunnel is specified, only information about this tunnel will be displayed.

all: Display information about all tunnels.

statistics: Displays statistics about tunnels.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display tunnel-info to display information about tunnels.

Examples

# Display information about all tunnels.

<Sysname> display tunnel-info all

Tunnel ID           Type              Destination                              

------------------------------------------------------                         

0x1100002           lsp               2.2.2.2

# Display statistics about tunnels.

<Sysname> display tunnel-info statistics

Tunnel Allocation Method :    GLOBAL

Avail Tunnel ID Value :       65535

                                                                               

Total Tunnel ID Allocated :   1

LSP :                         1

GRE :                         0

CRLSP :                       0

LOCAL IFNET :                 0

MPLS LOCAL IFNET :            0

Table 35 Command output

Field

Description

Tunnel Allocation Method

The way that tunnels are allocated.

Avail Tunnel ID Value

Available tunnel ID.

Total Tunnel ID Allocated

Total number of tunnel IDs that have been allocated.

LSP

Number of LSP tunnels.

GRE

Number of GRE tunnels.

CRLSP

Number of CR-LSP tunnels.

LOCAL IFNET

Number of CE-side interfaces in MPLS L2VPN.

MPLS LOCAL IFNET

Number of outgoing interfaces in CCC remote mode in MPLS L2VPN.

 

enable traffic-adjustment

Syntax

enable traffic-adjustment

undo enable traffic-adjustment

View

OSPF view

Default level

2: System level

Parameters

None

Description

Use enable traffic-adjustment to enable IGP shortcut.

Use undo enable traffic-adjustment to disable IGP shortcut.

By default, IGP shortcut is disabled.

IGP shortcut allows OSPF to include static LSP tunnels in SPF calculation and advertise them to OSPF neighbors.

Examples

# Enable IGP shortcut when the IGP protocol is OSPF.

<Sysname> system-view

[Sysname] ospf 100

[Sysname-ospf-100] enable traffic-adjustment

enable traffic-adjustment advertise

Syntax

enable traffic-adjustment advertise

undo enable traffic-adjustment advertise

View

OSPF view

Default level

2: System level

Parameters

None

Description

Use enable traffic-adjustment advertise to enable forwarding adjacency.

Use undo enable traffic-adjustment advertise to disable forwarding adjacency.

By default, forwarding adjacency is disabled.

Forwarding adjacency allows OSPF to include static LSP tunnels in SPF calculation and flooding.

Examples

# Enable forwarding adjacency when the IGP protocol is OSPF.

<Sysname> system-view

[Sysname] ospf 100

[Sysname-ospf-100] enable traffic-adjustment advertise

explicit-path

Syntax

explicit-path path-name [ disable | enable ]

undo explicit-path path-name

View

System view

Default level

2: System level

Parameters

path-name: Name of an explicit path for a tunnel, a string of 1 to 31 characters.

disable: Disables explicit routing.

enable: Enables explicit routing.

Description

Use explicit-path to create an explicit path and enter its view.

Use undo explicit-path to remove an explicit path.

Examples

# Create an explicit path named path1 and enter its view.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1]

list hop

Syntax

list hop [ ip-address ]

View

Explicit path view

Default level

2: System level

Parameters

ip-address: Specifies the IP address of a node on the explicit path. If no IP address is specified, this command displays information about all the nodes on the explicit path.

Description

Use list hop to display information about a node or all nodes on the explicit path.

Examples

# Display information about all nodes on an MPLS TE explicit path.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] list hop

Path Name :   path1        Path Status :  Enabled

1             1.1.1.9      Strict         Include

2             2.2.2.9      Strict         Exclude

modify hop

Syntax

modify hop ip-address1 ip-address2 [ include [ loose | strict ] | exclude ]

View

Explicit path view

Default level

2: System level

Parameters

ip-address1 ip-address2: Substitutes the IP address specified by the ip-address2 argument for the IP address specified by the ip-address1 argument in the explicit path. The specified IP addresses could be link IP addresses or router IDs of nodes.

include: Includes the node ip-address2 on the explicit path.

loose: Specifies the node ip-address2 as a loose node, which means that ip-address2 and its previous hop can be connected indirectly.

strict: Specifies the node ip-address2 as a strict node, which means that ip-address2 and its previous hop must be connected directly.

exclude: Excludes the node ip-address2 from path calculations for the explicit path.

Description

Use modify hop to change a node on the explicit path, including the node’s IP address and other attributes (include or exclude, strict or loose).

·     If you specify neither include nor exclude, the include keyword is used by default.

·     If you specify neither loose nor strict, the strict keyword is used by default.

Examples

# Replace IP address 10.0.0.125 with IP address 10.0.0.200 for the explicit path path1 and exclude this new IP address from path calculations.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] modify hop 10.0.0.125 10.0.0.200 exclude

mpls rsvp-te

Syntax

mpls rsvp-te

undo mpls rsvp-te

View

MPLS view, interface view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te to enable RSVP-TE.

Use undo mpls rsvp-te to disable RSVP-TE.

By default, RSVP-TE is disabled.

You must enable RSVP-TE before you can configure other RSVP-TE features.

Before enabling RSVP-TE in MPLS view on a node, enable MPLS in system view and MPLS TE in MPLS view.

Before enabling RSVP-TE in interface view, enable MPLS and MPLS TE in interface view.

Disabling RSVP-TE in MPLS view disables RSVP-TE on interfaces.

Examples

# Enable RSVP-TE on current node.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te

[Sysname-mpls] mpls rsvp-te

# Enable RSVP-TE on VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls

[Sysname-Vlan-interface1] mpls te

[Sysname-Vlan-interface1] mpls rsvp-te

mpls rsvp-te authentication

Syntax

mpls rsvp-te authentication { cipher | plain } auth-key

undo mpls rsvp-te authentication

View

Interface view

Default level

2: System level

Parameters

cipher: Specifies a ciphertext key. This key will be displayed in cipher text.

plain: Specifies a plaintext key. This key will be displayed in cipher text.

auth-key: Specifies the key string. This argument is case sensitive. If the cipher keyword is specified, it must be a ciphertext string of 8 to 53 characters. If the plain keyword is specified, it is a plaintext string of 8 to 16 characters.

Description

Use mpls rsvp-te authentication to enable RSVP authentication on the interface.

Use undo mpls rsvp-te authentication to disable RSVP authentication on the interface.

By default, RSVP authentication is disabled.

The RSVP messages sent out of the interface convey a message authentication digest created using the hash algorithm and the configured authentication key. This authentication key is also used by the interface to authenticate received RSVP messages. For the two interfaces at the two ends of a link to exchange RSVP messages, they must share the same authentication key.

This hop-by-hop authentication of RSVP prevents fake resource reservation requests from occupying network resources.

Examples

# Enable RSVP authentication on VLAN-interface 1, and configure a plaintext the authentication key of userkey1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls rsvp-te authentication plain userkey1

mpls rsvp-te bfd enable

Syntax

mpls rsvp-te bfd enable

undo mpls rsvp-te bfd enable

View

Interface view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te bfd enable on an RSVP-TE enabled interface to enable BFD for link detection.

Use undo mpls rsvp-te bfd enable to disable BFD on an RSVP-TE enabled interface.

By default, BFD for link detection is not enabled on an RSVP-TE enabled interface.

Before enabling BFD for link detection on an interface, make sure that the interface is enabled with RSVP-TE.

Examples

# Enable BFD link detection on RSVP-TE enabled interface VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] mpls rsvp-te bfd enable

mpls rsvp-te blockade-multiplier

Syntax

mpls rsvp-te blockade-multiplier number

undo mpls rsvp-te blockade-multiplier

View

MPLS view

Default level

2: System level

Parameters

number: Blockade multiplier in the range of 3 to 255.

Description

Use mpls rsvp-te blockade-multiplier to configure the blockade multiplier, which determines the timeout time of blockade state.

Use undo mpls rsvp-te blockade-multiplier to restore the default.

The default blockade multiplier is 4.

Sometimes, although a reservation request does not pass admission control on some node, you might want to store the resource reservation state for it while allowing other requests to use the resources reserved for the request. In this case, the node transits to the blockade state and a blockade state block (BSB) is created on each downstream node. When the number of non-refreshing times exceeds the blockade multiplier, the blockade state is removed. The blockade state timeout time is blockade multiplier × refresh-time. The refresh time is the refresh interval of the path/reservation messages.

Enable RSVP-TE before configuring this command.

Related commands: mpls rsvp-te timer refresh.

Examples

# Set the blockade multiplier to 5.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te blockade-multiplier 5

mpls rsvp-te graceful-restart

Syntax

mpls rsvp-te graceful-restart

undo mpls rsvp-te graceful-restart

View

MPLS view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te graceful-restart to enable the GR capability for MPLS RSVP-TE.

Use undo mpls rsvp-te graceful-restart to disable MPLS RSVP-TE GR.

By default, GR capability is disabled for MPLS RSVP-TE.

Enable RSVP-TE hello extension before enabling RSVP-TE GR.

Examples

# Enable MPLS RSVP-TE GR.

<Sysname> system-view

[Sysname] mpls lsr-id 1.1.1.1

[Sysname] mpls

[Sysname-mpls] mpls te

[Sysname-mpls] mpls rsvp-te

[Sysname-mpls] mpls rsvp-te hello

[Sysname-mpls] mpls rsvp-te graceful-restart

mpls rsvp-te hello

Syntax

mpls rsvp-te hello

undo mpls rsvp-te hello

View

MPLS view, interface view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te hello to enable RSVP hello extension.

Use undo mpls rsvp-te hello to disable RSVP hello extension.

By default, RSVP hello extension is disabled.

RSVP-TE uses the hello extension mechanism to check the reachability of an RSVP neighbor.

Before you enable RSVP hello extension in interface view, enable RSVP-TE in interface view and RSVP hello extension in MPLS view.

Examples

# Enable RSVP hello extension in MPLS view.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te hello

# Enable RSVP hello extension on VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls rsvp-te hello

mpls rsvp-te hello-lost

Syntax

mpls rsvp-te hello-lost times

undo mpls rsvp-te hello-lost

View

MPLS view

Default level

2: System level

Parameters

times: Maximum number of consecutive hello losses before an RSVP neighbor is considered dead, in the range of 3 to 10.

Description

Use mpls rsvp-te hello-lost to configure the maximum number of consecutive hello losses before an RSVP neighbor is considered dead.

Use undo mpls rsvp-te hello-lost to restore the default.

By default, the RSVP node considers an RSVP neighbor to be dead if no response is received after sending three consecutive hellos.

An RSVP node detects whether its RSVP neighbor is still alive by sending hellos regularly. If no response is received after the number of consecutive hellos reaches the specified limit, the RSVP node considers its RSVP neighbor as dead. The failure is handled the same as a link layer communication failure.

Before configuring this command, enable RSVP-TE and RSVP hello extension in MPLS view.

Related commands: mpls rsvp-te timer hello.

Examples

# Set the maximum number of consecutive hello losses allowed on a node to 5.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te hello-lost 5

mpls rsvp-te keep-multiplier

Syntax

mpls rsvp-te keep-multiplier number

undo mpls rsvp-te keep-multiplier

View

MPLS view

Default level

2: System level

Parameters

number: Keep multiplier in the range of 3 to 255.

Description

Use mpls rsvp-te keep-multiplier to configure the keep multiplier, which determines the timeout time of the path state block (PSB) and reservation state block (RSB).

Use undo mpls rsvp-te keep-multiplier to restore default.

The default keep multiplier is 3.

The PSB and RSB timeout time is (keep-multiplier + 0.5) × 1.5 × refresh-time.

Before you configure the keep multiplier, enable RSVP-TE.

Related commands: mpls rsvp-te timer refresh.

Examples

# Set the keep multiplier for PSB and RSB to 5.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te keep-multiplier 5

mpls rsvp-te reliability

Syntax

mpls rsvp-te reliability

undo mpls rsvp-te reliability

View

Interface view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te reliability to enable the RSVP reliability mechanism.

Use undo mpls rsvp-te reliability to disable the RSVP reliability mechanism.

By default, the RSVP reliability mechanism is disabled.

With RSVP reliability enabled, the switch adds objects Message_ID and Message_ID_ACK into the outgoing RSVP messages. The objects will be used for RSVP message acknowledgment to improve reliability.

Examples

# Enable the RSVP reliability mechanism on VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls rsvp-te reliability

mpls rsvp-te resvconfirm

Syntax

mpls rsvp-te resvconfirm

undo mpls rsvp-te resvconfirm

View

MPLS view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te resvconfirm to enable reservation confirmation on the current node.

Use undo mpls rsvp-te resvconfirm to disable reservation confirmation.

By default, resource reservation confirmation is disabled.

When the reservation confirmation mechanism is enabled on a node, a Resv message sent by the node carries an object that requires reservation confirmation. The node that receives the Resv message must send back a ResvConf message to confirm the reservation.

Examples

# Enable reservation confirmation on your device.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te resvconfirm

mpls rsvp-te srefresh

Syntax

mpls rsvp-te srefresh

undo mpls rsvp-te srefresh

View

Interface view

Default level

2: System level

Parameters

None

Description

Use mpls rsvp-te srefresh to enable summary refresh.

Use undo mpls rsvp-te srefresh to restore the default.

By default, summary refresh is disabled.

Summary refresh (Srefresh) messages refresh path state and reservation state. Enabling summary refresh disables conventional time-driven state refresh.

Examples

# Enable summary refresh on VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls rsvp-te srefresh

mpls rsvp-te timer graceful-restart recovery

Syntax

mpls rsvp-te timer graceful-restart recovery recovery-time

undo mpls rsvp-te timer graceful-restart recovery

View

MPLS view

Default level

2: System level

Parameters

recovery-time: RSVP-TE GR recovery interval in seconds, in the range of 60 to 300.

Description

Use mpls rsvp-te timer graceful-restart recovery to set the RSVP-TE GR recovery interval.

Use undo mpls rsvp-te timer graceful-restart recovery to restore the default.

By default, the RSVP-TE GR recovery interval is 300 seconds.

Before using this command, enable the GR capability for MPLS RSVP-TE.

Examples

# Set the RSVP-TE GR recovery interval to 100 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te timer graceful-restart recovery 100

mpls rsvp-te timer graceful-restart restart

Syntax

mpls rsvp-te timer graceful-restart restart restart-time

undo mpls rsvp-te timer graceful-restart restart

View

MPLS view

Default level

2: System level

Parameters

restart-time: RSVP-TE GR restart interval in seconds, in the range of 60 to 300.

Description

Use mpls rsvp-te timer graceful-restart restart to set the RSVP-TE GR restart interval.

Use undo mpls rsvp-te timer graceful-restart restart to restore the default.

By default, the RSVP-TE GR restart interval is 120 seconds.

Before using this command, be sure to enable the GR capability for MPLS RSVP-TE.

Examples

# Set the RSVP-TE GR restart interval to 200 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te timer graceful-restart restart 200

mpls rsvp-te timer hello

Syntax

mpls rsvp-te timer hello timevalue

undo mpls rsvp-te timer hello

View

MPLS view

Default level

2: System level

Parameters

timevalue: Hello interval in the range of 1 to 60 seconds.

Description

Use mpls rsvp-te timer hello to configure the hello interval.

Use undo mpls rsvp-te timer hello to restore the default.

The default hello interval is three seconds.

Before configuring this command, enable the hello mechanism in MPLS view.

Related commands: mpls rsvp-te hello and mpls rsvp-te hello-lost.

Examples

# Set the hello interval to 5 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te timer hello 5

mpls rsvp-te timer refresh

Syntax

mpls rsvp-te timer refresh timevalue

undo mpls rsvp-te timer refresh

View

MPLS view

Default level

2: System level

Parameters

timevalue: Refresh interval in the range of 10 to 65535 seconds.

Description

Use mpls rsvp-te timer refresh to configure the path/reservation state refresh interval.

Use undo mpls rsvp-te timer refresh to restore the default.

The default path/reservation state refresh interval is 30 seconds.

Related commands: mpls rsvp-te keep-multiplier.

Examples

# Set the path/reservation state refresh interval to 60 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls rsvp-te timer refresh 60

mpls rsvp-te timer retransmission

Syntax

mpls rsvp-te timer retransmission { increment-value [ increment-value ] | retransmit-value [ retrans-timer-value ] } *

undo mpls rsvp-te timer retransmission

View

Interface view

Default level

2: System level

Parameters

increment-value increment-value: Increment value delta in the range of 1 to 10. The default is 1.

retransmit-value retrans-timer-value: Initial retransmission interval in the range of 500 to 3000 milliseconds. The default is 500 milliseconds.

Description

Use mpls rsvp-te timer retransmission to enable RSVP message retransmission.

Use undo mpls rsvp-te timer retransmission to restore the default.

By default, RSVP message retransmission is disabled.

If a node sends a message carrying the Message_ID object, and the ACK_Desired flag in the object is set, the node expects a response that carries the Message_ID_ACK object during the initial retransmission interval (Rf). If the node does not receive the response within the Rf interval, it resends the message and sets the retransmission interval to (1+Delta) × Rf. The node repeats such retransmissions until it receives the corresponding response within the retransmission time or the number of retransmission attempts reaches the limit.

The initial value of the retransmission time is specified by retrans-timer-value, and the delta value is specified by increment-value in this command.

Examples

# Enable RSVP message retransmission on VLAN-interface 1, setting the increment value delta to 2 and the initial retransmission interval to 1000 milliseconds.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls rsvp-te timer retransmission increment-value 2 retransmit-value 1000

mpls te

Syntax

mpls te

undo mpls te

View

MPLS view, interface view

Default level

2: System level

Parameters

None

Description

Use mpls te to enable MPLS TE.

Use undo mpls te to disable MPLS TE.

By default, MPLS TE is disabled.

When performed in MPLS view, the mpls te command enables MPLS TE globally and its undo form disables MPLS TE and removes all CR-LSPs.

When performed in interface view, the mpls te command enables MPLS TE on an interface and its undo form disables MPLS TE and removes all CR-LSPs on the interface.

Enable MPLS TE globally before you enable MPLS TE on an interface.

 

CAUTION

CAUTION:

After changing the MTU of an interface where MPLS TE is enabled, perform the shutdown command and then the undo shutdown command to refresh the TE tunnels on it.

 

Examples

# Enable MPLS TE globally in MPLS view.

<Sysname> system-view

[Sysname] mpls lsr-id 1.1.1.9

[Sysname] mpls

[Sysname-mpls] mpls te

# Enable MPLS TE on VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls

[Sysname-Vlan-interface1] mpls te

mpls te affinity property

Syntax

mpls te affinity property properties [ mask mask-value ]

undo mpls te affinity property

View

Tunnel interface view

Default level

2: System level

Parameters

properties: Link properties affinity attribute of the tunnel, a 32-bit integer in the range of 0x0 to 0xFFFFFFFF. Each affinity bit represents a property with a value of 1 or 0.

mask-value: 32-bit mask comprising 0s and 1s, in the range of 0x0 to 0xFFFFFFFF. This mask is used when ANDing the link affinity attribute with the link administrative group attribute. The affinity bits corresponding to the 1s in the mask are "do care" bits which must be considered; those corresponding to the 0s in the mask are "don't care" bits.

Description

Use mpls te affinity property to configure the link affinity attribute of the tunnel.

Use undo mpls te affinity property to restore the default.

The default affinity attribute of the tunnel is 0x00000000 and the mask is 0x00000000.

The affinity attribute of an MPLS TE tunnel identifies the properties of the links that the tunnel can use.

Related commands: mpls te link administrative group.

Examples

# Configure the link affinity attribute of tunnel 1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te affinity property 101 mask 303

mpls te backup

Syntax

mpls te backup { hot-standby | ordinary }

undo mpls te backup

View

Tunnel interface view

Default level

2: System level

Parameters

hot-standby: Sets the tunnel backup mode to hot backup. In this mode, a backup CR-LSP is established immediately after the primary CR-LSP is established. When the primary CR-LSP fails, MPLS TE immediately switches services to the backup CR-LSP.

ordinary: Sets the tunnel backup mode to ordinary backup. In this mode, a backup CR-LSP is established only when the primary CR-LSP fails.

Description

Use mpls te backup to enable specified backup mode for the current tunnel.

Use undo mpls te backup to restore the default.

By default, tunnel backup is disabled.

 

 

NOTE:

·     With backup enabled, the record route flag is automatically set to record reroute regardless of whether the mpls te record-route command is configured.

·     The mpls te backup command cannot be used together with these commands: mpls te reoptimization, and mpls te resv-style ff.

 

Examples

# Enable hot backup for Tunnel1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te backup hot-standby

mpls te backup bandwidth

Syntax

mpls te backup bandwidth { bandwidth | { ct0 | ct1 | ct2 | ct3 } { bandwidth | un-limited } }

undo mpls te backup bandwidth

View

Tunnel interface view

Default level

2: System level

Parameters

bandwidth: Total bandwidth that the bypass tunnel can protect, in the range of 1 to 32000000 kbps.

ct0: Indicates that only the LSPs of CT 0 can use the bypass tunnel.

ct1: Indicates that only the LSPs of CT 1 can use the bypass tunnel.

ct2: Indicates that only the LSPs of CT 2 can use the bypass tunnel.

ct3: Indicates that only the LSPs of CT 3 can use the bypass tunnel.

un-limited: Puts on limit on total protected bandwidth.

Description

Use mpls te backup bandwidth to configure the total bandwidth and type of LSP that the bypass tunnel can protect.

Use undo mpls te backup bandwidth to remove the configuration.

By default, bypass tunnels do not protect bandwidth.

If no CT is specified, all LSPs can use the bypass tunnel.

The bandwidth value specified with this command is used for only calculating and determining the bandwidth protection relationship. No bandwidth will be reserved in the bypass tunnel.

The specified bandwidth value must be less than the actual bandwidth of the bypass tunnel. Otherwise, the bypass tunnel might be overwhelmed after FRR switchover, causing the protected tunnel to be torn down.

Examples

# Configure Tunnel1 to provide protection for LSPs of CT 0 without constraining the bandwidth to be protected. Configure Tunnel2 to provide protection for LSPs of CT 1 and protect up to 1000 kbps bandwidth.

<Sysname> system-view

[Sysname] interface Tunnel 1

[Sysname-Tunnel1] mpls te backup bandwidth ct0 un-limited

[Sysname-Tunnel1] quit

[Sysname] interface tunnel 2

[Sysname-Tunnel2] mpls te backup bandwidth ct1 1000

mpls te bandwidth change thresholds

Syntax

mpls te bandwidth change thresholds { down | up } percent

undo mpls te bandwidth change thresholds { down | up }

View

Interface view

Default level

2: System level

Parameters

down: Sets the threshold in percentages for IGP to flood when the bandwidth is decreasing. When the percentage of available bandwidth decrease exceeds the threshold, the change is flooded and the traffic engineering database (TEDB) is updated.

up: Sets the IGP flooding threshold in percentages that applies when the bandwidth is increasing. When the percentage of available bandwidth increase exceeds the threshold, the change is flooded and the TEDB is updated.

percent: IGP flooding threshold in percentages, in the range of 0 to 100.

Description

Use mpls te bandwidth change thresholds to set the IGP flooding thresholds that apply when bandwidth resources are increasing and decreasing.

Use undo mpls te bandwidth change thresholds to restore the default.

The default IGP flooding thresholds in both up and down directions are 10.

Examples

# On VLAN-interface 1 configure IGP to flood when the percentage of available bandwidth decrease reaches 100%.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls te bandwidth change thresholds down 100

mpls te bfd enable

Syntax

mpls te bfd enable [ discriminator local local-id remote remote-id ]

undo mpls te bfd enable

View

Tunnel interface view

Default level

2: System level

Parameters

discriminator: Specifies the discriminator values of the BFD session.

local local-id: Specifies the local discriminator value of the BFD session, in the range of 1 to 512.

remote remote-id: Specifies the remote discriminator value of the BFD session, in the range of 1 to 4294967295.

Description

Use mpls te bfd enable to configure BFD to check the connectivity of the MPLS TE tunnel.

Use undo mpls te bfd enable to disable BFD for the MPLS TE tunnel of a TE tunnel interface.

By default, BFD is not configured for MPLS TE tunnels.

Enable LSP verification by using the mpls lspv command first before executing the mpls te bfd enable command. For details of the mpls lspv command, see "Basic MPLS commands."

BFD session parameters are those configured on the TE tunnel interface. The source address of the BFD session is the MPLS LSR ID. Before enabling BFD for an MPLS TE tunnel, make sure that a route is available on the peer device to the MPLS LSR ID. You can also configure the BFD session parameters on the tunnel interface as needed. For information about BFD parameter configuration, see High Availability Configuration Guide.

Examples

# Enable BFD for the MPLS TE tunnel on tunnel interface Tunnel1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te bfd enable

mpls te commit

Syntax

mpls te commit

View

Tunnel interface view

Default level

2: System level

Parameters

None

Description

Use mpls te commit to submit current MPLS TE tunnel configuration.

The MPLS TE tunnel configuration you made can take effect only after you perform this command.

Examples

# Configure an MPLS TE tunnel and submit the configuration.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] tunnel-protocol mpls te

[Sysname-Tunnel1] destination 2.2.2.9

[Sysname-Tunnel1] mpls te commit

mpls te cspf

Syntax

mpls te cspf

undo mpls te cspf

View

MPLS view

Default level

2: System level

Parameters

None

Description

Use mpls te cspf to enable CSPF.

Use undo mpls te cspf to disable CSPF.

By default, CSPF is disabled.

Before enabling CSPF, enable MPLS TE in MPLS view.

CSPF provides a method to path selection in MPLS domains. You must enable CSPF to establish an MPLS TE tunnel through dynamic signaling.

You must enable CSPF before configuring other CSPF related functions.

Examples

# Enable CSPF on the current node.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te cspf

mpls te cspf timer failed-link

Syntax

mpls te cspf timer failed-link timer-interval

undo mpls te cspf timer failed-link

View

MPLS view

Default level

2: System level

Parameters

timer-interval: Value of the failed link timer, in the range of 0 to 300 seconds. The default is 10 seconds.

Description

Use mpls te cspf timer failed-link to configure the failed link timer.

Use undo mpls te cspf timer failed-link to restore the default.

By default, the failed link timer is 10 seconds.

The failed link timer starts once a link goes down. If the IGP removes or modifies the link before the timer expires, CSPF updates information about the link in TEDB and stops the timer. If the IGP does not remove or modify the link before the timer expires, the state of the link in TEDB will change to up.

Related commands: mpls te cspf.

Examples

# Set the failed link timer to 50 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te cspf timer failed-link 50

mpls te failure-action teardown

Syntax

mpls te failure-action teardown

undo mpls te failure-action teardown

View

Tunnel interface view

Default level

2: System level

Parameters

None

Description

Use mpls te failure-action teardown to enable the capability of tearing down a failed RSVP TE tunnel and then re-establishing it.

Use undo mpls te failure-action teardown to disable the capability.

By default, this capability is disabled.

With this capability configured, after BFD or periodic LSP tracert detects a failure of an RSVP-TE tunnel, if RSVP does not re-establish the RSVP-TE tunnel within a specific period of time, MPLS TE will remove the tunnel and re-establish it.

Examples

# On tunnel interface Tunnel1, enable the capability of tearing down a failed MPLS TE tunnel and then re-establishing the tunnel.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te failure-action teardown

mpls te fast-reroute

Syntax

mpls te fast-reroute

undo mpls te fast-reroute

View

Tunnel interface view

Default level

2: System level

Parameters

None

Description

Use mpls te fast-reroute to enable fast reroute (FRR).

Use undo mpls te fast-reroute to disable FRR.

By default, FRR is disabled.

After FRR is enabled, the record route flag is automatically set to record reroute with label, whether the mpls te record-route label command is configured or not.

Disable FRR before configuring the mpls te record-route command or its undo form.

 

 

NOTE:

Fast reroute cannot be used together with the mpls te resv-style ff command.

 

Examples

# Enable FRR for MPLS TE tunnel interface Tunnel1, so the MPLS TE tunnel uses an available bypass tunnel in case the protected link or node that it traverses fails.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te fast-reroute

mpls te fast-reroute bypass-tunnel

Syntax

mpls te fast-reroute bypass-tunnel tunnel tunnel-number

undo mpls te fast-reroute bypass-tunnel tunnel tunnel-number

View

Interface view

Default level

2: System level

Parameters

tunnel tunnel-number: Specifies a bypass tunnel by its tunnel number.

Description

Use mpls te fast-reroute bypass-tunnel to specify a bypass tunnel for the protected interface.

Use undo mpls te fast-reroute bypass-tunnel to remove the specified bypass tunnel.

You can specify multiple bypass tunnels for the protected interface. A maximum of three bypass tunnels can be specified for a protected interface.

When specifying a bypass tunnel, consider the following:

·     The state of the tunnel must be up.

·     The protected interface is not the outgoing interface in the route entries for the LSP of the bypass tunnel.

 

 

NOTE:

A bypass tunnel cannot be used for services like VPN.

 

Examples

# Use tunnel interface Tunnel1 as the bypass tunnel to protect the link connected to VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls te fast-reroute bypass-tunnel tunnel 1

mpls te igp advertise

Syntax

mpls te igp advertise [ hold-time value ]

undo mpls te igp advertise

 View

Tunnel interface view

Default level

2: System level

Parameters

hold-time value: Sets the delay that IGP waits to notify IGP neighbors of the down event of the TE tunnel. It is in the range of 0 to 4294967295 milliseconds. The default is 0 milliseconds.

Description

Use mpls te igp advertise to enable IGP to advertise the MPLS TE tunnel as a link to IGP neighbors.

Use undo mpls te igp advertise to remove the configuration.

By default, IGP does not advertise MPLS TE tunnels to IGP neighbors.

 

 

NOTE:

The mpls te igp advertise command cannot be used together with the mpls te igp shortcut command.

 

 Examples

# Set the hold time to 10000 milliseconds.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te igp advertise hold-time 10000

mpls te igp metric

Syntax

mpls te igp metric { absolute value | relative value }

undo mpls te igp metric

View

Tunnel interface view

Default level

2: System level

Parameters

absolute value: Assigns an absolute metric to the TE tunnel for path calculation. The value argument takes an integer in the range of 1 to 65535. This value is directly used for path calculation.

relative value: Assigns a relative metric to the TE tunnel for path calculation. The value argument takes an integer in the range of –10 to +10. The default is 0. The cost of the corresponding IGP path must be added to this relative metric before it can be used for path calculation.

Description

Use mpls te igp metric to assign a metric to the MPLS TE tunnel.

Use undo mpls te igp metric to restore the default.

By default, TE tunnels take their IGP metrics.

You can configure a metric, either absolute or relative, for a tunnel to be used as an IGP shortcut or a forwarding adjacency. If it is absolute, the metric is directly used for path calculation. If it is relative, the cost of the corresponding IGP path must be added to the metric for path calculation.

Examples

# Assign TE tunnel Tunnel1 a relative metric of –1 for path calculation in IGP shortcut or forwarding adjacency mechanism.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te igp metric relative -1

mpls te igp shortcut

Syntax

mpls te igp shortcut [ isis | ospf ]

undo mpls te igp shortcut

View

Tunnel interface view

Default level

2: System level

Parameters

isis: Sets the IGP protocol to IS-IS.

ospf: Sets the IGP protocol to OSPF.

Description

Use mpls te igp shortcut to enable IS-IS or OSPF to consider the MPLS TE tunnel in its enhanced SPF calculation when the tunnel is up. If no IGP protocol is specified, the command applies to both OSPF and IS-IS.

Use undo mpls te igp shortcut to restore the default.

By default, IGP does not consider MPLS TE tunnels in its enhanced SPF calculation.

 

 

NOTE:

The mpls te igp shortcut command cannot be used together with the mpls te igp advertise command.

 

Examples

# Enable OSPF and IS-IS to consider TE tunnel Tunnel1 in enhanced SPF calculation when the tunnel is up.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te igp shortcut

mpls te link administrative group

Syntax

mpls te link administrative group value

undo mpls te link administrative group

View

Interface view

Default level

2: System level

Parameters

value: Link administrative group attribute, in the range of 0x00000000 to 0xFFFFFFFF. It is a set of 32 link properties. Each bit represents a property with a value of 0 or 1. By ANDing the administrative group attribute bits with the corresponding link affinity attribute bits of an MPLS TE tunnel, MPLS TE identifies the properties of the links that the MPLS TE tunnel can use.

Description

Use mpls te link administrative group to configure the link administrative group attribute.

Use undo mpls te link administrative group to restore the default.

The default link administrative group attribute is 0x00000000.

The interface properties are propagated globally and are used for path selection at the tunnel ingress.

Related commands: mpls te affinity property.

Examples

# Assign VLAN-interface 1 the link administrative group attribute of 0x00000101.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls te link administrative group 101

mpls te loop-detection

Syntax

mpls te loop-detection

undo mpls te loop-detection

View

Tunnel interface view

Default level

2: System level

Parameters

None

Description

Use mpls te loop-detection to configure the node to perform loop detection when setting up the MPLS TE tunnel.

Use undo mpls te loop-detection to disable loop detection.

By default, a node does not perform loop detection when setting up a tunnel.

Examples

# Configure the node to perform loop detection when setting up TE tunnel Tunnel1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te loop-detection

mpls te metric

Syntax

mpls te metric value

undo mpls te metric

View

Interface view

Default level

2: System level

Parameters

value: TE metric of the link, in the range of 0 to 4294967295.

Description

Use mpls te metric to assign a TE metric to the link.

Use undo mpls te metric to restore the default.

By default, the link uses its IGP metric as its TE metric.

Related commands: mpls te path metric-type.

Examples

# Assign a TE metric of 20 to the link on VLAN-interface 1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] mpls te metric 20

mpls te path

Syntax

mpls te path { dynamic | explicit-path path-name } preference value

undo mpls te path { dynamic | explicit-path path-name }

View

Tunnel interface view

Default level

2: System level

Parameters

dynamic: Uses the path that is dynamically calculated.

explicit-path path-name: Uses an existing explicit path. The pathname argument is a case-insensitive string of 1 to 31 characters.

preference value: Specifies the preference of the path. The value argument is in the range of 1 to 10. A smaller value represents a higher preference.

Description

Use mpls te path to specify a path for the tunnel to use and set the preference of the path.

Use undo mpls te path to remove a path used by the tunnel.

By default, a tunnel uses the dynamically calculated path.

Up to 10 paths can be specified for an MPLS TE tunnel.

The paths for a tunnel to use must have different preferences.

A path with the highest preference is preferred for CSPF calculation.

Examples

# Configure interface Tunnel1 to use the explicit path path1 and the dynamically calculated path, setting the preferences of the paths to 1 and 2, respectively.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te path explicit-path path1 preference 1

[Sysname-Tunnel1] mpls te path dynamic preference 2

mpls te path metric-type

Syntax

mpls te path metric-type { igp | te }

undo mpls te path metric-type

View

MPLS view, tunnel interface view

Default level

2: System level

Parameters

igp: Uses the IGP metric for tunnel path calculation.

te: Uses the TE metric for tunnel path calculation.

Description

Use mpls te path metric-type in MPLS view to specify the link metric type for tunnel path calculation when a metric type was not explicitly configured for a tunnel.

Use mpls te path metric-type in tunnel interface view to specify the link metric type to be used for path calculation of the current tunnel.

Use undo mpls te path metric-type to restore the default. This undo form is only available in tunnel interface view.

In MPLS view, TE metrics of links are used in path calculation for TE tunnels by default.

In tunnel interface view, no link metric type is specified for path calculation by default.

 

 

NOTE:

A tunnel prefers the link metric type specified in the tunnel interface view. If no link metric type is specified in tunnel interface view, the configuration in MPLS view is used.

 

Related commands: mpls te metric.

Examples

In MPLS view:

# Configure TE tunnels that were not explicitly specified with a metric type to use the IGP metric for path calculation.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te path metric-type igp

In tunnel interface view:

# Configure Tunnel1 to use the IGP metric for path calculation.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te path metric-type igp

mpls te periodic-tracert

Syntax

mpls te periodic-tracert [ -a source-ip | -exp exp-value | -h ttl-value | -m wait-time | -t time-out | -u retry-attempt ] *

undo mpls te periodic-tracert

View

Tunnel interface view

Default level

2: System level

Parameters

-a source-ip: Specifies the source IP address of MPLS Echo Request messages. By default, the MPLS LSR ID is used as the source address of MPLS Echo Request messages.

-exp exp-value: Specifies the EXP value of the label. exp-value is in the range of 0 to 7 and defaults to 0.

-h ttl-value: Specifies the TTL value to be carried by an MPLS Echo Request message. ttl-number is in the range of 1 to 255 and defaults to 30.

-m wait-time: Specifies the interval for performing LSP tracert. wait-time is in the range of 15 to 120 and defaults to 60, in minutes.

-t time-out: Specifies the timeout time for waiting for the response of an MPLS Echo Request message. time-out is in the range of 0 to 65535 and defaults to 2000, in milliseconds.

-u retry-attempt: Specifies the maximum number of times that MPLS Echo Request messages can be sent if no response is received. retry-attempt is in the range of 1 to 9 and defaults to 3.

Description

Use mpls te periodic-tracert to enable periodic LSP tracert for the MPLS TE tunnels on a tunnel interface.

Use undo mpls te periodic-tracert to disable periodic LSP tracert for MPLS TE tunnels on a tunnel interface.

By default, periodic LSP tracert is disabled for MPLS TE tunnels.

The periodic LSP tracert function for an MPLS TE tunnel is for locating faults of the MPLS TE tunnel periodically. It detects the consistency of the forwarding and control plane and records detection results into logs. You can know whether an MPLS TE tunnel has failed by checking the logs.

If you configure BFD as well as periodical tracert for an MPLS TE tunnel, once the tracert function detects a data plane failure or an inconsistency between the data plane and control plane, the existing BFD session is deleted and a new BFD session is then re-established based on the control plane.

Enable LSP verification by using the mpls lspv command before executing the mpls te periodic-tracert command.

Examples

# Enable periodic LSP tracert for the MPLS TE tunnels on tunnel interface Tunnel1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te periodic-tracert

mpls te priority

Syntax

mpls te priority setup-priority [ hold-priority ]

undo mpls te priority

View

Tunnel interface view

Default level

2: System level

Parameters

setup-priority: Setup priority of the tunnel, in the range of 0 to 7. A lower numerical number represents a higher priority.

hold-priority: Holding priority of the tunnel, in the range of 0 to 7. A lower numerical number represents a higher priority. If not configured, it is the same as the setup priority.

Description

Use mpls te priority to assign a setup priority and holding priority to the MPLS TE tunnel.

Use undo mpls te priority to restore the default.

By default, both setup and holding priorities of TE tunnels are 7.

To avoid flapping caused by improper preemptions between TE tunnels, the setup priority of an MPLS TE tunnel should not be set higher than its holding priority.

Examples

# Set the setup and holding priorities to 1 for Tunnel1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te priority 1

mpls te protection tunnel

Syntax

mpls te protection tunnel tunnel-id [ holdoff holdoff-time | mode { non-revertive | revertive [ wtr wtr-time ] } ] *

undo mpls te protection tunnel

View

Tunnel interface view

Default level

2: System level

Parameters

tunnel-id: ID of the tunnel to be specified as the protection tunnel.

holdoff holdoff-time: Specifies the switching delay time. After detecting that the main tunnel fails, the switch will not switch data to the protection tunnel immediately but wait for a period of time (the holdoff time). If the protection tunnel keeps in no-defect state during this period of time, the switch will switch data to the protection tunnel. The holdoff-time is the holdoff time factor in the range of 0 to 20, and the default is to 0. Holdoff time = holdoff time factor × 500 milliseconds. Therefore, the maximum holdoff time is 10 seconds.

mode: Specifies the reverting mode, non-revertive or revertive. The default reverting mode is revertive.

non-revertive: Specifies the non-revertive mode, where data will not be switched back from the protection tunnel to the main tunnel even if the main tunnel recovers.

revertive: Specifies the revertive mode, where data will be switched back from the protection tunnel to the main tunnel when the main tunnel recovers.

wtr wtr-time: Specifies the reverting delay time, or, the time to wait before switching back to the main tunnel. wtr-time is the WTR time factor, which is in the range of 0 to 60 and defaults to 24. WTR time = WTR time factor × 30 seconds. Therefore, the default WTR time is 12 minutes.

Description

Use mpls te protection tunnel to configure a protection tunnel for the main tunnel. The main tunnel and its protection tunnel (also called "backup tunnel") form a tunnel protection group.

Use undo mpls te protection tunnel to remove the protection tunnel of a main tunnel.

By default, no protection tunnel is configured for the main tunnel.

Before configuring the mpls te protection tunnel command, execute the tunnel-protocol mpls te command in tunnel interface view.

The configured protection tunnel takes effect only after you execute the mpls te commit command in the tunnel interface view.

Because the bypass tunnel configured in TE FRR cannot be applied in VPN applications, do not configure a protection tunnel for the bypass tunnel of TE FRR.

Examples

# Configure a protection tunnel for tunnel 1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te protection tunnel 102 holdoff 20 mode revertive

wtr 30

[Sysname-Tunnel1] mpls te commit

mpls te protect-switch

Syntax

mpls te protect-switch { clear | force | lock | manual }

View

Tunnel interface view

Default level

2: System level

Parameters

clear: Clears all configured switching actions.

force: Forces data to travel on the backup LSP.

lock: Always uses the main LSP to transfer data.

manual: Switches data from the main LSP to the backup LSP.

Description

Use mpls te protect-switch to configure a switching action for a tunnel.

By default, no switching action is configured.

The following shows the priority of the externally configured switching actions and the signal fail switching, in the descending order:

·     Clear

·     Lockout of protection

·     Signal fail of the backup LSP

·     Forced switch

·     Signal fail of the main LSP

·     Signal clear

·     Manual switch

Examples

# Specify to always use the main LSP to transfer data.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te protect-switch lock

mpls te record-route

Syntax

mpls te record-route [ label ]

undo mpls te record-route

View

Tunnel interface view

Default level

2: System level

Parameters

label: Includes the record of labels in the route record.

Description

Use mpls te record-route to enable route recording or label recording for the tunnel.

Use undo mpls te record-route to restore the default.

By default, a tunnel does not support route recording or label recording.

Examples

# Enable route recording on MPLS TE tunnel 1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te record-route

mpls te reoptimization (tunnel interface view)

Syntax

mpls te reoptimization [ frequency seconds ]

undo mpls te reoptimization

View

Tunnel interface view

Default level

2: System level

Parameters

frequency seconds: Specifies reoptimization frequency in the range of 1 to 604800 seconds. The default is 3600 seconds, or 1 hour.

Description

Use mpls te reoptimization to enable reoptimization on the tunnel.

Use undo mpls te reoptimization to disable reoptimization on the tunnel.

Reoptimization is disabled by default.

 

 

NOTE:

The reoptimization function cannot be used together with these commands:

mpls te route-pinning, mpls te backup, and mpls te resv-style ff.

 

Examples

# Enable reoptimization, setting the reoptimization (automatic rerouting) frequency to 43200 seconds (12 hours).

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te reoptimization frequency 43200

mpls te reoptimization (user view)

Syntax

mpls te reoptimization

View

User view

Default level

2: System level

Parameters

None

Description

Use mpls te reoptimization to start reoptimizing all reoptimization-enabled TE tunnels.

Examples

# Start reoptimizing all reoptimization-enabled TE tunnels.

<Sysname> mpls te reoptimization

mpls te resv-style

Syntax

mpls te resv-style { ff | se }

undo mpls te resv-style

View

Tunnel interface view

Default level

2: System level

Parameters

ff: Sets the resource reservation style to fixed filter (FF).

se: Sets the resource reservation style to shared explicit (SE).

Description

Use mpls te resv-style to set the resource reservation style for the MPLS TE tunnel.

Use undo mpls te resv-style to restore the default.

The default resource reservation style is SE.

You can configure FF and SE only when the signaling protocol is set to RSVP-TE.

Examples

# Adopt the FF reservation style when setting up the CR-LSP tunnel.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te resv-style ff

mpls te retry

Syntax

mpls te retry times

undo mpls te retry

View

Tunnel interface view

Default level

2: System level

Parameters

times: Number of tunnel setup retries, in the range of 10 to 4294967295.

Description

Use mpls te retry to configure the maximum number of tunnel setup retries.

Use undo mpls te retry to restore the default.

The default maximum number of tunnel setup retries is 10.

You can configure the system to attempt setting up a tunnel multiple times until it is established successfully or until the number of attempts reaches the upper limit.

Related commands: mpls te timer retry.

Examples

# Set the maximum number of tunnel setup retries to 20.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te retry 20

mpls te route-pinning

Syntax

mpls te route-pinning

undo mpls te route-pinning

View

Tunnel interface view

Default level

2: System level

Parameters

None

Description

Use mpls te route-pinning to enable route pinning.

Use undo mpls te route-pinning to restore the default.

By default, route pinning is disabled.

 

 

NOTE:

The mpls te route-pinning command cannot be used together with the mpls te reoptimization command.

 

Examples

# Enable route pinning.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te route-pinning

mpls te signal-protocol

Syntax

mpls te signal-protocol { rsvp-te | static }

View

Tunnel interface view

Default level

2: System level

Parameters

rsvp-te: Sets the signaling protocol for MPLS TE tunnel establishment to RSVP-TE.

static: Sets up the tunnel using a static CR-LSP.

Description

Use mpls te signal-protocol to configure the signaling protocol for MPLS TE tunnel establishment.

The default signaling protocol for MPLS TE tunnel establishment is RSVP-TE.

 

CAUTION

CAUTION:

To use RSVP-TE as the signaling protocol for setting up the MPLS TE tunnel, you must enable both MPLS TE and RSVP-TE on the interface for the tunnel to use.

 

Examples

# Adopt RSVP-TE as the signaling protocol for establishing the MPLS TE tunnel Tunnel1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te signal-protocol rsvp-te

mpls te tie-breaking

Syntax

mpls te tie-breaking { least-fill | most-fill | random }

undo mpls te tie-breaking

View

MPLS view, tunnel interface view

Default level

2: System level

Parameters

least-fill: Selects a path with the least bandwidth usage ratio (the used bandwidth to the maximum reservable link bandwidth).

most-fill: Selects a path with the most bandwidth usage ratio (the used bandwidth to the maximum reserved bandwidth).

random: Selects a path randomly.

Description

Use mpls te tie-breaking to specify a tie breaker that a tunnel uses to select a path when multiple paths with the same metric are present.

Use undo mpls te tie-breaking to restore the default.

In MPLS view, the default tie breaker is random. In tunnel interface view, no tie breaker is specified by default.

 

 

NOTE:

·     A tunnel prefers the tie breaker specified in the tunnel interface view. If no tie breaker is specified in tunnel interface view, the tunnel uses the tie breaker specified in MPLS view to select a path.

·     The IETF DS-TE supports only random path selection.

 

Examples

# Configure tunnels to use the paths with the least bandwidth usage ratio.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te tie-breaking least-fill

# Configure tunnel interface Tunnel1 to use the path with the least bandwidth usage ratio.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te tie-breaking least-fill

mpls te timer fast-reroute

Syntax

mpls te timer fast-reroute [ seconds ]

undo mpls te timer fast-reroute

View

MPLS view

Default level

2: System level

Parameters

seconds: FRR polling timer setting for the point of local repair (PLR) to poll available bypass tunnels for the best one. It is in the range of 0 to 604800 seconds, with 0 disabling the PLR to poll available bypass tunnels regularly for the best one. The default is 300 seconds or 5 minutes.

Description

Use mpls te timer fast-reroute to set the FRR polling timer.

Use undo mpls te timer fast-reroute to restore the default setting.

The default FRR polling timer is 300 seconds.

Examples

# Set the FRR polling timer to 120 seconds or 2 minutes.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te timer fast-reroute 120

mpls te timer link-management periodic-flooding

Syntax

mpls te timer link-management periodic-flooding interval

undo mpls te timer link-management periodic-flooding

View

MPLS view

Default level

2: System level

Parameters

interval: Interval for advertising bandwidth, in the range of 0 to 3600, in seconds.

Description

Use mpls te timer link-management periodic-flooding to configure the interval for advertising updated bandwidth.

Use undo mpls te timer link-management periodic-flooding to restore the default.

By default, the bandwidth advertisement interval is 180 seconds.

The interval specified by this command is that at which the system will periodically advertise interface bandwidth if the bandwidth changes are within the specified threshold. Setting the interval to 0 means to disable the bandwidth advertisement function. The minimal valid interval is 30 seconds. If you set the interval to a value less than 30, the system will take 30 seconds as the interval. If you change the interval before the current interval elapses, the new setting will take effect. For example, if you set the interval to 30 seconds, and then, within 30 seconds, set the interval to 3600 seconds, the interval of 3600 seconds will take effect.

Examples

# Set the bandwidth advertising interval to 100 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te

[Sysname- mpls] mpls te timer link-management periodic-flooding 100

mpls te timer retry

Syntax

mpls te timer retry seconds

undo mpls te timer retry

View

Tunnel interface view

Default level

2: System level

Parameters

seconds: Interval for re-establishing the tunnel, in the range of 1 to 4294967295 seconds.

Description

Use mpls te timer retry to configure the interval for re-establishing the tunnel.

Use undo mpls te timer retry to restore the default.

The default interval for re-establishing a tunnel is 2 seconds.

Related commands: mpls te retry.

Examples

# Set the interval for re-establishing Tunnel1 to 20 seconds.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te timer retry 20

mpls te tunnel-id

Syntax

mpls te tunnel-id tunnel-id

View

Tunnel interface view

Default level

2: System level

Parameters

tunnel-id: Tunnel ID.

Description

Use mpls te tunnel-id to configure the tunnel ID.

Configure the tunnel ID before issuing the mpls te commit command for the first time. Otherwise, the tunnel cannot be created.

 

 

NOTE:

Once configured, a tunnel ID cannot be removed. To change a tunnel ID, remove the tunnel and then reconfigure the tunnel, giving it a new tunnel ID.

 

Examples

# Configure the tunnel ID as 100.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te tunnel-id 100

mpls te vpn-binding

Syntax

mpls te vpn-binding { acl acl-number | vpn-instance vpn-instance-name }

undo mpls te vpn-binding

View

Tunnel interface view

Default level

2: System level

Parameters

acl acl-number: Configures the MPLS TE tunnel to forward only VPN traffic that matches the specified ACL. The ACL number is in the range of 3000 to 3999.

vpn-instance vpn-instance-name: Configures the MPLS TE tunnel to forward only traffic of the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters.

Description

Use mpls te vpn-binding to define the traffic to be forwarded along the MPLS TE tunnel. You can specify the tunnel to forward only the VPN traffic that matches the specified ACL or forward only the traffic of the specified VPN.

Use undo mpls te vpn-binding to restore the default.

By default, no restriction is defined about what traffic can travel down a TE tunnel.

The switch selects a TE tunnel for forwarding VPN traffic in this order: the TE tunnel specified with an ACL, the TE tunnel specified with a VPN instance, the TE tunnel with no restriction on traffic to be forwarded. The switch does not perform load sharing over different types of TE tunnels.

Examples

# Configure tunnel interface Tunnel1 to forward only traffic of the VPN vpn1.

<Sysname> system-view

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te vpn-binding vpn-instance vpn1

# Configure tunnel interface Tunnel1 to forward only the VPN traffic that matches ACL 3001.

<Sysname> system-view

[Sysname] acl number 3001

[Sysname-acl-adv-3001] rule 0 permit ip vpn-instance vpn1

[Sysname-acl-adv-3001] quit

[Sysname] interface tunnel 1

[Sysname-Tunnel1] mpls te vpn-binding acl 3001

[Sysname-Tunnel1] mpls te commit

mpls-te

Syntax

mpls-te enable

undo mpls-te

View

OSPF area view

Default level

2: System level

Parameters

enable: Enables the MPLS TE capability in the OSPF area.

Description

Use mpls-te to enable the MPLS TE capability in the current OSPF area.

Use undo mpls-te to disable the MPLS TE capability in the current OSPF area.

By default, the MPLS TE capability is disabled in OSPF areas.

For an OSPF area to support the MPLS TE capability, its OSPF process must be available with the opaque LSA capability.

Related commands: opaque-capability.

Examples

# Enable the MPLS TE capability in OSPF area 1.

<Sysname> system-view

[Sysname] ospf 100

[Sysname-ospf-100] area 1

[Sysname-ospf-100-area-0.0.0.1] mpls-te enable

next hop

Syntax

next hop ip-address [ include [ loose | strict ] | exclude ]

View

Explicit path view

Default level

2: System level

Parameters

ip-address: Defines a node by its link IP address or router ID in dotted decimal notation. In the strict routing method, this IP address must be a link IP address. In the loose routing method, this IP address can be either a link IP address or a router ID.

include: Includes the specified IP address on the explicit path.

loose: Specifies the node as a loose node, which means that the ip-address and its previous hop can be connected indirectly.

strict: Specifies the node as a strict node, which means that the ip-address and its previous hop must be directly connected.

exclude: Excludes the specified IP address from the explicit path.

Description

Use next hop to define a node on the explicit path. By performing this command multiple times, you can define all nodes that the explicit path must traverse in sequence.

·     If you specify neither include nor exclude, the include keyword is used by default.

·     If you specify neither loose nor strict, the strict keyword is used by default.

Related commands: delete hop.

Examples

# Specify the switch to not consider the IP address 10.0.0.125 in path calculation for the explicit path path1.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] next hop 10.0.0.125 exclude

opaque-capability

Syntax

opaque-capability enable

undo opaque-capability

View

OSPF view

Default level

2: System level

Parameters

enable: Enables the opaque LSA capability.

Description

Use opaque-capability to enable the opaque LSA capability for the OSPF process to generate and receive from its neighbors Opaque LSAs.

Use undo opaque-capability to restore the default.

By default, the opaque LSA capability of OSPF is disabled.

Examples

# Enable the opaque LSA capability of OSPF.

<Sysname> system-view

[Sysname] ospf 100

[Sysname-ospf-100] opaque-capability enable

ping lsp te

Syntax

ping lsp [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -s packet-size | -t time-out | -v ] * te interface-type interface-number

View

Any view

Default level

0: Visit level

Parameters

-a source-ip: Specifies the source IP address of the Echo Request messages to be sent.

-c count: Specifies the number of Echo Request messages to be sent. The count argument is in the range of 1 to 4294967295 and defaults to 5.

-exp exp-value: Specifies the EXP value for the Echo Request messages. The exp-value argument is in the range of 0 to 7 and defaults to 0.

-h ttl-value: Specifies the TTL value for the Echo Request messages. The ttl-value argument is in the range of 1 to 255 and defaults to 255.

-m wait-time: Specifies the interval for sending Echo Request messages. The wait-time argument is in the range of 1 to 10000 and defaults to 200, in milliseconds.

-r reply-mode: Specifies the reply mode of the receiver in response to an Echo Request message. The reply-mode argument can be 1, 2, or 5. 1 means "Do not respond," 2 means "Respond using a UDP packet," and 5 means "Respond using the reverse CR-LSP of the bidirectional MPLS TE tunnel." The default is 2.

-s packet-size: Specifies the payload length of the Echo Request messages. The packet-size argument is in the range of 65 to 8100 and defaults to 100, in bytes.

-t time-out: Specifies the timeout interval for waiting for the response to an echo request message. The time-out argument is in the range of 0 to 65535 and defaults to 2000, in milliseconds.

-v: Displays detailed response information.

te interface-type interface-number: Specifies a tunnel interface.

Description

Use ping lsp te to check MPLS TE tunnel connectivity.

Examples

# Use the ping function to check the connectivity of the MPLS TE tunnel Tunnel1.

<Sysname> ping lsp te tunnel 1

LSP Ping FEC: TE TUNNEL IPV4 SESSION QUERY Tunnel1 : 100  data bytes, press CTRL_C to break

    Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms

    Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms

    Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms

    Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms

    Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms

  

  --- FEC: TE TUNNEL IPV4 SESSION QUERY Tunnel1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 31/55/62 ms

reset mpls rsvp-te statistics

Syntax

reset mpls rsvp-te statistics { global | interface [ interface-type interface-number ]

View

User view

Default level

1: Monitor level

Parameters

global: Clears statistics about global RSVP-TE.

interface: Clears statistics about RSVP-TE for all interfaces.

interface interface-type interface-number: Specifies an interface by its type and number. If an interface is specified, the command clears the statistics about RSVP-TE for the interface.

Description

Use reset mpls rsvp-te statistics to clear statistics about RSVP-TE.

Examples

# Clear statistics about global RSVP-TE.

<Sysname> reset mpls rsvp-te statistics global

static-cr-lsp egress

Syntax

static-cr-lsp egress tunnel-name incoming-interface interface-type interface-number in-label in-label-value [ bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth-value ]

undo static-cr-lsp egress tunnel-name

View

System view

Default level

2: System level

Parameters

tunnel-name: Tunnel name, a case-sensitive string of 1 to 15 characters.

incoming-interface interface-type interface-number: Specifies the incoming interface.

in-label in-label-value: Specifies the incoming label, which can be a value of 0, 3, or 16 through 1023.

bandwidth: Specifies the class type (CT) for static CR-LSP traffic. By default, static CR-LSP traffic belongs to CT 0.

ct0: Specifies CT 0 for static CR-LSP traffic.

ct1: Specifies CT 1 for static CR-LSP traffic.

ct2: Specifies CT 2 for static CR-LSP traffic.

ct3: Specifies CT 3 for static CR-LSP traffic.

bandwidth-value: Bandwidth required by static CR-LSP traffic, in the range of 1 to 32000000, in kbps.

Description

Use static-cr-lsp egress to configure a static CR-LSP on the egress node.

Use undo static-cr-lsp egress to remove the static CR-LSP.

In prestandard DS-TE mode, the configuration of CT 2 or CT 3 is invalid, and thus the tunnel cannot be established. CT 2 and CT 3 are valid in only IETF DS-TE mode.

Related commands: mpls te tunnel-id.

Examples

# Configure a static CR-LSP on the egress node, setting its name to tunnel1, incoming interface to VLAN-interface 1000, and incoming label to 233.

<Sysname> system-view

[Sysname] static-cr-lsp egress tunnel1 incoming-interface Vlan-interface1000 in-label 233

static-cr-lsp ingress

Syntax

static-cr-lsp ingress tunnel-name destination dest-addr nexthop next-hop-addr out-label out-label-value [ bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth-value ]

undo static-cr-lsp ingress tunnel-name

View

System view

Default level

2: System level

Parameters

tunnel-name: Tunnel name, a case-sensitive string of 1 to 15 characters. It must be an exact reference to a tunnel interface created by the interface tunnel command. For example, if you create a tunnel interface with the interface tunnel 1 command, the tunnel name referenced here must be Tunnel1.

destination dest-addr: Specifies the IP address of the tunnel destination.

nexthop next-hop-addr: Specifies the next hop address.

out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, or 16 through 1023.

bandwidth: Specifies the class type (CT) for static CR-LSP traffic. By default, static CR-LSP traffic belongs to CT 0.

ct0: Specifies CT 0 for static CR-LSP traffic.

ct1: Specifies CT 1 for static CR-LSP traffic.

ct2: Specifies CT 2 for static CR-LSP traffic.

ct3: Specifies CT 3 for static CR-LSP traffic.

bandwidth-value: Bandwidth required by the static CR-LSP, in the range of 1 to 32000000 kbps.

Description

Use static-cr-lsp ingress to configure a static CR-LSP at the ingress node.

Use undo static-cr-lsp ingress to remove the static CR-LSP.

CT 2 and CT 3 can be used in only IETF DS-TE mode. In prestandard DS-TE mode, the configuration of CT 2 or CT 3 is invalid, and thus the tunnel cannot be established.

 

 

NOTE:

The next hop address cannot be a local public address when configuring the static CR-LSP on the ingress or a transit node.

 

Examples

# Configure a static CR-LSP on the ingress node, setting its name to Tunnel1, destination IP address to 202.25.38.1, destination address mask length to 24, next hop IP address to 202.55.25.33, outgoing label to 237, CT of traffic to CT 0, and required bandwidth to 20 kbps.

<Sysname> system-view

[Sysname] static-cr-lsp ingress Tunnel1 destination 202.25.38.1 nexthop 202.55.25.33 out-label 237 bandwidth ct0 20

static-cr-lsp transit

Syntax

static-cr-lsp transit tunnel-name incoming-interface interface-type interface-number in-label in-label-value nexthop next-hop-addr out-label out-label-value [ bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth-value ]

undo static-cr-lsp transit tunnel-name

View

System view

Default level

2: System level

Parameters

tunnel-name: Tunnel name, a case-sensitive string of 1 to 15 characters.

incoming-interface interface-type interface-number: Specifies an incoming interface for the static CR-LSP.

in-label in-label-value: Specifies the incoming label in the range of 16 to 1023.

nexthop next-hop-addr: Specifies the next hop address.

out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, or 16 through 1023.

bandwidth: Specifies the class type (CT) for static CR-LSP traffic. By default, static CR-LSP traffic belongs to CT 0.

ct0: Specifies CT 0 for static CR-LSP traffic.

ct1: Specifies CT 1 for static CR-LSP traffic.

ct2: Specifies CT 2 for static CR-LSP traffic.

ct3: Specifies CT 3 for static CR-LSP traffic.

bandwidth-value: Bandwidth required by the static CR-LSP, in the range of 1 to 32000000 kbps.

Description

Use static-cr-lsp transit to configure a static CR-LSP on a transit node.

Use undo static-cr-lsp transit to remove the static CR-LSP.

CT 2 and CT 3 can be used in only IETF DS-TE mode. In prestandard DS-TE mode, the configuration of CT 2 or CT 3 is invalid, and thus the tunnel cannot be established.

 

 

NOTE:

The next hop address cannot be a local public address when configuring the static CR-LSP on the ingress or a transit node.

 

Examples

# Configure a static CR-LSP on the transit node, setting its name to tunnel1, incoming interface to VLAN-interface 1000, incoming label to 123, next hop IP address to 202.55.25.33, outgoing label to 253, CT of traffic to CT 0, and required bandwidth to 20 kbps.

<Sysname> system-view

[Sysname] static-cr-lsp transit tunnel1 incoming-interface Vlan-interface 1000 in-label 123 nexthop 202.55.25.33 out-label 253 bandwidth ct0 20

te-set-subtlv

Syntax

te-set-subtlv { bw-constraint value | lo-multiplier value | unreserved-bw-sub-pool value } *

undo te-set-subtlv { bw-constraint | lo-multiplier | unreserved-bw-sub-pool } *

View

IS-IS view

Default level

2: System level

Parameters

bw-constraint value: Sets the bandwidth constraint sub-TLV. value is the sub-TLV value in the range of 19 to 254.

lo-multiplier value: Sets the sub-TLV of local overbooking multiplier (LOM). value is the sub-TLV value in the range of 19 to 254.

unreserved-bw-sub-pool value: Sets the sub-TLV of unreserved subpool bandwidth. value is the sub-TLV value in the range of 19 to 254.

Description

Use te-set-subtlv to configure the sub-TLVs carrying the DS-TE parameters. Because no standard is available for these sub-TLVs, you need to configure them manually for interoperability with other vendors' devices.

Use undo te-set-subtlv to restore the default.

By default, the bandwidth constraint sub-TLV is 252, the sub-TLV of LOM is 253, and the sub-TLV of unreserved subpool bandwidth is 251.

Related commands: display isis traffic-eng sub-tlvs.

Examples

# Configure sub-TLVs for IS-IS process 1.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] te-set-subtlv bw-constraint 200 lo-multiplier 201 unreserved-bw-sub-pool 202

tracert lsp te

Syntax

tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode |-t time-out ] * te interface-type interface-number

View

Any view

Default level

0: Visit level

Parameters

-a source-ip: Specifies the source IP address of the Echo Request messages.

-exp exp-value: Specifies the EXP value for the Echo Request messages. The exp-value argument is in the range of 0 to 7 and defaults to 0.

-h ttl-value: Specifies the TTL value for the Echo Request messages. The ttl-value argument is in the range of 1 to 255 and defaults to 30.

-r reply-mode: Specifies the reply mode of the receiver in response to an Echo Request message. The reply-mode argument can be 1 or 2, where 1 means "Do not respond" and 2 means "Respond using a UDP packet". The default is 2.

-t time-out: Specifies the timeout interval for waiting for the response to an echo request message. The time-out argument is in the range of 0 to 65535 and defaults to 2000, in milliseconds.

te interface-type interface-number: Specifies a tunnel interface.

Description

Use tracert lsp te to locate errors of MPLS TE tunnels.

Examples

# Tracert the MPLS TE tunnel of tunnel interface Tunnel 1.

<Sysname> tracert lsp te tunnel 1

LSP Trace Route FEC: TE TUNNEL IPV4 SESSION QUERY Tunnel1 , press CTRL_C to break.

  TTL   Replier            Time    Type      Downstream

  0                                Ingress   10.4.5.1/[1025]

  1     10.4.5.1           1       Transit   100.3.4.1/[1024]

  2     100.3.4.1          63      Transit   100.1.2.1/[3]

  3     100.1.2.1          129     Egress

Table 36 Command output

Field

Description

Replier

Address of the LSR that replies to the request.

Time

Time when the reply was received, in milliseconds.

Type

Role of the LSR in the LSP, Ingress, Transit, or Egress.

Downstream

Address of the downstream LSR and the outgoing label.

 

traffic-eng

Syntax

traffic-eng [ level-1 | level-1-2 | level-2 ]

undo traffic-eng [ level-1 | level-1-2 | level-2 ]

View

IS-IS view

Default level

2: System level

Parameters

level-1: Enables Level-1 IS-IS TE.

level-1-2: Enables Level-1-2 IS-IS TE.

level-2: Enables Level-2 IS-IS TE.

 

 

NOTE:

If no level is specified, IS-IS TE applies to Level-1-2.

 

Description

Use traffic-eng to enable IS-IS TE.

Use undo traffic-eng to restore the default.

By default, IS-IS TE is disabled.

In order to enable IS-IS TE, you must use the cost-style command to configure the cost style of the IS-IS packet to wide, compatible or wide-compatible. For more information about the cost-style command, see Layer 3—IP Routing Command Reference.

Examples

# Enable TE for Level-2 IS-IS process 1.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] cost-style compatible

[Sysname-isis-1] traffic-eng level-2

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网