08-MPLS Command Reference

HomeSupportRoutersH3C SR8800 Router SeriesReference GuidesCommand ReferencesH3C SR8800 Command Reference-Release3347-6W10308-MPLS Command Reference
02-MPLS TE Commands
Title Size Download
02-MPLS TE Commands 461.05 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· 28

display mpls te ds-te· 33

display mpls te link-administration admission-control 35

display mpls te link-administration bandwidth-allocation· 36

display mpls te protection tunnel 37

display mpls te tunnel 39

display mpls te tunnel path· 41

display mpls te tunnel statistics 42

display mpls te tunnel-interface· 43

display ospf mpls-te· 46

display ospf traffic-adjustment 48

display tunnel-info· 49

enable traffic-adjustment 50

enable traffic-adjustment advertise· 51

explicit-path· 51

list hop· 52

modify hop· 52

mpls rsvp-te· 53

mpls rsvp-te authentication· 54

mpls rsvp-te bfd enable· 55

mpls rsvp-te blockade-multiplier 55

mpls rsvp-te graceful-restart 56

mpls rsvp-te hello· 57

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· 67

mpls te bandwidth change thresholds 68

mpls te bfd enable· 69

mpls te commit 69

mpls te cspf 70

mpls te cspf timer failed-link· 71

mpls te ds-te ietf bc-mode· 71

mpls te ds-te ietf te-class 72

mpls te ds-te mode· 73

mpls te failure-action teardown· 74

mpls te fast-reroute· 74

mpls te fast-reroute bypass-tunnel 75

mpls te igp advertise· 76

mpls te igp metric· 76

mpls te igp shortcut 77

mpls te link administrative group· 78

mpls te loop-detection· 78

mpls te max-link-bandwidth· 79

mpls te max-reservable-bandwidth· 79

mpls te max-reservable-bandwidth mam·· 80

mpls te max-reservable-bandwidth rdm·· 81

mpls te metric· 82

mpls te path· 82

mpls te path metric-type· 83

mpls te periodic-tracert 84

mpls te priority· 85

mpls te protection tunnel 86

mpls te protect-switch· 87

mpls te record-route· 88

mpls te reoptimization (tunnel interface view) 88

mpls te reoptimization (user view) 89

mpls te resv-style· 89

mpls te retry· 90

mpls te route-pinning· 90

mpls te signal-protocol 91

mpls te tie-breaking· 92

mpls te timer auto-bandwidth· 93

mpls te timer fast-reroute· 93

mpls te timer link-management periodic-flooding· 94

mpls te timer retry· 95

mpls te tunnel-id· 95

mpls te vpn-binding· 96

mpls-te· 97

next hop· 98

opaque-capability· 98

ping lsp te· 99

reset mpls rsvp-te statistics 100

static-cr-lsp egress 100

static-cr-lsp ingress 101

static-cr-lsp transit 102

te-set-subtlv· 103

tracert lsp te· 104

traffic-eng· 105

 


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 the add hop command 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 device 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 the delete hop command 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 [ pathname ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

pathname: 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 the display explicit-path command to display information about an explicit path.

If no path name is specified, information about all explicit paths is displayed.

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 Output description

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 of IS-IS Level-1 routers.

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

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

lsp-id lsp-id: Specifies a link state packet ID (LSP ID) to display the TE information advertised by it. 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 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. To display the IS-IS TE information of 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 the display isis traffic-eng advertisements command to display the latest TE information advertised by IS-IS TE.

If no IS-IS level is specified, the TE information of IS-IS Level-1-2 routers is displayed.

Examples

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

<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  :      12500 Bytes/sec

    Reservable BW:       6250 Bytes/sec

    Unreserved BW for Class Type 0:

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

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

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

    BW Unresrv[6]:       6250 Bytes/sec BW Unresrv[7]:       6250 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]        :       6250 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  :      12500 Bytes/sec

    Reservable BW:       6250 Bytes/sec

    Unreserved BW for Class Type 0:

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

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

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

    BW Unresrv[6]:       6250 Bytes/sec BW Unresrv[7]:       6250 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]        :       6250 Bytes/sec BC[1]        :          0 Bytes/sec

Table 2 Output description

Field

Description

LSPID

LSP ID

LSP Seq Num

LSP sequence number

ATT/P/OL

Attach bit (ATT)

Partition bit (P)

Overload bit (OL)

NLPID

Network protocol type

AREA ADDR

IS-IS area address

INTF ADDR

Interface address

+NBR

Neighbor

COST

Cost

Admin Group

Link administrative group attribute

Physical BW

Physical bandwidth

Reservable BW

Reservable bandwidth

BW Unresrv[0]-[7]

Available subpool bandwidths at eight levels

TE Cost

TE cost

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 of IS-IS Level-1 routers.

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

level-2: Displays the TE information of 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 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. To display the IS-IS TE link information of 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 the display isis traffic-eng link command to display information about TE links for IS-IS.

If no IS-IS level is specified, the TE link information of IS-IS Level-1-2 routers is displayed.

Examples

# Display information about TE links for IS-IS.

<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 Output description

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 of IS-IS Level-1 routers.

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

level-2: Displays the TE information of 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 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. To display the IS-IS TE network information of 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 the display isis traffic-eng network command to display information about TE networks for IS-IS.

If no IS-IS level is specified, the TE network information in the IS-IS Level-1-2 area is displayed.

Examples

# Display information about TE networks for IS-IS.

<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 Output description

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 the display isis traffic-eng statistics command to display the statistics about TE for IS-IS.

If no IS-IS level is specified, the statistics about TE in the IS-IS Level-1-2 area is displayed.

Examples

# Display statistics about TE for IS-IS.

<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 Output description

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 of 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 the display isis traffic-eng sub-tlvs command to display information about sub-TLVs for the IS-IS TE extension.

If no IS-IS level is specified, information about TE extension sub-TLVs in the IS-IS Level-1-2 area is displayed.

Related commands: te-set-subtlv.

Examples

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

<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 Output description

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 of 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 the display mpls lsp bfd te command to display the BFD information for MPLS TE tunnels.

Examples

# Display the BFD information of the MPLS TE tunnel using tunnel interface Tunnel 0.

<Sysname> display mpls lsp bfd te Tunnel 0

 

               MPLS BFD Session(s) Information

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

 FEC            : Tunnel0           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 Output description

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 the display mpls rsvp-te command to display RSVP-TE configuration.

If the interface keyword is not specified, the global RSVP-TE configuration is displayed.

If no interface is specified through the interface-type interface-number argument, the RSVP-TE configuration of all RSVP-TE enabled interfaces is displayed.

Examples

# Display the 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 Output description

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 GigabitEthernet 3/1/1.

<Sysname> display mpls rsvp-te interface GigabitEthernet 3/1/1

Interface GigabitEthernet3/1/1

 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 Output description

Field

Description

Interface

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, the command displays the RSVP-TE tunnel information of 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 the display mpls rsvp-te established command to display information about RSVP-TE tunnels.

Examples

# Display the RSVP-TE tunnel information of interface GigabitEthernet 3/1/1.

<Sysname> display mpls rsvp-te established interface GigabitEthernet 3/1/1

Interface GigabitEthernet3/1/1

 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 Output description

Field

Description

Interface

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 the display mpls rsvp-te peer command 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 GigabitEthernet3/1/1

 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 GigabitEthernet4/1/1

 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 Output description

Field

Description

Interface

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 router.

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 the display mpls rsvp-te psb-content command 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: GigabitEthernet3/1/1  /  -----

 InLabel : 3            OutLabel : NULL

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 GigabitEthernet3/1/1 from PHOP 101.101.101.1

 Resource Reservation OK

 Graceful Restart State: Stale

 Bandwidth Constraint Mode: IETF DS-TE RDM

Table 12 Output description

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

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 router.

Bandwidth Constraint Mode

Bandwidth constraints model carried in the path message, which can be:

·       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 the display mpls rsvp-te request command 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 GigabitEthernet3/1/1:

 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: GigabitEthernet4/1/1

Table 13 Output description

Field

Description

Interface

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 the display mpls rsvp-te reservation command to display information about RSVP-TE reservations on the specified or all interfaces.

Examples

# Display information about RSVP-TE reservations on interface GigabitEthernet 3/1/1.

<Sysname> display mpls rsvp-te reservation interface GigabitEthernet 3/1/1

Interface GigabitEthernet3/1/1

 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 GigabitEthernet3/1/1

 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 Output description

Field

Description

Interface

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 the display mpls rsvp-te rsb-content command 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    Resevation Style: SE Style

 Reservation Incoming Interface: GigabitEthernet3/1/1

 Reservation Interface: GigabitEthernet3/1/1

 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 GigabitEthernet3/1/1 from NHOP 101.101.101.2

 Graceful Restart State: Stale

Table 15 Output description

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 interface GigabitEthernet 3/1/1 from next hop (X.X.X.X)

Graceful Restart State

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

 

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 the display mpls rsvp-te sender command to display RSVP-TE sender message information.

Examples

# Display the RSVP-TE sender message information on interface GigabitEthernet 3/1/1.

<Sysname> display mpls rsvp-te sender interface GigabitEthernet 3/1/1

Interface GigabitEthernet3/1/1

 Tunnel Dest: 29.29.29.29    Ingress LSR ID: 19.19.19.19

 LSP ID: 1                   Session Tunnel ID: 1

 Session Name: Tunnel3

 Previous Hop Address: 101.101.101.1

 Token bucket rate: 0.0      Token bucket size: 0.00

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

<Sysname> display mpls rsvp-te sender

Interface: GigabitEthernet3/1/1

 Tunnel Dest: 19.19.19.19    Ingress LSR ID: 29.29.29.29

 LSP ID: 1                   Session Tunnel ID: 0

 Session Name: Tunnel3

 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 Output description

Field

Description

Interface

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 the display mpls rsvp-te statistics command 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

# Display the RSVP-TE statistics of interface GigabitEthernet 3/1/1.

<Sysname> display mpls rsvp-te statistics interface GigabitEthernet 3/1/1

GigabitEthernet 3/1/1:

 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

Table 17 Output description

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

 

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 comprising 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 the display mpls static-cr-lsp command 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

Tunnel3      3.3.3.9/32        NULL/100   -/GE3/1/1             Down

Table 18 Output description

Field

Description

Name

Static CR-LSP name

FEC

Forwarding equivalence class (FEC) associated with the destination IP address of LSP

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       : Tunnel3

LSR-Type       : Transit

FEC            : -/-

In-Label       : 20

Out-Label      : 30

In-Interface   : GigabitEthernet3/1/1

Out-Interface  : GigabitEthernet4/1/1

NextHop        : 3.2.1.2 

Lsp Status     : Up

Table 19 Output description

Field

Description

LSP-Name

Static CR-LSP name

LSR-Type

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

FEC

Forwarding equivalence class (FEC)

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 ranges from 0 to 4294967295; for IS-IS, it takes the value 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, the TEDB information on all nodes is displayed.

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 the display mpls te cspf tedb command 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 Output description

Field

Description

ID

Number

DR MPLS LSR-Id

MPLS LSR ID of the designated router (DR)

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 Output description

Field

Description

ID

Number

MPLS LSR-Id

MPLS LSR ID

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 of 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 Output description

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 of 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 Bandwidth: 100 (kbps)

    Maximum Reservable Bandwidth: 20 (kbps)

    Bandwidth Constraint Mode: Prestandard DS-TE RDM

    Bandwidth Constraints:

         BC[0] :  100        (kbps)

         BC[1] :  20         (kbps)

    Unreserved Bandwidth for each TE Class:

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

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

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

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

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

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

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

         [14]:    10         (kbps),  [15]:     10         (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: 100 (kbps)

    Bandwidth Constraint Mode: Prestandard DS-TE RDM

    Bandwidth Constraints:

         BC[0] :  100        (kbps)

         BC[1] :  20         (kbps)

    Unreserved Bandwidth for each TE Class:

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

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

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

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

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

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

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

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

Table 23 Output description

Field

Description

MPLS LSR-Id

MPLS LSR ID of node

Process Id

IGP process ID

MPLS-TE Link Count

Number of MPLS TE links

Link[1]

Information of 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 of 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 Output description

Field

Description

MPLS LSR-Id

MPLS LSR ID of node

Process Id

IGP process ID

MPLS-TE Link Count

Number of MPLS TE links

Link[1]

Information of 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 ds-te

Syntax

display mpls te ds-te [ | { 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 the display mpls te ds-te command to display information about DS-TE.

Examples

# Display information about DS-TE.

<Sysname> display mpls te ds-te

  MPLS DS-TE mode      :  Prestandard

  MPLS DS-TE BC mode   :  RDM

  TE CLASS    ClassType     Priority

  0           0             0

  1           0             1

  2           0             2

  3           0             3

  4           0             4

  5           0             5

  6           0             6

  7           0             7

  8           1             0

  9           1             1

  10          1             2

  11          1             3

  12          1             4

  13          1             5

  14          1             6

  15          1             7

Table 25 display mpls te ds-te command output information

Field

Description

MPLS DS-TE mode

DS-TE mode, which can be Prestandard or IETF

MPLS DS-TE BC mode

DS-TE BC model, which can be RDM or MAM

TE CLASS    ClassType     Priority

TE class-CT-priority mapping

 

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 the display mpls te link-administration admission-control command 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    ---/GE3/1/1          7/7         0        0

1.1.1.9:2048    ---/GE4/1/1          7/7         0        0

The following table gives the description on the fields of the display mpls te link-administration admission-control command.

Table 26 Output description

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 the display mpls te link-administration bandwidth-allocation command 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:  GigabitEthernet3/1/1

  Max Link Bandwidth                          :  3200000 kbits/sec                

  Max Reservable Bandwidth of Prestandard RDM :  2000000 kbits/sec                

  Max Reservable Bandwidth of IETF RDM        :  200000 kbits/sec            

  Max Reservable Bandwidth of IETF MAM        :  300000 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   2000000                200000               2000

  1   1000000                150000               2000

  2   0                      100000               2000

  3   0                      50000                2000

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

      0           0             0            0            2000000

      1           0             1            0            2000000

      2           0             2            0            2000000

      3           0             3            0            2000000

      4           0             4            0            2000000

      5           0             5            0            2000000

      6           0             6            0            2000000

      7           0             7            1000         1999000

      8           1             0            0            1000000

      9           1             1            0            1000000

     10           1             2            0            1000000

     11           1             3            0            1000000

     12           1             4            0            1000000

     13           1             5            0            1000000

     14           1             6            0            1000000

     15           1             7            0            1000000

The following table gives the description on the fields of the display mpls te link-administration bandwidth-allocation command.

Table 27 Output description

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 the display mpls te protection tunnel command to display information about the specified tunnel or all tunnels and the corresponding protection tunnel(s).

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 the detailed information of 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 28 Output description

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, which can be:

·       No-defect: The main tunnel is normal.

·       In-defect: The main tunnel is failed.

Protect-tunnel defect state

State of the protection tunnel, which can be:

·       No-defect: The protection tunnel is normal.

·       In-defect: The protection tunnel is failed.

Holdoff

Switching delay time, that is, time to wait before switching to the backup tunnel

WTR

Reverting delay time, that is, time to wait before switching back 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 current router as the egress.

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

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

transit: Displays tunnels created taking current router 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 the display mpls te tunnel command to display information about MPLS TE tunnels.

Examples

# Display information about MPLS TE tunnels. (The output may 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         -/GE3/1/1            Tunnel3

1.1.1.9:2048      3.3.3.9         -/GE4/1/1            Tunnel2

Table 29 Output description

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:1024

Tunnel-Name    : Tunnel3

Destination    : 3.3.3.9

In-Interface   : -

Out-Interface  : GigabitEthernet 3/1/1

Tunnel BW      : 0 kbps

Class Type     : CT0

Ingress LSR-Id : 1.1.1.9

Egress LSR-Id  : 3.3.3.9

Setup-Priority : 7

Hold-Priority  : 7

Sign-Protocol  : RSVP TE

Resv Style     : SE

IncludeAnyAff  : 0x0

ExcludeAllAff  : 0x0

IncludeAllAff  : 0x0

Created Time   : 2007/10/18 16:05:17

Table 30 Output description

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 the display mpls te tunnel path command 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 : Tunnel3

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 31 Output description

Field

Description

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 the display mpls te tunnel statistics command 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 32 Output description

Field

Description

Ingress

This router is the tunnel ingress.

Transit

This router is a transit node on the tunnel.

Egress

This router is the tunnel egress.

Modified

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

In-Progress

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

Failed

Number of CR-LSP tunnels that use this router 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 specific 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 the display mpls te tunnel-interface command 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         :  Tunnel3

  Tunnel Desc         :  Tunnel3 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      :  CR LDP                Resv Style   :  -

    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      :  -

    Oam     Status      :  -

Table 33 Output description

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 currently 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 a hyphen (-) for a primary tunnel.

Backup Tunnel

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

Group Status

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

Oam Status

OAM defect detection status.  A hyphen (-) means OAM is not enabled.

 

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 the display ospf mpls-te command 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 34 Output description

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 bandwidth 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 the display ospf traffic-adjustment command to display the settings of tunnel traffic adjustment (IGP shortcut and forwarding adjacency) for a specific 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 (Tunnel3)

     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 35 Output description

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 the display tunnel-info command 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 36 Output description

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 the enable traffic-adjustment command to enable IGP shortcut.

Use the undo enable traffic-adjustment command 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 the enable traffic-adjustment advertise command to enable forwarding adjacency.

Use the undo enable traffic-adjustment advertise command 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 pathname [ disable | enable ]

undo explicit-path pathname

View

System view

Default level

2: System level

Parameters

pathname: 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 the explicit-path command to create an explicit path and enter its view.

Use the undo explicit-path command 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, information about all the nodes on the explicit path is displayed.

Description

Use the list hop command to display information about specified 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 subsequent path calculations for the explicit path.

Description

Use the modify hop command 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 subsequent 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 the mpls rsvp-te command to enable RSVP-TE.

Use the undo mpls rsvp-te command 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, you need to enable MPLS in system view and MPLS TE in MPLS view.

·           Before enabling RSVP-TE in interface view, you need to 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 interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls

[Sysname-GigabitEthernet3/1/1] mpls te

[Sysname-GigabitEthernet3/1/1] 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: Enters and displays the authentication key in cipher text.

plain: Enters the authentication key in plain text and displays the authentication key in plain text.

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

Description

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

Use the undo mpls rsvp-te authentication command 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 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 interface GigabitEthernet 3/1/1, and configure the authentication key as userkey1 in plain text.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls rsvp-te bfd enable command on an RSVP-TE enabled interface to enable BFD for link detection.

Use the undo mpls rsvp-te bfd enable command 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 GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls rsvp-te blockade-multiplier command to configure the blockade multiplier, which determines the timeout time of blockade state.

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

The default blockade multiplier is 4.

Sometimes, although a reservation request does not pass admission control on some node, you may 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.

Before you can configure this command, enable RSVP-TE.

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 the mpls rsvp-te graceful-restart command to enable the GR capability for MPLS RSVP-TE.

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

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

You need to 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 the mpls rsvp-te hello command to enable RSVP hello extension.

Use the undo mpls rsvp-te hello command 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 can 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 interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls rsvp-te hello-lost command to configure the maximum number of consecutive hello losses before an RSVP neighbor is considered dead.

Use the undo mpls rsvp-te hello-lost command 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 the mpls rsvp-te keep-multiplier command to configure the keep multiplier, which determines the timeout time of the path state block (PSB) and reservation state block (RSB).

Use the undo mpls rsvp-te keep-multiplier command 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 can 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 the mpls rsvp-te reliability command to enable the RSVP reliability mechanism.

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

By default, the RSVP reliability mechanism is disabled.

With RSVP reliability enabled, the device 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 reliability mechanism of RSVP-TE on interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls rsvp-te resvconfirm command to enable reservation confirmation on the current node.

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

By default, resource reservation confirmation is disabled.

With the reservation confirmation mechanism 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 router.

<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 the mpls rsvp-te srefresh command to enable summary refresh.

Use the undo mpls rsvp-te srefresh command 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 interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls rsvp-te timer graceful-restart recovery command to set the RSVP-TE GR recovery interval.

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

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

Before using this command, be sure to 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 the mpls rsvp-te timer graceful-restart restart command to set the RSVP-TE GR restart interval.

Use the undo mpls rsvp-te timer graceful-restart restart command 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 the mpls rsvp-te timer hello command to configure the hello interval.

Use the undo mpls rsvp-te timer hello command 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 five 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 the mpls rsvp-te timer refresh command to configure the path/reservation state refresh interval.

Use the undo mpls rsvp-te timer refresh command 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 the mpls rsvp-te timer retransmission command to enable RSVP message retransmission.

Use the undo mpls rsvp-te timer retransmission command 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 in the mpls rsvp-te timer retransmission command, and the delta value is specified by increment-value in this command.

Examples

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

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls te command to enable MPLS TE.

Use the undo mpls te command 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.

Before you can enable MPLS TE on an interface, enable MPLS TE globally first.

 

CAUTION

CAUTION:

After changing the MTU of an interface where MPLS TE is enabled, you need to 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 interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls

[Sysname-GigabitEthernet3/1/1] 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 while those corresponding to the 0s in the mask are “don’t care” bits.

Description

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

Use the undo mpls te affinity property command 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 3.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te backup command to enable backup for the current tunnel and configure the tunnel back mode.

Use the undo mpls te backup command 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, mpls te auto-bandwidth adjustment, and mpls te resv-style ff.

 

Examples

# Enable tunnel backup for Tunnel0 and configure the backup mode as hot backup.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te backup bandwidth command to configure the total bandwidth and type of LSP that the bypass tunnel can protect.

Use the undo mpls te backup bandwidth command to remove the configuration.

By default, bypass tunnels do not protect bandwidth.

When you use the command, follow these guidelines:

·           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 may be overwhelmed after FRR switchover, causing the protected tunnel to be torn down.

 

 

NOTE:

This command is not supported when the signaling protocol is CR-LDP.

 

Examples

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

<Sysname> system-view

[Sysname] interface tunnel 3

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

[Sysname-Tunnel3] quit

[Sysname] interface tunnel 2

[Sysname-Tunnel2] mpls te backup bandwidth ct1 1000

mpls te bandwidth

Syntax

mpls te bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth

undo mpls te bandwidth

View

Tunnel interface view

Default level

2: System level

Parameters

ct0: Specifies the tunnel traffic’s CT as CT 0.

ct1: Specifies the tunnel traffic’s CT as CT 1.

ct2: Specifies the tunnel traffic’s CT as CT 2.

ct3: Specifies the tunnel traffic’s CT as CT 3.

bandwidth: Bandwidth needed by the MPLS TE tunnel, in the range of 1 to 32000000 kbps.

Description

Use the mpls te bandwidth command to assign bandwidth to the MPLS TE tunnel and specify the service class type to which the tunnel's traffic belong.

Use the undo mpls te bandwidth command to restore the default.

By default, the bandwidth assigned to an MPLS TE tunnel is 0 and the tunnel’s traffic belongs to CT 0.

If no CT is specified, the tunnel’s traffic belongs to CT 0.

 

 

NOTE:

·       On the SR8800 routers, if there are multiple data streams in an MPLS TE tunnel, each data stream corresponds to one outgoing interface of the tunnel.

·       If an MPLS TE tunnel has multiple outgoing interfaces (for example, when the egress of the tunnel is an aggregation group with multiple interfaces), the mpls te bandwidth command takes effect on all the interfaces. In this case, if there are multiple data streams in the tunnel, the actual bandwidth is the product of the configured bandwidth of the tunnel and the number of outgoing interfaces servicing data streams.

·       If an MPLS TE tunnel needs a bandwidth greater than 1024 kbps, H3C recommends setting the bandwidth value to a multiple of 1024 kbps.

 

Examples

# Assign 1000 kbps bandwidth to MPLS TE tunnel 3 and specify the CT of the tunnel’s traffic as CT 1.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] mpls te 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 the mpls te bandwidth change thresholds command to set the IGP flooding thresholds that apply when bandwidth resources are increasing and decreasing.

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

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

Examples

# On interface GigabitEthernet 3/1/1 configure IGP to flood when the percentage of available bandwidth decrease reaches 100%.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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. local-id ranges from 1 to 512.

remote remote-id: Specifies the remote discriminator value of the BFD session. The value ranges from 1 to 4294967295.

Description

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

Use the undo mpls te bfd enable command 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 the chapter “Basic MPLS configuration commands.”

BFD session parameters are those configured on the TE tunnel interface. The source address of the BFD session is the MPLS LSR ID. Therefore, before enabling BFD for an MPLS TE tunnel, make sure that there is a route on the peer router to the MPLS LSR ID, and 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 the mpls te commit command 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 3

[Sysname-Tunnel3] tunnel-protocol mpls te

[Sysname-Tunnel3] destination 2.2.2.9

[Sysname-Tunnel3] 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 the mpls te cspf command to enable CSPF on current node.

Use the undo mpls te cspf command to disable CSPF on current node.

By default, CSPF is disabled on current node.

Before enabling CSPF, enable MPLS TE in MPLS view.

CSPF provides an approach to path selection in MPLS domains. 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 the mpls te cspf timer failed-link command to configure the failed link timer.

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

By default, the failed link timer is 10 seconds.

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 ds-te ietf bc-mode

Syntax

mpls te ds-te ietf bc-mode mam

undo mpls te ds-te ietf bc-mode

View

MPLS view

Default level

2: System Level

Parameters

mam: Specifies the bandwidth constraints model as MAM.

Description

Use the mpls te ds-te ietf bc-mode command to specify the bandwidth constraints model in IETF DS-TE mode.

Use the undo mpls te ds-te ietf bc-mode command to restore the default.

By default, the bandwidth constraints model in IETF DS-TE mode is RDM.

This command is only applicable to the IETF DS-TE mode. In prestandard DS-TE mode, the bandwidth constraints model can only be RDM.

After you change the bandwidth constraints model in IETF DS-TE mode, all CR-LSPs with non-zero reserved bandwidths will be cleared on the router.

Related commands: mpls te ds-te mode.

Examples

# Configure the BC model in IETF mode as MAM.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te ds-te ietf bc-mode mam

mpls te ds-te ietf te-class

Syntax

mpls te ds-te ietf te-class te-class-index class-type class-type-number priority pri-number

undo mpls te ds-te ietf te-class te-class-index

View

MPLS view

Default level

2: System Level

Parameters

te-class-index: Index of a TE class, in the range of 0 to 7.

class-type class-type-number: Specifies the corresponding CT of the TE class. class-type-number is the sequence number of a CT, in the range of 0 to 3. The system supports four CTs (CT 0, CT 1, CT 2, and CT 3).

priority pri-number: Specifies the corresponding preemption priority of the TE class. pri-number is the preemption priority value, in the range of 0 to 7.

Description

Use the mpls te ds-te ietf te-class command to configure a TE class mapping, that is, the association of a TE class, CT, and priority.

Use the undo mpls te ds-te ietf te-class command to restore the default.

By default, the TE class mappings in IETF DS-TE mode are as follows:

Table 37 Default TE class mappings in IETF mode

TE Class

CT

Priority

0

0

7

1

1

7

2

2

7

3

3

7

4

0

0

5

1

0

6

2

0

7

3

0

 

·           When using the mpls te ds-te ietf te-class command to configure a TE class mapping, be sure to specify a CT-priority pair different from that in any existing TE class mappings.

·           When using the undo mpls te ds-te ietf te-class command, make sure that the CT and preemption priority of the TE class mapping to be restored to are not those of an existing TE class mapping.

·           After a TE class is modified, the router will notify the IGP to re-advertise the bandwidth information of all TE interfaces and will remove and then re-establish the CR-LSPs of the TE class on all TE interfaces.

Related commands: mpls te ds-te mode.

Examples

# Associate TE class 7, CT 2, and preemption priority 3 in the IETF mode.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te ds-te ietf te-class 7 class-type 2 priority 3

mpls te ds-te mode

Syntax

mpls te ds-te mode ietf

undo mpls te ds-te mode

View

MPLS view

Default level

2: System level

Parameters

ietf: Specifies the DS-TE mode as IETF.

Description

Use the mpls te ds-te mode command to specify the DS-TE mode.

Use the undo mpls te ds-te mode command to restore the default.

By default, the DS-TE mode is prestandard.

Changing the DS-TE mode also removes all CR-LSPs on the router.

Examples

# Configure the DS-TE mode as IETF.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te ds-te mode ietf

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 the mpls te failure-action teardown command to enable the capability of tearing down a failed RSVP TE tunnel and then re-establishing it.

Use the undo mpls te failure-action teardown command 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 Tunnel 1, 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 the mpls te fast-reroute command to enable fast reroute (FRR).

Use the undo mpls te fast-reroute command 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:

·       This command is not supported when the signaling protocol is CR-LDP.

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

 

Examples

# Reroute MPLS TE tunnel 3 to an available bypass tunnel in case the protected link or node that it traverses fails.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te fast-reroute bypass-tunnel command to specify a bypass tunnel for the protected interface.

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

You may perform the mpls te fast-reroute bypass-tunnel command multiple times to specify multiple bypass tunnels for the protected interface. At present, 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 at the same time.

·       This command is not supported when the signaling protocol is CR-LDP.

 

Examples

# Use Tunnel 3 as the bypass tunnel to protect the link connected to interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls te fast-reroute bypass-tunnel tunnel 3

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 ranges from 0 to 4294967295 milliseconds. The default is 0 milliseconds.

Description

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

Use the undo mpls te igp advertise command 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 3

[Sysname-Tunnel3] 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 the mpls te igp metric command to assign a metric to the MPLS TE tunnel.

Use the undo mpls te igp metric command to restore the default.

By default, TE tunnels take their IGP metrics.

Examples

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

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te igp shortcut command 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 the undo mpls te igp shortcut command 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 3 in enhanced SPF calculation when the tunnel is up.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te link administrative group command to configure the link administrative group attribute.

Use the undo mpls te link administrative group command 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 interface GigabitEthernet 3/1/1 the link administrative group attribute of 0x00000101.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 the mpls te loop-detection command to configure the node to perform loop detection when setting up the MPLS TE tunnel.

Use the undo mpls te loop-detection command 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 tunnel 3.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] mpls te loop-detection

mpls te max-link-bandwidth

Syntax

mpls te max-link-bandwidth bandwidth-value

undo mpls te max-link-bandwidth

View

Interface view

Default level

2: System level

Parameters

bandwidth-value: Maximum bandwidth of the link, in the range of 1 to 32000000 kbps.

Description

Use the mpls te max-link-bandwidth command to configure the maximum bandwidth for the link to forward MPLS TE traffic.

Use the undo mpls te max-link-bandwidth command to restore the default.

By default, the maximum link bandwidth for MPLS TE traffic is 0.

The configured maximum link bandwidth is available for only MPLS TE traffic.

Examples

# On interface GigabitEthernet 3/1/1, set the maximum link bandwidth for MPLS TE traffic to 1158 kbps.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls te max-link-bandwidth 1158

mpls te max-reservable-bandwidth

Syntax

mpls te max-reservable-bandwidth bandwidth-value [ bc1 bc1-bandwidth ]

undo mpls te max-reservable-bandwidth

View

Interface view

Default level

2: System level

Parameters

bandwidth-value: Maximum reservable bandwidth of the link, that is, the value of BC 0. It is in the range of 1 to 32000000 kbps.

bc1 bc1-bandwidth: Value of BC 1, in the range of 1 to 32000000 kbps. By default, BC 1 is 0 kbps.

Description

Use the mpls te max-reservable-bandwidth command to configure the bandwidth constraints BC 0 and BC 1 in prestandard DS-TE RDM mode.

Use the undo mpls te max-reservable-bandwidth command to restore the default.

By default, both BC 0 and BC 1 is 0 kbps.

The maximum reservable bandwidth of a link, that is, the value of BC 0 (bandwidth-value), cannot be greater than the maximum bandwidth of the link, and the value of BC 1 (bc1-bandwidth) cannot be greater than the value of BC 0 (bandwidth-value).

The bandwidth in this command is configured only for MPLS TE traffic.

Examples

# Set the maximum reservable bandwidth for MPLS TE in prestandard mode to 1158 kbps, and BC1 to 200 kbps.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls te max-reservable-bandwidth 1158 bc1 200

mpls te max-reservable-bandwidth mam

Syntax

mpls te max-reservable-bandwidth mam bandwidth-value { bc0 bc0-bandwidth | bc1 bc1-bandwidth | bc2 bc2-bandwidth | bc3 bc3-bandwidth } *

undo mpls te max-reservable-bandwidth mam

View

Interface view

Default level

2: System level

Parameters

bandwidth-value: Maximum reservable bandwidth of the link, in the range of 1 to 32000000, in kbps.

bc0 bc0-bandwidth: Value of BC 0, in the range of 1 to 32000000, in kbps. By default, BC 0 is 0.

bc1 bc1-bandwidth: Value of BC 1, in the range of 1 to 32000000, in kbps. By default, BC 1 is 0.

bc2 bc2-bandwidth: Value of BC 2, in the range of 1 to 32000000, in kbps. By default, BC 2 is 0.

bc3 bc3-bandwidth: Value of BC 3, in the range of 1 to 32000000, in kbps. By default, BC 3 is 0.

Description

Use the mpls te max-reservable-bandwidth mam command to configure the maximum reservable bandwidth of the MPLS TE link and the BCs in IETF DS-TE MAM model.

Use the undo mpls te max-reservable-bandwidth mam command to restore the default.

By default, the maximum reservable bandwidth and each BC are 0 kbps.

The maximum reservable bandwidth of the link must be lower than or equal to the maximum bandwidth of the link. Each BC must be lower than or equal to the maximum reservable bandwidth of the link, that is, none of bc0-bandwidth, bc1-bandwidth, bc2-bandwidth and bc3-bandwidth can be greater than bandwidth-value.

The maximum reservable bandwidth and BCs configured by this command are used only for MPLS TE traffic.

Examples

# Set the maximum reservable bandwidth in IETF MAM model for MPLS TE to 1158 kbps, and set BC 0 to 500 kbps, BC 1 to 300 kbps, BC 2 to 400 kbps, and BC 3 to 100 kbps.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls te max-reservable-bandwidth mam 1158 bc0 500 bc1 300 bc2 400 bc3 100

mpls te max-reservable-bandwidth rdm

Syntax

mpls te max-reservable-bandwidth rdm bandwidth-value [ bc1 bc1-bandwidth ] [ bc2 bc2-bandwidth ] [ bc3 bc3-bandwidth ]

undo mpls te max-reservable-bandwidth rdm

View

Interface view

Default level

2: System level

Parameters

bandwidth-value: Maximum reservable bandwidth of the link, that is, the value of BC 0, in the range of 1 to 32000000, in kbps.

bc1 bc1-bandwidth: Value of BC 1, in the range of 1 to 32000000, in kbps. By default, BC 1 is 0 kbps.

bc2 bc2-bandwidth: Value of BC 2, in the range of 1 to 32000000, in kbps. By default, BC 2 is 0 kbps.

bc3 bc3-bandwidth: Value of BC 3, in the range of 1 to 32000000, in kbps. By default, BC 3 is 0 kbps.

Description

Use the mpls te max-reservable-bandwidth rdm command to configure the bandwidth constraints in IETF DS-TE RDM model.

Use the undo mpls te max-reservable-bandwidth rdm command to restore the default.

By default, each BC is 0 kbps.

The value of BC 0 (bandwidth-value) must be greater than or equal to that of BC 1 (bc1-bandwidth). The value of BC 1 (bc1-bandwidth) must be greater than or equal to that of BC 2 (bc2-bandwidth). The value of BC 2 (bc2-bandwidth) must be greater than or equal to that of BC 3 (bc3-bandwidth).

The bandwidth constraints configured by this command are used only for MPLS TE traffic.

Examples

# Set BC 0 in IETF RDM model to 500 kbps, BC 1 to 400 kbps, BC 2 to 300 kbps, and BC 3 to 100 kbps.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls te max-reservable-bandwidth rdm 500 bc1 400 bc2 300 bc3 100

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 the mpls te metric command to assign a TE metric to the link.

Use the undo mpls te metric command 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 interface GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mpls te metric 20

mpls te path

Syntax

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

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

View

Tunnel interface view

Default level

2: System level

Parameters

dynamic: Uses the path that is dynamically calculated.

explicit-path pathname: 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. The smaller the value, the higher the preference.

Description

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

Use the undo mpls te path command 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 Tunnel 3 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 3

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

[Sysname-Tunnel3] 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 IGP metrics for tunnel path calculation.

te: Uses TE metrics for tunnel path calculation.

Description

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

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

Use the undo mpls te path metric-type command 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 IGP metric for path calculation.

<Sysname> system-view

[Sysname] mpls

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

In tunnel interface view:

# Configure tunnel 3 to use IGP metrics for path calculation.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 ranges from 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 ranges from 1 to 9 and defaults to 3.

Description

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

Use the undo mpls te periodic-tracert command 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.

You need to 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 Tunnel 3.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 indicates a higher priority.

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

Description

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

Use the undo mpls te priority command 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 of TE tunnel 3 to 1.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 router 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 router will switch data to the protection tunnel. The holdoff-time is the holdoff time factor, which ranges from 0 to 20 and defaults 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, that is, 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, that is, 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, that is, 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 the mpls te protection tunnel command to configure a protection tunnel for the main tunnel.

Use the undo mpls te protection tunnel command 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, you need to 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 { protect-lsp | work-lsp } }

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 or vice versa.

protect-lsp: Switches data from the main LSP to the backup LSP.

work-lsp: Switches data from the backup LSP to the main LSP.

Description

Use the mpls te protect-switch command 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

·           Forced switch

·           Signal fail

·           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. This keyword is not supported when the signaling protocol is CR-LDP.

Description

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

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

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

Examples

# Enable route recording on MPLS TE tunnel 3.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te reoptimization command to enable reoptimization on the tunnel.

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

Reoptimization is disabled by default.

 

 

NOTE:

The reoptimization function cannot be used together with these commands:

mpls te auto-bandwidth adjustment, 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 3

[Sysname-Tunnel3] 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 the mpls te reoptimization command 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 the mpls te resv-style command to set the resource reservation style for the MPLS TE tunnel.

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

The default resource reservation style is SE.

You may 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 for TE tunnel 3.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te retry command to configure the maximum number of tunnel setup retries.

Use the undo mpls te retry command to restore the default.

The default maximum number of tunnel setup retries is 10.

You may 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 3

[Sysname-Tunnel3] 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 the mpls te route-pinning command to enable route pinning.

Use the undo mpls te route-pinning command 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 and the mpls te auto-bandwidth adjustment command.

 

Examples

# Enable route pinning.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] mpls te route-pinning

mpls te signal-protocol

Syntax

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

View

Tunnel interface view

Default level

2: System level

Parameters

crldp: Sets the signaling protocol for MPLS TE tunnel establishment to CR-LDP.

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 the mpls te signal-protocol command 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.

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

 

Examples

# Adopt CR-LDP as the signaling protocol for establishing MPLS TE tunnel 3.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] mpls te signal-protocol crldp

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 the mpls te tie-breaking command to specify a tie breaker that a tunnel uses to select a path when multiple paths with the same metric are present.

Use the undo mpls te tie-breaking command 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 path with the least bandwidth usage ratio.

<Sysname> system-view

[Sysname] mpls

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

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

<Sysname> system-view

[Sysname] interface tunnel 3

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

mpls te timer auto-bandwidth

Syntax

mpls te timer auto-bandwidth [ seconds ]

undo mpls te timer auto-bandwidth

View

MPLS view

Default level

2: System level

Parameters

seconds: Interval for output rate sampling for tunnels configured with automatic bandwidth adjustment, in the range of 1 to 604800 seconds. If it is not configured, the default of 300 seconds applies. H3C recommends using the default in normal cases.

Description

Use the mpls te timer auto-bandwidth command to enable automatic bandwidth adjustment and set the interval for output rate sampling for tunnels governed by automatic bandwidth adjustment.

Use the undo mpls te timer auto-bandwidth command to restore the default.

By default, automatic bandwidth adjustment is disabled.

 

 

NOTE:

To change the output rate sampling interval, use the undo mpls te timer auto-bandwidth command to disable automatic bandwidth adjustment first and then use the mpls te timer auto-bandwidth command to re-configure it.

 

Related commands: mpls te auto-bandwidth.

Examples

# Collect the output rates of MPLS TE tunnels automatically every 10 seconds or 600 seconds.

<Sysname> system-view

[Sysname] mpls

[Sysname-mpls] mpls te timer auto-bandwidth 600

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 ranges from 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 the mpls te timer fast-reroute command to set the FRR polling timer.

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

The default FRR polling timer is 300 seconds.

 

 

NOTE:

This command is not supported when the signaling protocol is CR-LDP.

 

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 the mpls te timer link-management periodic-flooding command to configure the interval for advertising updated bandwidth.

Use the undo mpls te timer link-management periodic-flooding command 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, that is, 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 second

undo mpls te timer retry

View

Tunnel interface view

Default level

2: System level

Parameters

second: Interval for re-establishing the tunnel, in the range of 1 to 4294967295 seconds.

Description

Use the mpls te timer retry command to configure the interval for re-establishing the tunnel.

Use the undo mpls te timer retry command 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 tunnel 0 to 20 seconds.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] 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 the mpls te tunnel-id command 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 3

[Sysname-Tunnel3] 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.

 

 

NOTE:

Only ACLs with VPN instances specified in the rules can be referenced in the mpls te vpn-binding command.

 

Description

Use the mpls te vpn-binding command to define the traffic that can travel 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 the undo mpls te vpn-binding command to restore the default.

By default, no restriction is defined about what traffic can travel down a TE tunnel.

The router 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 what traffic to be forwarded. The router does not perform load sharing over different types of TE tunnels.

Examples

# Configure tunnel 3 to forward only traffic of the VPN vpn1.

<Sysname> system-view

[Sysname] interface tunnel 3

[Sysname-Tunnel3] mpls te vpn-binding vpn-instance vpn1

# Configure tunnel 3 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 3

[Sysname-Tunnel3] mpls te vpn-binding acl 3001

[Sysname-Tunnel3] 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 the mpls-te command to enable the MPLS TE capability in current OSPF area.

Use the undo mpls-te command to disable the MPLS TE capability in 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 approach, this IP address must be a link IP address. In the loose routing approach, this IP address can be either a link IP address or router ID.

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 connected directly.

exclude: Excludes the specified IP address from the explicit path.

Description

Use the next hop command to define a node on the explicit path. By performing this command multiple times, you may 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 device 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 the opaque-capability command to enable the opaque LSA capability for the OSPF process to generate and receive from its neighbors Opaque LSAs.

Use the undo opaque-capability command 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 ranges from 1 to 4294967295 and defaults to 5.

-exp exp-value: Specifies the EXP value for the Echo Request messages. The exp-value argument ranges from 0 to 7 and default to 0.

-h ttl-value: Specifies the TTL value for the Echo Request messages. The ttl-value argument ranges from 1 to 255 and defaults to 255.

-m wait-time: Specifies the interval for sending Echo Request messages. The wait-time argument ranges from 1 to 10000 and default 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 or 2, where 1 means “Do not response” and 2 means “Respond using a UDP packet”. The default is 2.

-s packet-size: Specifies the payload length of the Echo Request messages. The packet-size argument ranges from 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 ranges from 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 the ping lsp te command 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 the reset mpls rsvp-te statistics command 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, 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 assigned to static CR-LSP traffic, in the range of 1 to 32000000, in kbps.

Description

Use the static-cr-lsp egress command to configure a static CR-LSP on the egress node.

Use the undo static-cr-lsp egress command 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.

Related commands: mpls te tunnel-id.

Examples

# Configure a static CR-LSP on the egress node, setting its name to tunnel3, incoming interface to GigabitEthernet 3/1/1, and incoming label to 233.

<Sysname> system-view

[Sysname] static-cr-lsp egress tunnel3 incoming-interface GigabitEthernet 3/1/1 in-label 233

static-cr-lsp ingress

Syntax

static-cr-lsp ingress tunnel-name destination dest-addr { nexthop next-hop-addr | outgoing-interface interface-type interface-number } 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 the tunnel interface created is Tunnel2, the tunnel name referenced here must be Tunnel2.

destination dest-addr: Specifies the IP address of the tunnel destination.

nexthop next-hop-addr: Specifies the next hop address.

outgoing-interface interface-type interface-number: Specifies an outgoing interface for the static CR-LSP.

out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, and 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 assigned to the static CR-LSP, in the range of 1 to 32000000 kbps.

Description

Use the static-cr-lsp ingress command to configure a static CR-LSP at the ingress node.

Use the undo static-cr-lsp ingress command 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 Tunnel3, 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 Tunnel3 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 | outgoing-interface interface-type interface-number } 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, which ranges from 16 to 1023.

nexthop next-hop-addr: Specifies the next hop address.

outgoing-interface interface-type interface-number: Specifies an outgoing interface for the static CR-LSP.

out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, 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 assigned to the static CR-LSP, in the range of 1 to 32000000 kbps.

Description

Use the static-cr-lsp transit command to configure a static CR-LSP on a transit node.

Use the undo static-cr-lsp transit command 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 tunnel3, incoming interface to GigabitEthernet 3/1/1, incoming label to 123, outgoing interface to GigabitEthernet 4/1/1, outgoing label to 253, CT of traffic to CT 0, and required bandwidth to 20 kbps.

<Sysname> system-view

[Sysname] static-cr-lsp transit tunnel3 incoming-interface GigabitEthernet3/1/1 in-label 123 outgoing-interface GigabitEthernet 4/1/1 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 the te-set-subtlv command to configure the sub-TLVs carrying the DS-TE parameters. As no standard is available for these sub-TLVs, you need to configure them manually for interoperability with other vendors' routers.

Use the undo te-set-subtlv command 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 ranges from 0 to 7 and defaults to 0.

-h ttl-value: Specifies the TTL value for the Echo Request messages. The ttl-value argument ranges from 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 response” 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 ranges from 0 to 65535 and defaults to 2000, in milliseconds.

te interface-type interface-number: Specifies a tunnel interface.

Description

Use the tracert lsp te command 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 38 Output description

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 the traffic-eng command to enable IS-IS TE.

Use the undo traffic-eng command to restore the default.

By default, IS-IS TE is disabled.

 

 

NOTE:

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
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网