06-MPLS Command Reference

HomeSupportSwitchesS12500R SeriesReference GuidesCommand ReferencesH3C S12500R Switch Router Series Command References(R36xx)-6W10106-MPLS Command Reference
04-MPLS TE commands
Title Size Download
04-MPLS TE commands 578.83 KB

Contents

MPLS TE commands· 1

auto-bandwidth enable· 1

auto-tunnel backup· 2

backup-path exclude-srlg· 3

delete-delay· 3

destination· 4

disable (explicit path view) 5

display explicit-path· 5

display isis mpls te advertisement 6

display isis mpls te configured-sub-tlvs· 9

display isis mpls te network· 10

display isis mpls te tunnel 11

display mpls statistics tunnel-interface· 13

display mpls te binding-sid· 14

display mpls te binding-sid ref-list 14

display mpls te ds-te· 15

display mpls te link-management bandwidth-allocation· 16

display mpls te link-management srlg· 18

display mpls te pce discovery· 19

display mpls te pce lspdb· 21

display mpls te pce parameter 24

display mpls te pce peer 26

display mpls te pce stateful neighbor 28

display mpls te pce statistics· 29

display mpls te segment-routing tunnel path· 31

display mpls te srlg· 32

display mpls te tedb· 33

display mpls te tunnel-interface· 38

display ospf mpls te advertisement 43

display ospf mpls te network· 45

display ospf mpls te pce· 46

display ospf mpls te tunnel 48

display tunnel-bundle· 49

ds-te bc-model 50

ds-te mode· 51

ds-te te-class· 52

exclude-srlg· 54

explicit-path· 54

fast-reroute timer 55

interface tunnel-bundle· 56

link-management periodic-flooding timer 57

member interface· 57

mpls te· 58

mpls te affinity-attribute· 59

mpls te auto-bandwidth· 60

mpls te auto-tunnel backup disable· 62

mpls te backup· 63

mpls te backup bandwidth· 64

mpls te backup-path· 64

mpls te bandwidth· 66

mpls te bandwidth change thresholds· 67

mpls te binding-sid· 68

mpls te delegation· 69

mpls te enable (interface view) 70

mpls te enable (IS-IS view) 70

mpls te enable (OSPF area view) 71

mpls te fast-reroute· 72

mpls te fast-reroute bypass-tunnel 73

mpls te igp advertise· 74

mpls te igp metric· 75

mpls te igp shortcut 75

mpls te link-attribute· 76

mpls te load-share· 77

mpls te loop-detection· 78

mpls te max-link-bandwidth· 79

mpls te max-reservable-bandwidth· 80

mpls te max-reservable-bandwidth mam·· 81

mpls te max-reservable-bandwidth rdm·· 83

mpls te metric· 84

mpls te passive-delegate report-only· 85

mpls te path· 85

mpls te path verification· 86

mpls te path-metric-type· 87

mpls te priority· 88

mpls te record-route· 89

mpls te reoptimization (tunnel interface view) 90

mpls te reoptimization (user view) 91

mpls te resv-style· 91

mpls te retry· 92

mpls te route-pinning· 93

mpls te service-class· 93

mpls te signaled-name· 94

mpls te signaling· 95

mpls te srlg· 96

mpls te static-cr-lsp· 97

mpls te statistics· 97

mpls te statistics service-class interval 98

mpls te timer retry· 99

mpls te tunnel-attribute prefer 100

nexthop· 100

nextsid· 102

nhop-only· 103

path verification enable· 103

path-metric-type· 104

pce address· 105

pce capability segment-routing· 106

pce deadtimer 106

pce keepalive· 107

pce multi-delegate enable· 108

pce peer delegation-priority· 108

pce peer keychain· 109

pce peer md5· 110

pce redelegation-timeout 111

pce request-timeout 111

pce retain initiated-lsp· 112

pce retain lsp-state· 113

pce state-timeout 113

pce static· 114

pce tolerance· 115

pcep type· 116

reset mpls statistics tunnel-interface· 116

reset mpls te auto-bandwidth-adjustment timers· 117

reset mpls te pce statistics· 117

snmp-agent trap enable te· 118

switch-delay· 118

te-subtlv· 119

timers removal unused· 120

tunnel route-static· 121

tunnel-attribute prefer 122

tunnel-number 123

 


MPLS TE commands

auto-bandwidth enable

Use auto-bandwidth enable to enable automatic bandwidth adjustment globally, and set the output rate sampling interval.

Use undo auto-bandwidth enable to disable automatic bandwidth adjustment.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

auto-bandwidth enable [ sample-interval interval ]

undo auto-bandwidth enable

Default

The global automatic bandwidth adjustment is disabled.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

sample-interval interval: Specifies an output rate sampling interval for tunnels enabled with automatic bandwidth adjustment, in the range of 1 to 604800 seconds. The default sampling interval is 300 seconds. As a best practice, use the default sampling interval.

Usage guidelines

The automatic bandwidth adjustment feature measures the average output rate of a tunnel, and periodically tunes the bandwidth assigned to the tunnel based on the measurement results.

The output rate sampling feature calculates the average output rate of a tunnel based on the traffic passed through the tunnel interface during a sampling interval.

To use the automatic bandwidth adjustment feature for an MPLS TE tunnel, you must perform the following tasks:

1.     Execute the auto-bandwidth enable command to enable this feature globally.

2.     Execute the mpls te auto-bandwidth adjustment command in the tunnel interface view.

Set the output rate sampling interval to an integral multiple of the interface statistics polling interval as a best practice to collect accurate sampling statistics. To set the interface statistics polling interval, use the flow-interval command. For more information about the flow-interval command, see Ethernet interface commands in Interface Command Reference.

Examples

# Enable global automatic bandwidth adjustment, and set the output rate sampling interval to 600 seconds on MPLS TE tunnel interfaces.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] auto-bandwidth enable sample-interval 600

Related commands

mpls te auto-bandwidth

reset mpls te auto-bandwidth-adjustment timers

auto-tunnel backup

Use auto-tunnel backup to enable the automatic bypass tunnel setup feature (also called auto FRR) globally, and enter MPLS TE auto FRR view.

Use undo auto-tunnel backup to disable the auto FRR feature globally.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

auto-tunnel backup

undo auto-tunnel backup

Default

The auto FRR feature is disabled globally.

Views

MPLS TE view

Predefined user roles

network-admin

Usage guidelines

This feature enables the device to automatically set up two bypass tunnels for each primary CRLSP: one for link protection and the other for node protection. For the tunnels to be set up, you must also use the tunnel-number command to specify a tunnel interface number range.

Execution of the undo auto-tunnel backup command deletes all existing bypass tunnels automatically created for MPLS TE auto FRR.

If the PLR is the penultimate node of a primary CRLSP, the PLR does not create a node-protection bypass tunnel for the primary CRLSP.

Examples

# Enable the automatic bypass tunnel setup feature globally, and enter MPLS TE auto FRR view.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] auto-tunnel backup

[Sysname-te-auto-bk]

Related commands

mpls te auto-tunnel backup disable

nhop-only

timers removal unused

tunnel-number

backup-path exclude-srlg

Use backup-path exclude-srlg to configure CSPF to include the SRLG constraint in the computation of a backup path.

Use undo backup-path exclude-srlg to restore the default.

Syntax

backup-path exclude-srlg [ preferred ]

undo backup-path exclude-srlg

Default

CSPF does not include the SRLG constraint in the computation of a backup path.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

preferred: Prefers to use the SRLG constraint in the backup path computation, and if the computation fails, the SRLG constraint will not be used in the subsequent backup path computation. If you do not specify this keyword, the SRLG constraint must be included in the backup path computation.

Usage guidelines

If the SRLG constraint is included in path computation, CSPF excludes all links with interfaces which belong to the same SRLG as the protected interface.

In hot-standby SRLSP backup scenarios, executing this command on the tunnel ingress ensures that the links on the primary and backup paths are not in the same SRLG. This improves the reliability of the MPLS TE tunnel.

Examples

# Configure CSPF to include the SRLG constraint in the computation of a backup path.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] backup-path exclude-srlg

delete-delay

Use delete-delay to set the time that MPLS TE must wait before deleting the old CRLSP.

Use undo delete-delay to restore the default.

Syntax

delete-delay time-value

undo delete-delay

Default

MPLS TE must wait 10000 milliseconds before deleting the old CRLSP.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

time-value: Specifies the time that MPLS TE must wait before deleting the old CRLSP, in the range of 0 to 65535000 milliseconds.

Usage guidelines

When TE attributes (bandwidth and priority, for example) of an MPLS TE tunnel change, MPLS TE establishes a new CRLSP compliant with the new attributes. MPLS TE uses the make-before-break mechanism to make sure the new CRLSP is established to take over traffic forwarding before deleting the old CRLSP. The mechanism starts a delay timer after traffic is switched to the new CRLSP and does not delete the old CRLSP until the timer expires. If the new CRLSP fails during the delay time, the old CRLSP will not be deleted, so that the traffic can be switched back to the old CRLSP.

MPLS TE uses a PathErr message to report the failure of the new CRLSP from downstream to upstream. The message might not be able to reach the upstream nodes before the old CRLSP is deleted because the downstream nodes are too busy to deliver it. To prevent this problem, use this command to tune the delay time to ensure enough time for the failure to be reported before the old CRLSP is deleted.

Examples

# Configure MPLS TE to wait 100000 milliseconds before deleting the old CRLSP during path selection.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] delete-delay 100000

destination

Use destination to configure the destination address for a tunnel bundle interface.

Use undo destination to restore the default.

Syntax

destination ip-address

undo destination

Default

No destination address is specified for a tunnel bundle interface.

Views

Tunnel bundle interface view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the destination IPv4 address.

Usage guidelines

When the remote PE have the same address as the tunnel bundle destination, the tunnel bundle can be used as the public tunnel for MPLS L3VPN, MPLS L2VPN, and VPLS.

As a best practice, configure the same destination address for a tunnel bundle interface and its member interfaces. If a tunnel bundle interface and its member interfaces have different destination addresses, traffic cannot be forwarded unless the member interfaces can reach the tunnel bundle interface's destination address.

Examples

# Configure the destination address for tunnel bundle interface Tunnel-Bundle 2 as 2.2.2.2.

<Sysname> system-view

[Sysname] interface tunnel-bundle 2

[Sysname-Tunnel-Bundle2] destination 2.2.2.2

Related commands

display tunnel-bundle

disable (explicit path view)

Use disable to disable an explicit path.

Use undo disable to restore the default.

Syntax

disable

undo disable

Default

The explicit path is enabled.

Views

Explicit path view

Predefined user roles

network-admin

Usage guidelines

You can use the disable command to prevent an explicit path from being used by a tunnel during explicit path configuration.

Examples

# Disable explicit path path1.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] disable

display explicit-path

Use display explicit-path to display explicit path information.

Syntax

display explicit-path [ path-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

path-name: Displays information about the explicit path specified by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this argument, the command displays information about all explicit paths.

Examples

# Display information about all explicit paths.

<Sysname> display explicit-path

Path Name: path1      Hop Count: 3     Path Status: Enabled

Index     IP Address             Hop Type    Hop Attribute

1         1.1.1.1                Strict      Include

101       2.2.2.2                Loose       Include

201       3.3.3.3                  -         Exclude

Table 1 Command output

Field

Description

Path Name

Name of the explicit path.

Hop Count

Number of nodes specified in the explicit path.

Path Status

Explicit path status:

·     Enabled—The explicit path is available.

·     Disabled—The explicit path is not available.

Index

Index of a node on the explicit path.

IP Address

IP address of a node on the explicit path.

Hop Type

Node type:

·     Strict—The node must be connected directly to its previous hop.

·     Loose—The node can be connected indirectly to its previous hop.

Hop Attribute

Node attribute:

·     Include—The node must be included in the explicit path.

·     Exclude—The node must not be included in the explicit path.

·     Exclude-SRLG—The links in the same SRLG as the specified IP address must not be included in the explicit path.

display isis mpls te advertisement

Use display isis mpls te advertisement to display link and node information in an IS-IS TEDB.

Syntax

display isis mpls te advertisement [ [ level-1 | level-2 ] | [ originate-system system-id | local ] | verbose ] * [ process-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

level-1: Displays link and node information for Level-1 routers.

level-2: Displays link and node information for Level-2 routers.

originate-system system-id: Displays link and node information advertised by the system specified by its system ID, in the format of XXXX.XXXX.XXXX.

local: Displays link and node information advertised by the local device.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. If you do not specify an IS-IS process, this command displays link and node information for all IS-IS processes.

Usage guidelines

If you do not specify the level-1 or level-2 keyword, this command displays link and node information for both Level-1 and Level-2 routers.

If you do not specify the originate-system system-id option or the local keyword, this command displays link and node information advertised by all systems.

Examples

# Display brief link and node information in the IS-IS TEDB for Level-1 routers.

<Sysname> display isis mpls te advertisement level-1

                           TE information for IS-IS(1)

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

 

Level-1 TE node and link information

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

Node total count   : 2

Node index         : 0

  System ID        : 0000.0000.0004

  MPLS LSR ID      : 4.4.4.4

  Node flags       : -/-/R/-

  Link total count : 1

  Link information :

    Neighbor           Frag ID   Link Type   Local Address    Remote Address

    0000.0000.0004.04   0x00      Broadcast   1.1.1.3

 

Node index         : 1

  System ID        : 0000.0000.0001

  MPLS LSR ID      : 1.1.1.1

  Node flags       : -/-/R/-

  Link total count : 1

  Link information :

    Neighbor           Frag ID   Link Type   Local Address    Remote Address

    0000.0000.0004.04   0x00      Broadcast   1.1.1.1          --

# Display detailed link and node information in the IS-IS TEDB for Level-1 routers.

<Sysname> display isis mpls te advertisement level-1 local verbose

                           TE information for IS-IS(1)

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

 

Level-1 TE node and link information

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

Node total count   : 2

Node index         : 0

  System ID        : 0000.0000.0004

  MPLS LSR ID      : 4.4.4.4

  Node flags       : -/-/R/-

  Link total count : 1

  Link information :

  Link index   : 0

    Neighbor   : 0000.0000.0004.04       Frag ID     : 0x00

    Link type  : Broadcast               Admin group : 0x00000000

    IGP metric : 10                      TE metric   : 10

    Link flags : -/-/-

    Physical bandwidth: 12500000 bytes/sec

    Reservable bandwidth: 0 bytes/sec

    Unreserved bandwidth for each TE class:

      TE class  0: 0 bytes/sec           TE class  1: 0 bytes/sec

      TE class  2: 0 bytes/sec           TE class  3: 0 bytes/sec

      TE class  4: 0 bytes/sec           TE class  5: 0 bytes/sec

      TE class  6: 0 bytes/sec           TE class  7: 0 bytes/sec

      TE class  8: 0 bytes/sec           TE class  9: 0 bytes/sec

      TE class 10: 0 bytes/sec           TE class 11: 0 bytes/sec

      TE class 12: 0 bytes/sec           TE class 13: 0 bytes/sec

      TE class 14: 0 bytes/sec           TE class 15: 0 bytes/sec

    Bandwidth constraint model: Prestandard DS-TE RDM

    Bandwidth constraints:

      BC[00]: 0 bytes/sec                BC[01]: 0 bytes/sec

    Local address: 1.1.1.3

 

Node index         : 1

  System ID        : 0000.0000.0001

  MPLS LSR ID      : 1.1.1.1

  Node flags       : -/-/-/-

  Link total count : 1

  Link information :

  Link index  : 0

    Neighbor  : 0000.0000.0004.04        Frag ID     : 0x00

    Link type : Broadcast                Admin group : 0x00000000

    IGP metric: 10                       TE metric   : 10

    Link flags: -/-/-

    Physical bandwidth: 12500000 bytes/sec

    Reservable bandwidth: 0 bytes/sec

    Unreserved bandwidth for each TE class:

      TE class  0: 0 bytes/sec           TE class  1: 0 bytes/sec

      TE class  2: 0 bytes/sec           TE class  3: 0 bytes/sec

      TE class  4: 0 bytes/sec           TE class  5: 0 bytes/sec

      TE class  6: 0 bytes/sec           TE class  7: 0 bytes/sec

      TE class  8: 0 bytes/sec           TE class  9: 0 bytes/sec

      TE class 10: 0 bytes/sec           TE class 11: 0 bytes/sec

      TE class 12: 0 bytes/sec           TE class 13: 0 bytes/sec

      TE class 14: 0 bytes/sec           TE class 15: 0 bytes/sec

    Bandwidth constraint model: Prestandard DS-TE RDM

    Bandwidth constraints:

      BC[00]: 0 bytes/sec                BC[01]: 0 bytes/sec

    Local address: 1.1.1.1

Table 2 Command output

Field

Description

TE information for IS-IS(1)

TE information for IS-IS process 1.

Node total count

Total number of nodes that advertised TE information.

Node flags

Node information flags:

·     A—Already synchronized node information with CSPF.

·     S—Ready to synchronize node information with CSPF again after the previous synchronization failed.

·     R—The node is reachable.

·     O—The node is overloaded.

Link total count

Total number of links advertised by the node.

Link information

Link information advertised by the node.

Neighbor

System ID of the neighbor.

Frag ID

LSP fragment number.

Link type

Link type: Broadcast or P2P.

Admin group

Administrator group attribute of the link.

Link flags

Link information flags:

·     A—Already synchronized link information with CSPF.

·     U—Ready to update link information with CSPF again after the previous update failed.

·     D—Ready to delete link information from CSPF again after the previous deletion failed.

Bandwidth constraint model

Bandwidth constraint model:

·     Prestandard DS-TE RDM.

·     IETF DS-TE RDM.

·     IETF DS-TE MAM.

Local address

Local IP address of the link.

Remote address

Remote IP address of the link.

display isis mpls te configured-sub-tlvs

Use display isis mpls te configured-sub-tlvs to display sub-TLV information for IS-IS TE.

Syntax

display isis mpls te configured-sub-tlvs [ process-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. If you do not specify an IS-IS process, this command displays sub-TLV information for all IS-IS processes.

Examples

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

<Sysname> display isis mpls te configured-sub-tlvs

 

TE sub-TLV information for IS-IS(1)

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

  Type value of the unreserved sub-pool bandwidth sub-TLV : 251

  Type value of the bandwidth constraint sub-TLV          : 252

Table 3 Command output

Field

Description

TE Sub-TLV Information for IS-IS(1)

DS-TE sub-TLV information for IS-IS process 1.

display isis mpls te network

Use display isis mpls te network to display network information in an IS-IS TEDB.

Syntax

display isis mpls te network [ [ level-1 | level-2 ] | local | lsp-id lsp-id ] * [ process-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

level-1: Displays network information for Level-1 routers.

level-2: Displays network information for Level-2 routers.

local: Displays network information advertised by the local device.

lsp-id lsp-id: Displays network information for an LSP. The lsp-id argument is the LSP ID in the format of SYSID.Pseudonode ID-fragment num. SYSID represents the system ID of the node or pseudonode that generates the LSP. Pseudonode ID represents ID of the pseudonode. fragment num represents the fragment number of the LSP.

process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. If you do not specify an IS-IS process, this command displays network information for all IS-IS processes.

Usage guidelines

If you do not specify the level-1 or level-2 keyword, this command displays network information for both Level-1 and Level-2 routers.

If you do not specify the local keyword or the lsp-id lsp-id option, this command displays all TE network information.

Examples

# Display network information in IS-IS TEDBs.

<Sysname> display isis mpls te network

 

     TE information for IS-IS(1)

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

 

Level-1 network information

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

LAN ID             : 0000.0000.0004.04

Frag ID            : 0x00

Flags              : -/-/-

Attached routers   : 0000.0000.0001

                     0000.0000.0004

 

Level-2 Network Information

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

LAN ID             : 0000.0000.0004.04

Frag ID            : 0x00

Flags              : -/-/-

Attached routers   : 0000.0000.0001

                     0000.0000.0004

Table 4 Command output

Field

Description

TE information for IS-IS(1)

TE information for IS-IS process 1.

LAN ID

Broadcast network ID, in the format of System-ID.Pseudonode-ID.

Frag ID

LSP fragment number.

Flags

State flag for network information:

·     A—Already synchronizes network information with CSPF.

·     U—Ready to update network information with CSPF again after the previous update failed.

·     D—Ready to delete network information from CSPF again after the previous deletion failed.

display isis mpls te tunnel

Use display isis mpls te tunnel to display MPLS TE tunnel interface information for IS-IS.

Syntax

display isis mpls te tunnel [ level-1 | level-2 ] [ process-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

level-1: Displays tunnel interface information for Level-1 routers.

level-2: Displays tunnel interface information for Level-2 routers.

process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. If you do not specify an IS-IS process, this command displays tunnel information for all IS-IS processes.

Usage guidelines

If you do not specify the level-1 or level-2 keyword, this command displays IS-IS tunnel interface information for both IS-IS Level-1 and IS-IS Level-2 routers.

Examples

# Display MPLS TE tunnel interface information for IS-IS.

<Sysname> display isis mpls te tunnel

 

                    MPLS-TE tunnel information for IS-IS(1)

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

 

                           Level-1 Tunnel Statistics

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

 

   Tunnel Name      Auto Route       Destination      Metric

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

   Tun0             Advertise        2.2.2.2          Relative 0

 

                           Level-2 Tunnel Statistics

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

 

   Tunnel Name      Auto Route       Destination      Metric

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

   Tun0             Advertise        2.2.2.2          Relative 0

Table 5 Command output

Field

Description

MPLS-TE tunnel information for IS-IS(1)

MPLS TE tunnel interface information for IS-IS process 1.

Auto Route

Automatic route advertisement method on the tunnel interface:

·     Advertise—Forwarding adjacency.

·     Shortcut—IGP shortcut.

Destination

Tunnel destination address.

Metric

Metric type and value configured on the tunnel interface:

·     Relative.

·     Absolute.

display mpls statistics tunnel-interface

Use display mpls statistics tunnel-interface to display MPLS TE tunnel traffic statistics.

Syntax

display mpls statistics tunnel-interface number [ service-class service-class-value ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

number: Specifies a tunnel interface by its number. The value range for this argument is 0 to 70000.

service-class service-class-value: Specifies a service class value in the range of 0 to 7. If you do not specify a service class value, this command displays total traffic statistics for the tunnel interface.

 

 

NOTE:

The service-class service-class-value option is supported only in R3608 and later.

 

Usage guidelines

If the type of a tunnel changes, the system restarts traffic statistics collection for the tunnel.

The system performs MPLS TE tunnel traffic statistics based on LSPs. If the LSP of a tunnel is removed, the tunnel traffic statistics is cleared.

Examples

# Display MPLS TE tunnel traffic statistics for tunnel interface 0.

<Sysname> display mpls statistics tunnel-interface 0

Tunnel name: Tunnel 0

Output total:

20000 packets, 40000 bytes, 850 drops

# Display MPLS TE tunnel traffic statistics for service class 2 on tunnel interface 0.

<Sysname> display mpls statistics tunnel-interface 0 service-class 2

Tunnel name : Tunnel 0

Output service-class 2:

60000 packets, 100000 bytes, 450 drops

Table 6 Command output

Field

Description

Output service-class

Traffic statistics for the specified service class in the outbound direction of the tunnel.

drops

Number of packets dropped.

display mpls te binding-sid

Use display mpls te binding-sid to display MPLS TE tunnel and BSID associations.

Syntax

display mpls te binding-sid [ label label-value ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

label label-value: Specifies a BSID label in the range of 16 to 1048575. If you do not specify a BSID, this command displays all MPLS TE tunnel and BSID associations.

Examples

# Display all MPLS TE tunnel and BSID associations.

<Sysname> display mpls te binding-sid

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

Label value      Signaling type            Tunnel name

10000            Segment-Routing           Tunnel10

10001            Segment-Routing           Tunnel11

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

# Display the MPLS TE tunnel associated with BSID 1000.

<Sysname> display mpls te binding-sid label 1000

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

Label value      Signaling type            Tunnel name

1000             Segment-Routing           Tunnel1

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

Table 7 Command output

Field

Description

Label value

BSID associated with the MPLS TE tunnel.

Signaling type

Signaling protocol used to established the tunnel. The value of this field is Segment-Routing.

Tunnel name

Name of the tunnel.

display mpls te binding-sid ref-list

Use display mpls te binding-sid ref-list to display information about the explicit paths that use BSIDs.

Syntax

display mpls te binding-sid ref-list [ label label-value ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

label label-value: Specifies a BSID label in the range of 0, 3, 16 to 1048575. If you do not specify a BSID, this command displays information about all explicit paths that use a BSID.

Examples

# Display information about all explicit paths that use a BSID.

<Sysname> display mpls te binding-sid ref-list

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

Binding SID: 100             Reference count: 1

Explicit path list:

path123

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

Binding SID: 200             Reference Count: 3

Explicit path list:

200

201

aaa

# Display information about explicit paths that use BSID 300.

<Sysname> display mpls te binding-sid ref-list label 300

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

Binding SID: 300             Reference Count: 2

Explicit path list:

path300

path400

Table 8 Command output

Field

Description

Binding SID

BSID of the MPLS TE tunnel.

Reference count

Number of times that the SID was used.

Explicit path list

List of the explicit paths that use the SID.

 

Related commands

nextsid

display mpls te ds-te

Use display mpls te ds-te to display DS-TE information, including the DS-TE mode, bandwidth constraint (BC) model, and TE classes.

Syntax

display mpls te ds-te

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display DS-TE information.

<Sysname> display mpls te ds-te

MPLS LSR ID         : 0.0.0.0

MPLS DS-TE mode     : Prestandard

MPLS DS-TE BC model  : RDM

TE Class       Class Type     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 9 Command output

Field

Description

MPLS LSR ID

MPLS LSR ID of the device.

MPLS DS-TE mode

DS-TE mode: Prestandard or IETF.

MPLS DS-TE BC model

DS-TE BC model:

·     RDM—Russian Dolls Model.

·     MAM—Maximum Allocation Model.

·     Extended-MAM—Extended Maximum Allocation Model.

TE Class

Serial number of a TE class.

display mpls te link-management bandwidth-allocation

Use display mpls te link-management bandwidth-allocation to display bandwidth information on MPLS TE-enabled interfaces.

Syntax

display mpls te link-management bandwidth-allocation [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Displays bandwidth information on the interface specified by its type and number. If you do not specify this option, the command displays bandwidth information on all MPLS TE-enabled interfaces except VA interfaces.

Examples

# Display bandwidth information on all MPLS TE-enabled interfaces.

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

Interface: HundredGigE1/0/1

  Max Link Bandwidth                          : 3200000 kbps                

  Max Reservable Bandwidth of Prestandard RDM : 2000000 kbps                

  Max Reservable Bandwidth of IETF RDM        : 200000 kbps            

  Max Reservable Bandwidth of IETF MAM        : 300000 kbps

  Allocated Bandwidth-Item Count :1

  Allocated Bandwidth            :1000 kbps

  Physical Link Status           : Up

  BC  Prestandard RDM(kbps)  IETF RDM(kbps)       IETF 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

Table 10 Command output

Field

Description

Interface

Interface enabled with MPLS TE.

Max Link Bandwidth

Maximum link bandwidth for MPLS TE traffic.

Allocated Bandwidth-Item Count

Number of CRLSPs that have successfully obtained bandwidth.

Related commands

mpls te max-link-bandwidth

mpls te max-reservable-bandwidth

mpls te max-reservable-bandwidth mam

mpls te max-reservable-bandwidth rdm

display mpls te link-management srlg

Use display mpls te link-management srlg to display the SRLG information of interfaces.

Syntax

display mpls te link-management srlg [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays SRLGs of all interfaces.

Examples

# Display SRLGs of all interfaces.

<Sysname> display mpls te link-management srlg

Interface HundredGigE1/0/1:

  SRLGs: 1, 2

Interface HundredGigE1/0/2:

  SRLGs: 2, 3

Table 11 Command output

Field

Description

Interface

Interface configured with SRLGs.

SRLGs

List of the SRLG numbers of the interface.

display mpls te pce discovery

Use display mpls te pce discovery to display information about discovered PCEs.

Syntax

display mpls te pce discovery [ ip-address ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ip-address: Specifies a PCE by its IP address. If you do not specify this argument, the command displays information about all discovered PCEs.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

Examples

# Display brief information about PCE 100.100.100.150.

<Sysname> display mpls te pce discovery 100.100.100.150

Total number of PCEs: 1

Peer address          Discovery methods

100.100.100.150       Static, OSPF

# Display brief information about all discovered PCEs.

<Sysname> display mpls te pce discovery

Total number of PCEs: 3

Peer address          Discovery methods

100.100.100.10        OSPF

100.100.100.150       Static, OSPF

100.100.100.160       Static

Table 12 Command output

Field

Description

Peer address

IP address of the PCE.

Discovery methods

PCE discovery methods:

·     Static—The PCE is specified by command.

·     OSPF—The PCE is discovered automatically by OSPF.

# Display detailed information about PCE 2.2.2.9.

<Sysname> display mpls te pce discovery 2.2.2.9 verbose

PCE address: 2.2.2.9

  Discovery methods: OSPF

  Path scopes:

    Path scope                                                  Preference

    Compute intra-area paths                                    7

    Act as PCE for inter-area TE LSP computation                6

    Act as a default PCE for inter-area TE LSP computation      6

  Capabilities:

    Bidirectional path computation

    Support for request prioritization

    Support for multiple requests per message

  Domains:

    OSPF 1 area 0.0.0.0

    OSPF 1 area 0.0.0.1

# Display detailed information about all discovered PCEs.

<Sysname> display mpls te pce discovery verbose

PCE address: 2.2.2.9

  Discovery methods: OSPF

  Path scopes:

    Path scope                                                  Preference

    Compute intra-area paths                                    7

    Act as PCE for inter-area TE LSP computation                6

    Act as a default PCE for inter-area TE LSP computation      6

  Capabilities:

    Bidirectional path computation

    Support for request prioritization

    Support for multiple requests per message

  Domains:

    OSPF 1 area 0.0.0.0

    OSPF 1 area 0.0.0.1

 

PCE address: 4.4.4.9

  Discovery methods: OSPF

  Path scopes:

    Path scope                                                  Preference

    Compute intra-area paths                                    7

    Act as PCE for inter-area TE LSP computation                6

  Capabilities:

    Bidirectional path computation

    Support for request prioritization

    Support for multiple requests per message

  Domains:

    OSPF 1 area 0.0.0.2

  Neighbor domains:

    OSPF 1 area 0.0.0.0

Table 13 Command output

Field

Description

Discovery methods

PCE discovery methods:

·     Static—The PCE is specified by command.

·     OSPF—The PCE is discovered automatically by OSPF.

Path scope

Scope of PCE path computation:

·     Compute intra-area paths.

·     Act as PCE for inter-area TE LSP computation.

·     Act as a default PCE for inter-area TE LSP computation.

·     Act as PCE for inter-AS TE LSP.

·     Act as a default PCE for inter-AS TE LSP.

·     Act as PCE for inter-layer TE LSP.

Preference

Preference of the PCE path scope, in the range of 0 to 7. A higher value represents a higher priority.

Capabilities

PCE capability:

·     Path computation with GMPLS link constraints.

·     Bidirectional path computation.

·     Diverse path computation.

·     Load-balanced path computation.

·     Synchronized path computation.

·     Support for multiple objective functions.

·     Support for additive path constraints.

·     Support for request prioritization.

·     Support for multiple requests per message.

display mpls te pce lspdb

Use display mpls te pce lspdb to display CRLSP and SRLSP information in the PCE LSP state database (LSPDB).

Syntax

display mpls te pce lspdb [ plsp-id plsp-id ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

plsp-id plsp-id: Specifies a CRLSP or SRLSP by a PLSP ID. The PLSP ID uniquely identifies a tunnel, and its value equals the tunnel ID plus 1. The value range for a PLSP ID is 1 to 1048574. If you do not specify this option, the command displays information about all CRLSPs in the PCE LSPDB.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

Examples

# Display brief information about all CRLSPs and SRLSPs in the PCE LSPDB.

<Sysname> display mpls te pce lspdb

Destination      Source        Tunnel ID LSP ID PLSP ID  Delegated address  State

1.1.1.9          2.2.2.9       0         100    1        192.168.115.3      up

3.3.3.9          2.2.2.9       100       100    101      -                  down

Figure 1 Command output

Field

Description

Destination

Tunnel destination address.

Source

Tunnel source address.

PLSP ID

The PLSP ID uniquely identifies a tunnel, and its value equals the tunnel ID plus 1.

Delegated address

IP address of the delegated PCE.

If the CRLSP or SRLSP is not delegated or the delegation fails, this field displays a hyphen (-).

If the multi-delegation feature is enabled, this field displays Multi-delegate.

State

CRLSP/SRLSP state:

·     up—The CRLSP/SRLSP has been established.

·     down—The CRLSP/SRLSP has not been established or the establishment fails.

# Display detailed information about all CRLSPs and SRLSPs in the PCE LSPDB.

<Sysname> display mpls te pce lspdb verbose

PLSP ID: 2                                       Symbolic name: Sysname_t1

SRP ID: 0                                        PCE initiated-lsp: No

PCE-setup-type: RSVP

Delegatable: Yes                                 Delegated address: -

Operational state: Up                            Speaker address: -

Binding SID: 1024

LSP identifiers:

  Destination: 4.4.4.8                           Source: 2.2.2.8

  Tunnel ID: 1                                   LSP ID: 36293

  Sender address: 2.2.2.8

LSP path:

  EROs: 3

  20.20.20.4                Loose

  20.20.20.8                Strict

  30.30.30.2                Exclude

  SR-EROs: 2

  Label: 100            Strict         SID type: SID without NAI

  Label: 101            Loose          SID type: IPv4 node ID

  LSP attributes:

    Exclude any: 0                               Include any: 0

    Include all: 0

    Setup priority: 7                            Hold priority: 7

    Bandwidth: 0 kbps

    Metric Type: TE                               Metric Value: 0

  RROs: 5

  20.20.20.8/32             Flag: 0x00 (No FRR)

  20.20.20.4/32             Flag: 0x40 (No FRR/In-Int)

  3                         Flag: 0x01 (Global label)

  4.4.4.8/32                Flag: 0x20 (No FRR/Node-ID)

  3                         Flag: 0x01 (Global label)

Figure 2 Command output

Field

Description

PLSP ID

PLSP ID uniquely identifies a tunnel, and its value equals the tunnel ID plus 1.

Symbolic name

CRLSP/SRLSP name. The value is Sysname_ttunnel-ID, where Sysname represents the device name. You can configure the device name by executing the sysname command in system view.

SRP ID

Stateful PCE request parameters.

PCE initiated-lsp

Whether the CRLSP/SRLSP is created by PCE: Yes or No.

PCE-setup-type

Protocol used to establish the CRLSP/SRLSP: RSVP or Segment Routing.

Delegatable

Whether the CRLSP/SRLSP is delegatable:

·     Yes—The CRLSP/SRLSP is delegatable to a PCE.

·     No—The CRLSP/SRLSP is not delegatable to a PCE.

·     Multi-delegate—The CRLSP/SRLSP is delegatable to all PCEs.

Delegated address

IP address of the delegated PCE.

If the CRLSP/SRLSP is not delegated or the delegation fails, this field displays a hyphen (-).

This field is displayed only when multi-delegation is disabled.

Last update address

IP address of the PCE that sent the last update request.

If no PCEs send update requests, this field displays a hyphen (-).

This field is displayed only when multi-delegation is enabled.

Operational state

LSP state:

·     Up—The LSP has been established.

·     Down—The LSP has not been established or the establishment fails.

Speaker address

IP address of the PCE.

Binding SID

BSID of the MPLS TE tunnel.

If no BSID is specified, this field displays a hyphen (-).

Destination

Tunnel destination address.

Source

Tunnel source address.

Sender address

Sender address identifies the tunnel source end.

EROs

Number of Explicit Route Objects (EROs) and the ERO information.

ERO information includes the addresses of the nodes on the explicit path, and whether the current node is a loose or strict next hop.

SR-EROs

Number of Segment Routing Explicit Route Objects (SR-EROs) and the SR-ERO information.

SR-ERO information includes the MPLS label value (SID), whether the current node is a loose or strict next hop, and the type of the Node or Adjacency Identifier (NAI) associated with the SID contained in the object.

Label

MPLS label value, used as the SID in SR.

SID Type

Type of the NAI associated with the SID that is contained in the SR-ERO:

·     SID without NAI—The NAI is absent.

·     IPv4 Node ID—The NAI is an IPv4 node ID (IPv4 address).

·     IPv6 Node ID—The NAI is an IPv6 node ID (IPv4 addresses).

·     IPv4 Adjacency—The NAI is an IPv4 adjacency (a pair of IPv4 addresses).

·     IPv6 Adjacency—The NAI is an IPv6 adjacency (a pair of IPv6 addresses).

·     Unnumbered Adjacency with IPv4 NodeIDs—The NAI is an unnumbered adjacency with IPv4 node IDs (a pair of node ID/interface ID tuples).

Metric Type

Metric type: TE or IGP.

RROs

Number of Record Route Objects (RROs).

If the number is not 0, the subsequent output displays the IP addresses or labels recorded in the RROs.

Flag

Flag value and its meaning in an RRO:

·     No FRR—FRR is not configured.

·     FRR Avail—FRR is available.

·     In use—FRR has occurred.

·     BW—Bandwidth protection.

·     Node-Prot—Node protection.

·     Node-ID—The IP address in the RRO is the LSR ID of the node.

·     In-Int—The IP address in the RRO is that of the incoming interface.

·     Global label—Per-platform label space.

display mpls te pce parameter

Use display mpls te pce parameter to display local PCEP session settings.

Syntax

display mpls te pce parameter

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display local PCEP session settings.

<Sysname> display mpls te pce parameter

Public parameters:

  Keepalive interval   : 30 sec            Recommended Deadtimer: 120 sec

  Request timeout      : 50 sec

  Tolerance:

    Min keepalive interval      : 10 sec

    Max unknown messages        : 5/min

  Capability for Nonstop routing: Yes

  Nonstop routing state         : Ready

PCC parameters:

  PCEP type                     : Active stateful

  Capability for Initiate       : Yes

  Capability for Segment-Routing: Yes

  Retain lsp-state              : Enable

  Retain initiated-lsp          : Enable

  Redelegation timeout          : 30 sec

  State timeout                 : 60 sec

PCE parameters:

  PCEP type                     : Stateless

  PCE address                   : 1.1.1.8

  Capability for Segment-Routing: No

Table 14 Command output

Field

Description

Public parameters

Public parameters, which take effect when the device operates as a PCC or PCE.

Keepalive interval

Locally configured keepalive interval, in seconds.

Recommended Deadtimer

Locally configured recommended PCEP session hold time, in seconds.

Request timeout

Path computation request timeout, in seconds.

Tolerance

Tolerance of the local device to the messages received from the PCE peer.

Min keepalive interval

Locally acceptable minimum keepalive interval (in seconds) sent by the peer.

Max unknown messages

Locally acceptable maximum number of unknown messages sent by the peer in a second.

Capability for Nonstop routing

Whether the local device supports PCEP nonstop routing (NSR):

·     Yes.

·     No.

Nonstop routing state

PCEP NSR state:

·     Ready—PCEP NSR has backed PCEP session information from the active process to the standby process. An active/standby switchover occurred in this state does not affect the existing PCEP session. Data forwarding will be not interrupted.

·     Not Ready—PCEP NSR is backing PCEP session information from the active process to the standby process. An active/standby switchover occurred in this state might result in re-establishment of the PCEP session, so data forwarding cannot be guaranteed.

·     Not configured—PCEP NSR is not enabled.

PCC parameters

PCC parameters, which take effect only when the device operates as a PCC.

PCEP type

Type of the local PCEP session:

·     Stateless.

·     Passive stateful.

·     Active stateful.

The PCEP session type finally used is negotiated by the two peers.

Capability for Initiate

Whether the local device supports establishing tunnels and LSPs through PCE Initiated-LSP packets:

·     Yes.

·     No.

Capability for Segment-Routing

Whether the local device supports PCE Segment Routing:

·     Yes—The local device supports establishing SR-TE tunnels by using the following methods:

¡     PCE sends Update packets (delegation update).

¡     PCE sends Initial packets (actively establish)

¡     Sends SR-TE path computation requests to the PCE.

·     No—The local device does not support PCE Segment Routing.

Retain lsp-state

Whether to retain the PCE-updated LSP states after the active stateful PCEP session is broken:

·     Enable—Retains the PCE-updated LSP states.

·     Disable—Does not retain the PCE-updated LSP states but restores the LSP states prior to the update.

Retain initiated-lsp

Whether to retain the PCE-initiated LSPs after the active stateful PCEP session is broken:

·     Enable—Retains the PCE-initiated LSPs.

·     Disable—Does not retain the PCE-initiated LSPs.

Redelegation timeout

Redelegation wait time (in seconds) after the PCEP session is broken.

State timeout

PCC state aging time (in seconds) after the PCEP session is broken.

PCE parameters

PCE parameters, which take effect only when the device operates as a PCE.

PCE address

PCE address advertised by the device when it operates as a PCE.

display mpls te pce peer

Use display mpls te pce peer to display PCC and PCE peer information.

Syntax

display mpls te pce peer [ ip-address ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ip-address: Specifies a peer by its IP address. If you do not specify this argument, the command displays information about all peers.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

Usage guidelines

This command displays information about peers that are establishing or have established PCEP sessions to the local device.

Examples

# Display brief information about all peers.

<Sysname> display mpls te pce peer

Total number of peers: 1

Peer address      Peer type   State     Mastership      Role

100.100.100.100   PCE         UP        Normal          Active

Table 15 Command output

Field

Description

Peer type

Peer type, PCC or PCE.

State

PCEP session state:

·     Idle—Initial state.

·     TCPPending—Waiting for the TCP connection to be set up.

·     OpenWait—Waiting for an Open message from the peer.

·     KeepWait—Waiting for a Keepalive message from the peer.

·     UP—The PCEP session is established.

Mastership

Peer role:

·     Normal—Normal PCC or PCE.

·     Primary—Primary PCE to which the CRLSP is delegated.

·     Backup—Backup PCE to which the CRLSP is delegated.

Role

Role of the local device in the PCEP session:

·     Active—Initiator of the PCEP session.

·     Passive—Responder of the PCEP session.

# Display detailed information about all peers.

<Sysname> display mpls te pce peer verbose

Peer address: 100.100.100.20

  TCP Connection                : 100.100.100.20:5696 -> 100.100.100.10:4189

  Peer type                     : PCC

  Session type                  : Active stateful

  Session state                 : UP

  Mastership                    : Normal

  Role                          : active

  Session up time               : 0000 days 01 hours 03 minutes

  Session ID                    : Local 1, Peer 1

  Keepalive interval            : Local 0 sec, Peer 0 sec

  Recommended DeadTimer         : Local 0 sec, Peer 0 sec

  Tolerance:

    Min keepalive interval      : 10 sec

    Max unknown messages        : 10

  Request timeout               : 50 sec

  Delegation timeout            : 30 sec

  Capability for Initiate       : Yes

  Capability for Segment-Routing: Yes

Table 16 Command output

Field

Description

Peer type

Peer type: PCC or PCE.

Session type

PCEP session type:

·     Stateless.

·     Passive stateful.

·     Active stateful.

Session state

PCEP session state:

·     Idle—Initial state.

·     TCPPending—Waiting for the TCP connection to be set up.

·     OpenWait—Waiting for an Open message from the peer.

·     KeepWait—Waiting for a Keepalive message from the peer.

·     UP—The PCEP session is established.

Mastership

Peer role:

·     Normal—Normal PCC or PCE.

·     Primary—Primary PCE to which the CRLSP is delegated.

·     Backup—Backup PCE to which the CRLSP is delegated.

Role

Role of the local device in the PCEP session:

·     Active—Initiator of the PCEP session.

·     Passive—Responder of the PCEP session.

Min keepalive interval

Minimum acceptable keepalive interval in seconds.

Max unknown messages

Maximum number of unknown messages allowed in one minute.

Request timeout

Request timeout time in seconds.

Delegation timeout

Delegation timeout time in seconds.

Capability for Initiate

Whether the device supports establishing the tunnel and LSP by using the PCE-Initiated-LSP packets.

Capability for Segment-Routing

Whether the PCEP session has the SR capability.

display mpls te pce stateful neighbor

Use display mpls te pce stateful neighbor to display information about stateful PCE peers on a PCC.

Syntax

display mpls te pce stateful neighbor [ ip-address ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ip-address: Specifies the IP address of a stateful PCE peer. If you do not specify this argument, the command displays information about all stateful PCE peers.

Examples

# Display information about the stateful PCE peer at 2.2.2.8.

<Sysname> display mpls te pce stateful neighbor 2.2.2.8

Neighbor address: 2.2.2.8

Session type       : Active stateful

Delegation priority: 1000

Synchronization    : Finished

Redelegation timer : Active

Table 17 Command output

Field

Description

Neighbor address

IP address of the stateful PCE peer.

Session type

PCEP session type:

·     Passive stateful.

·     Active stateful.

Delegation priority

Delegation priority. A bigger value represents a higher priority.

Synchronization

Synchronization state with the peer:

·     Not started.

·     Synchronizing.

·     Finished.

Redelegation timer

Running state of the redelegation timer:

·     Started.

·     Not started.

display mpls te pce statistics

Use display mpls te pce statistics to display PCC and PCE statistics.

Syntax

display mpls te pce statistics [ ip-address ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ip-address: Specifies a PCC or PCE by its IP address. If you do not specify this argument, the command displays statistics about all PCEs and PCCs.

Examples

# Display statistics about all PCCs and PCEs.

<Sysname> display mpls te pce statistics

PCE address: 2.2.2.9

  Keepalive messages sent/received           : 70/75

  Open messages sent/received                : 1/1

  PCReq messages sent/received               : 0/0

  PCRep messages sent/received               : 0/0

  PCRpt messages sent/received               : 0/0

  PCUpd messages sent/received               : 0/0

  PCErr messages sent/received               : 0/0

  PCNtf messages sent/received               : 0/0

  Session setup failures                     : 0

  Unknown messages received                  : 0

  Unknown requests received                  : 0

  Unknown responses received                 : 0

  Requests sent                              : 0

    Response is pending                      : 0

    Response with ERO received               : 0

    Response with NO-PATH received           : 0

    Canceled by peer sending a PCNtf         : 0

    Canceled by peer sending a PCErr         : 0

    Canceled by local speaker sending a PCNtf: 0

    Implicitly canceled (session down)       : 0

    Timeout                                  : 0

  Requests received                          : 0

    Response is pending                      : 0

    Response with ERO sent                   : 0

    Response with NO-PATH sent               : 0

    Canceled by local speaker sending a PCNtf: 0

    Canceled by local speaker sending a PCErr: 0

    Canceled by peer sending a PCNtf         : 0

    Implicitly canceled (session down)       : 0

Table 18 Command output

Field

Description

Unknown requests received

Number of unknown requests (the request ID carried in the RP object is 0) received.

Unknown responses received

Number of unknown responses (the request ID in the response does not match the one in the request) received.

Requests sent

Total number of sent requests.

Response is pending

Number of requests that are waiting for responses.

Response with ERO received

Number of requests that have received responses with ERO.

Response with NO-PATH received

Number of requests that have received responses with NO-PATH.

Cancelled by peer sending a PCNtf

Number of requests canceled byPCNtf messages sent by the peer.

Canceled by peer sending a PCErr

Number of requests canceled byPCErr messages sent by the peer.

Canceled by local speaker sending a PCNtf

Number of requests canceled by PCNtf messages sent by the local device.

Implicitly canceled(session down)

Number of requests that became invalid because the PCEP session was down.

Timeout

Number of requests that became invalid because of request timeout.

Requests received

Total number of received requests.

Response is pending

Number of requests whose responses are not sent yet.

Response with ERO sent

Number of responses sent with ERO.

Response with NO-PATH sent

Number of responses sent with NO-PATH.

Canceled by local speaker sending a PCNtf

Number of PCNtf messages for request cancellation sent by the local device.

Canceled by local speaker sending a PCErr

Number of PCErr messages for request cancellation sent by the local device.

Canceled by peer sending a PCNtf

Number of PCNtf messages for request cancellation sent by the peer.

Implicitly canceled(session down)

Number of requests that became invalid because the PCEP session was down.

display mpls te segment-routing tunnel path

Use display mpls te segment-routing tunnel path to display the path information of SR-signaled MPLS TE tunnels (MPLS SR-TE tunnels for short).

Syntax

display mpls te segment-routing tunnel path [ tunnel number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameter

tunnel number: Specifies a tunnel interface. The number argument represents the interface number of an existing tunnel interface on the device. If you do not specify a tunnel interface, this command displays path information for all MPLS SR-TE tunnels.

Examples

# Display path information for all MPLS SR-TE tunnels.

<Sysname> display mpls te segment-routing tunnel path

Tunnel name      : Tunnel1

  Main path info : 1.1.1.1/1/61103

   Forwarding information:

    HGE1/0/1                 20.0.0.2

    HGE1/0/2                 40.0.0.2

  Hop information:

    Hop 0    Prefix SID 16030       NAI 3.3.3.3

    Hop 1    Adjacency SID 1151     NAI 21.0.0.1, 21.0.0.2

    Hop 2    SID 1140               NAI -

 

  Backup path info : 1.1.1.1/1/61104

   Forwarding information:

    NID : 268435458

  Hop information:

    Hop 0    Prefix SID 16030       NAI 3.3.3.3

    Hop 1    Adjacency SID 18040    NAI 4.4.4.4, 21.0.0.2

 

  Modify path info : 1.1.1.1/1/61105

   Forwarding information:

    HGE1/0/3                 10.0.0.2

    HGE1/0/4                 30.0.0.2 (Backup)

  Hop information:

    Hop 0    Prefix SID 16030       NAI 3.3.3.3

    Hop 1    Adjacency SID 1151     NAI 21.0.0.1, 21.0.0.2

 

Table 19 Command output

Field

Description

Tunnel Name

Name of the tunnel interface.

Main Path Info

Primary path information. The value is Ingress LSR ID/Tunnel ID/LSP ID.

Backup Path Info

Backup path information.

Modify Path Info

Information about the path established by using the make-before-break mechanism.

Forwarding information

Forwarding information. Possible values include:

·     Primary and backup outgoing interfaces and next hops. A backup outgoing interface and next hop item is suffxed with (Backup). If multiple outgoing interface and next hop items exist, traffic is forwarded in load sharing mode.

·     NID.

Hop information

Information about the hops of the path.

Hop

Hop index.

Prefix SID

Prefix SID value.

Adjacency SID

Adjacency SID value.

SID

SID of an unknown type.

NAI

Node or Adjacency Identifier.

For a prefix SID, the NAI is the node identifier, which is the IP address of the node.

For an adjacency SID, the NAI is the adjacency identifier, which displays the local and remote IP addresses of the link.

If the NAI is not available or is unknown, this field displays a hyphen (-).

display mpls te srlg

Use display mpls te srlg to display information about SRLGs.

Syntax

display mpls te srlg [ srlg-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

srlg-number: Specifies an SRLG by its number, in the range of 0 to 4294967295. If you do not specify an SRLG, this command displays information about all SRLGs.

Examples

# Display information about all SRLGs.

<Sysname> display mpls te srlg

Total SRLGs configured: 2

 SRLG 1: HGE1/0/1, HGE1/0/2

 SRLG 2: HGE1/0/3

Table 20 Command output

Field

Description

Total SRLGs configured

Number of SRLGs configured.

SRLG number

Interfaces in an SRLG.

display mpls te tedb

Use display mpls te tedb to display MPLS TE database (TEDB) information.

Syntax

display mpls te tedb { { isis { level-1 | level-2 } | ospf area area-id } | link ip-address | network | node [ local | mpls-lsr-id ] | summary }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

isis: Displays TEDB information for IS-IS.

level-1: Displays TEDB information for Level-1 routers.

level-2: Displays TEDB information for Level-2 routers.

ospf area area-id: Displays TEDB information for an OSPF area. The value range for the OSPF area ID is 0 to 4294967295.

link ip-address: Displays TEDB information for a link. The ip-address argument represents the IP address of the local interface on the link.

network: Displays TEDB information for all broadcast and NBMA networks.

node: Displays TEDB information for the local or specified node. If you do not specify the local keyword or the mpls-lsr-id argument, this command displays TEDB information for all nodes.

local: Displays TEDB information for the local node.

mpls-lsr-id: Displays TEDB information for the node specified by its MPLS LSR ID.

summary: Displays summary TEDB information.

Examples

# Display TEDB information for all broadcast and NBMA networks.

<Sysname> display mpls te tedb network

DR MPLS LSR-ID  DR-address      IGP   Process-ID Area/Level  Neighbors

8.1.1.2         3.0.0.2         OSPF  100        0           1.1.1.1

                                                             2.1.1.1

                                                             8.1.1.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.1.1.2         3.0.0.4          OSPF  100       0           3.1.1.1

                                                             4.1.1.1

                                                             3.1.1.2

4.1.1.2        3.0.0.5          OSPF  100         0          4.1.1.1

                                                             5.1.1.1

                                                             4.1.1.2

5.1.1.2        3.0.0.6          OSPF  100         0          5.1.1.1

                                                             6.1.1.1

                                                             5.1.1.2

6.1.1.2        3.0.0.9          OSPF  100         0          6.1.1.1

                                                             7.1.1.1

                                                             6.1.1.2

7.1.1.1        12.0.0.7         OSPF  100         0          3.1.1.1

                                                             7.1.1.1

                                                             7.1.1.2

Table 21 Command output

Field

Description

DR MPLS LSR-ID

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

DR-address

Interface address of the DR.

IGP

Internal gateway protocol: OSPF or IS-IS.

Process-ID

IGP process ID.

Area/Level

OSPF area or IS-IS level of the router.

Neighbors

Router IDs of the routers that have formed full adjacencies with the DR, and router ID of the DR itself.

# Display summary TEDB information.

<Sysname> display mpls te tedb summary

MPLS LSR-ID     IGP     Process-ID    Area/Level    Links-Count

1.1.1.1         OSPF    100           1001          20

                                      1002          30

                                      1003          40

                                      1004          50

                                      1007          70

                                      1010          80

2.1.1.1         ISIS    100           Level-1       20

                                      Level-1       30

 

3.1.1.1         OSPF    100           0             4

Table 22 Command output

Field

Description

MPLS LSR-ID

MPLS LSR ID of a router, in dotted decimal notation.

IGP

Internal gateway protocol: OSPF or IS-IS.

Process-ID

IGP process ID.

Area/Level

OSPF area or IS-IS level of the router.

Links-Count

Number of links in an OSPF area or IS-IS level.

# Display TEDB information for an OSPF area.

<Sysname> display mpls te tedb ospf area 1

Node information for OSPF area 1:

MPLS LSR-ID    IGP     Process-ID     Area            Links-Count

2.2.2.2        OSPF    100            1               1

3.3.3.3        OSPF    100            1               1

 

Network information for OSPF area 1:

DR MPLS LSR-ID  DR-address    IGP  Process-ID Area    Neighbors

3.3.3.3         20.1.1.2      OSPF 100        1       2.2.2.2

                                                      3.3.3.3

Table 23 Command output

Field

Description

MPLS LSR-ID

MPLS LSR ID of a router, in dotted decimal notation.

IGP

Internal gateway protocol: OSPF or IS-IS.

Process-ID

IGP process ID.

Area

OSPF area of the router.

Links-Count

Number of links in the OSPF area or IS-IS level.

DR MPLS LSR-ID

MPLS LSR ID of a DR.

DR-address

Interface address of the DR.

Neighbors

Router IDs of the routers that have formed full adjacencies with the DR, and router ID of the DR itself.

# Display TEDB information for the local node in prestandard mode.

<Sysname> display mpls te tedb node local

MPLS LSR-ID: 1.1.1.1

  IGP Type: OSPF          Process ID: 100         Area: 1

  Link[1]:

    Local IP Address: 2.0.1.33

          Neighbor IP Address: 2.0.1.2

    Neighbor MPLS LSR-ID: 1.1.1.2

    Link Type: P2P  Link Status: Inactive

    IGP Metric: 100             TE Metric: 100         Link Attribute: 0xff

    Maximum Link Bandwidth: 100 kbps

    Maximum Reservable Bandwidth: 20 kbps

    Bandwidth Constraint Model: Prestandard DS-TE RDM

    Bandwidth Constraints:

         BC[0]:  100        kbps

         BC[1]:  20         kbps

    Unreserved Bandwidth for each TE class:

         TE class  0:    10         kbps

         TE class  1:    10         kbps

         TE class  2:    10         kbps

         TE class  3:    10         kbps

         TE class  4:    10         kbps

         TE class  5:    10         kbps

         TE class  6:    10         kbps

         TE class  7:    10         kbps

         TE class  8:    10         kbps

         TE class  9:    10         kbps

         TE class 10:    10         kbps

         TE class 11:    10         kbps

         TE class 12:    10         kbps

         TE class 13:    10         kbps

         TE class 14:    10         kbps

         TE class 15:    10         kbps

MPLS LSR-ID: 1.1.1.1

  IGP Type: ISIS   Process ID: 100   Level: Level-1

  Link[1]:

    Local IP Address: 2.0.1.33

    Neighbor IP Address: 2.0.1.2

    Neighbor MPLS LSR-ID: 1.1.1.2

    Link Type: P2P  Link Status: Active

    IGP Metric: 10              TE Metric: 10          Link Attribute: 0x11

    Maximum Bandwidth: 100 (kbps)

    Maximum Reservable Bandwidth: 100 (kbps)

    Bandwidth Constraint Model: Prestandard DS-TE RDM

    Bandwidth Constraints:

         BC[0]:  100        kbps

         BC[1]:  20         kbps

    Unreserved Bandwidth for each TE Class:

         TE class  0:    10         kbps

         TE class  1:    10         kbps

         TE class  2:    10         kbps

         TE class  3:    10         kbps

         TE class  4:    10         kbps

         TE class  5:    10         kbps

         TE class  6:    10         kbps

         TE class  7:    10         kbps

         TE class  8:    10         kbps

         TE class  9:    10         kbps

         TE class 10:    10         kbps

         TE class 11:    10         kbps

         TE class 12:    10         kbps

         TE class 13:    10         kbps

         TE class 14:    10         kbps

         TE class 15:    10         kbps

Table 24 Command output

Field

Description

MPLS LSR-ID

MPLS LSR ID of a router, in dotted decimal notation.

IGP Type

Internal gateway protocol: OSPF or IS-IS.

Process ID

IGP process ID.

Area

OSPF area of the router.

Level

IS-IS level of the router: Level-1 or Level-2.

Link[n]

Information about a link. n is the number of the link.

Local IP Address

Local interface address.

Neighbor IP Address

Remote interface address for a P2P link.

For an NBMA or a broadcast link, this field displays a hyphen (-).

Neighbor MPLS LSR-ID

MPLS LSR ID of the routing neighbor (DR).

Link Type

Link type:

·     P2P.

·     NBMA.

·     Broadcast.

Link Status

Link status: Active or Inactive.

Bandwidth Constraint Model

Bandwidth constraint model:

·     Prestandard DS-TE RDM.

·     IETF DS-TE RDM.

·     IETF DS-TE MAM.

# Display TEDB information for the link connected to the interface with interface address 20.1.1.1 in IETF DS-TE RDM model.

<Sysname> display mpls te tedb link 20.1.1.1

MPLS LSR-ID: 2.2.2.2

  IGP Type: ISIS   Process ID: 100  Level: Level-1

    Local IP Address: 20.1.1.1

Neighbor MPLS LSR-ID: 20.1.1.2

Link Type: Broadcast  Link Status: Active

    IGP Metric: 10          TE Metric: 0             Link Attribute: 0x0

    Maximum Bandwidth: 0 kbps

    Maximum Reservable Bandwidth: 0 kbps

    Bandwidth Constraint Model: 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:

         TE class  0:    0          kbps

         TE class  1:    0          kbps

         TE class  2:    0          kbps

         TE class  3:    0          kbps

         TE class  4:    0          kbps

         TE class  5:    0          kbps

         TE class  6:    0          kbps

         TE class  7:    0          kbps

Table 25 Command output

Field

Description

MPLS LSR-ID

MPLS LSR ID of a router, in dotted decimal notation.

IGP Type

Internal gateway protocol: OSPF or IS-IS.

Process ID

IGP process ID.

Area

OSPF area of the router.

Level

IS-IS level of the router: Level-1 or Level-2.

Local IP Address

Local interface address.

Neighbor IP Address

Remote interface address for a P2P link.

For an NBMA or a broadcast link, this field is not displayed.

Neighbor MPLS LSR-ID

MPLS LSR ID of the routing neighbor (DR).

Link Type

Link type:

·     P2P.

·     NBMA.

·     Broadcast.

Link Status

Link status: Active or Inactive.

Bandwidth Constraint Mode

Bandwidth constraint model:

·     Prestandard DS-TE RDM.

·     IETF DS-TE RDM.

·     IETF DS-TE MAM.

display mpls te tunnel-interface

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

Syntax

display mpls te tunnel-interface [ tunnel number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

tunnel number: Displays information about the tunnel interface specified by its number. The interface must have been created. If you do not specify this option, the command displays information about all MPLS TE tunnel interfaces.

Examples

# Display information about all MPLS TE tunnel interfaces.

<Sysname> display mpls te tunnel-interface

Tunnel Name            : Tunnel 1

Tunnel State           : Up (Main CRLSP up. Backup CRLSP up)

Tunnel Attributes      :

  LSP ID               : 49770           Tunnel ID            : 1

  Admin State          : Normal

  Ingress LSR ID       : 2.2.2.8         Egress LSR ID        : 4.4.4.8

  Signaling            : RSVP-TE         Static CRLSP Name    : -

  Static SRLSP Name    : -/-

  Resv Style           : SE

  Tunnel mode          : -

  Reverse-LSP name     : -

  Reverse-LSP LSR ID   : -               Reverse-LSP Tunnel ID: -

  Reverse-LSP BSID     : -

  Class Type           : CT1             Tunnel Bandwidth     : 100 kbps

  Class Type           : CT2             Tunnel Bandwidth     : 100 kbps

  Reserved Bandwidth   : 0 kbps

  Setup Priority       : 7               Holding Priority     : 7

  Affinity Attr/Mask   : 0/0

  Explicit Path        : ero1

  Backup Explicit Path : ero2

  Metric Type          : TE

  Record Route         : Enabled         Record Label         : Enabled

  FRR Flag             : Disabled        Bandwidth Protection : Disabled

  Backup Bandwidth Flag: Disabled        Backup Bandwidth Type: -

  Backup Bandwidth     : -

  Bypass Tunnel        : No              Auto Created         : No

  Route Pinning        : Disabled

  Retry Limit          : 3               Retry Interval       : 2 sec

  Reoptimization       : Disabled        Reoptimization Freq  : -

  Backup Type          : Hot Standby     Backup LSP ID        : 49771

  Backup Restore Time  : 10 sec

  Auto Bandwidth       : Disabled        Auto Bandwidth Freq  : -

  Min Bandwidth        : -               Max Bandwidth        : -

  Collected Bandwidth  : -               Service Class        : -

  Traffic Policy       : Disable         Reserved for binding : No

  Path SetupType       : -/-

  Binding SID          : -               Binding SID State    : -

  Last Down Reason     : Admin Down

  Down Time            : 2017-12-05 11:23:35:535

Table 26 Command output

Field

Description

Tunnel Name

Name of the tunnel interface.

Tunnel State

Running state of the tunnel: Down or Up.

Description information includes:

·     Main CRLSP down.

·     Main CRLSP up.

·     Main CRLSP being set up.

·     Shared-resource CRLSP down.

·     Shared-resource CRLSP up.

·     Shared-resource CRLSP being set up.

·     Shared-resource CRLSP being activated.

·     Shared-resource CRLSP switching to Main CRLSP.

·     Backup CRLSP down.

·     Backup CRLSP up.

·     Backup CRLSP being set up.

·     Main CRLSP BFD-detected down.

·     Backup CRLSP BFD-detected down.

Admin State

Administrative state of the tunnel interface:

·     Normal—The interface is not shut down by the shutdown command.

·     Shutdown—The tunnel interface is shut down by the shutdown command.

Signaling

Signaling protocol used to set up the tunnel: RSVP-TE or Static.

Static CRLSP Name

Static CRLSP used by the tunnel.

Static SRLSP Name

Static SRLSP used by the tunnel. The value is primary static SRLSP name/backup static SRLSP name.

If no primary or backup static SRLSP is specified for the tunnel, the primary or backup static SRLSP name is displayed as a hyphen (-).

Resv Style

Resource reservation style for the CRLSPs.

This field displays FF or SE for an MPLS TE tunnel that uses dynamic CRLSPs, and displays a hyphen (-) for an MPLS TE tunnel that uses static CRLSPs.

Tunnel Mode

Tunnel mode of the tunnel:

If the tunnel is a unidirectional tunnel, this field displays a hyphen (-).

Reverse-LSP Name

This field is not supported in the current software version.

Name of the associated reverse LSP.

Reverse-LSP LSR ID

This field is not supported in the current software version.

LSR ID of the reverse LSP.

This field has a value for the LSR of an associated reverse LSP and the passive end of the co-routed bidirectional tunnel. For other LSPs, this field displays a hyphen (-).

Reverse-LSP Tunnel ID

This field is not supported in the current software version.

Tunnel ID of the reverse LSP.

This field has a value for an associated reverse LSP and the passive end of the co-routed bidirectional tunnel. For other LSPs, this field displays a hyphen (-).

Reverse-LSP BSID

This field is not supported in the current software version.

BSID of the reverse LSP.

This field has a value for an associated reverse LSP. For other LSPs, this field displays a hyphen (-).

Class Type

CT of the tunnel. The value can be CT0, CT1, CT2, CT3, CT4, CT5, CT6, or CT7.

Tunnel Bandwidth

Bandwidth required by the tunnel, in kbps.

Reserved Bandwidth

Bandwidth reserved for the tunnel, in kbps.

Setup Priority

Tunnel setup priority.

Holding Priority

Tunnel holding priority.

Affinity Attr/Mask

Tunnel affinity attribute and mask.

Explicit Path Name

Name of the explicit path used by the tunnel.

If the path used by the tunnel is not an explicit path, this field displays a hyphen (-).

Backup Explicit Path

Name of the explicit path used by the backup tunnel.

If the path used by the backup tunnel is not an explicit path, this field displays a hyphen (-).

Metric Type

Link metric type used for tunnel path selection, TE or IGP.

Bandwidth Protection

This field is not supported in the current software version.

Whether FRR needs bandwidth protection: Enabled or Disabled.

Backup Bandwidth Flag

Whether all-CT protection and unlimited bandwidth protection is enabled for the bypass tunnel (by using the mpls te backup bandwidth command):

·     Enabled.

·     Disabled.

Backup Bandwidth Type

Class type of the traffic on the primary tunnel that the bypass tunnel can protect. The value is All Class Type, which means that the bypass tunnel can protect all class types.

If the mpls te backup bandwidth command is not executed, this field display a hyphen (-).

Backup Bandwidth

Bandwidth that the bypass tunnel can protect, in kbps.

If the protection bandwidth is unlimited, this field displays Unlimited.

If the mpls te backup bandwidth command is not executed, this field display a hyphen (-).

Bypass Tunnel

Whether it is a bypass tunnel: Yes or No.

Auto Created

Whether the bypass tunnel is automatically created:

·     Yes.This value is not supported in the current software version.

·     No.

Retry Limit

Maximum number of tunnel setup retries.

Retry Interval

Tunnel setup retry interval, in seconds.

Reoptimization Freq

Tunnel reoptimization frequency, in seconds.

Backup Type

CRLSP backup mode:

·     None—CRLSP backup is disabled.

·     Hot Standby—Hot-standby backup mode.

·     Ordinary—Ordinary backup mode.

Backup LSP ID

LSP ID of the backup tunnel.

Backup Restore Time

Recovery delay time, in seconds. This field is valid only when the value of the Backup Type field is Hot Standby.

Auto Bandwidth

This field is not supported in the current software version.

State of the automatic bandwidth adjustment feature.

Auto Bandwidth Freq

This field is not supported in the current software version.

Automatic bandwidth adjustment interval, in seconds.

Min Bandwidth

This field is not supported in the current software version.

Minimum bandwidth (in kbps) that can be applied to the tunnel by automatic bandwidth adjustment.

Max Bandwidth

This field is not supported in the current software version.

Maximum bandwidth (in kbps) that can be applied to the tunnel by automatic bandwidth adjustment.

Collected Bandwidth

Current output rate, in kbps.

Service Class

Service class value of the tunnel. If no service class value is set for the tunnel, this field displays a hyphen (-).

Traffic Policy

This field is not supported in the current software version.

Status of the outbound traffic policing feature: Enable or Disable. If the outbound traffic policing feature is not supported, this field displays a hyphen (-).

Reserved for binding

Whether the tunnel is reserved for tunnel policy destination binding:

·     Yes—This tunnel can only be used by a tunnel policy that has a binding destination.

·     No—This tunnel can be used by any types of tunnel policies.

Path SetupType

Path setup type used by the primary and backup tunnels:

·     CSPF—Uses the CSPF-computed SRLSPs to establish the tunnels.

·     PCE—Uses the PCE-computed SRLSPs to establish the tunnels.

·     EXPLICITPATH—Uses the explicit-path SRLSPs to establish the tunnels.

This field has values when the tunnels are established by using the Segment Routing protocol. In other cases, this field displays hyphens (-).

Binding SID

BSID of the tunnel that uses an SRLSP.

Binding SID State

BSID state of the tunnel:

·     Available—The label has been allocated to the tunnel successfully and is available.

·     Idle—The label is not allocated to the tunnel.

·     Dup—The label has been occupied by others.

Last Down Reason

Reason for the last down event:

·     Admin Down—The tunnel interface was shut down administratively by using the shutdown command.

·     Configuration Change—The configuration changed.

·     Signal Error—An RSVP signaling error occurred.

Down Time

Last time when the tunnel went down.

display ospf mpls te advertisement

Use display ospf mpls te advertisement to display link and node information in an OSPF TEDB.

Syntax

display ospf [ process-id ] [ area area-id ] mpls te advertisement [ originate-router advertising-router-id | self-originate ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.

area area-id: Specifies an area by its ID, an IP address or a decimal integer. The integer is in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.

originate-router advertising-router-id: Displays information originated from a router specified by its router ID.

self-originate: Displays information generated by the local router.

Examples

# Display link and node information for all processes in all areas.

<Sysname> display ospf mpls te advertisement

 

          OSPF Process 1 with Router ID 2.2.2.2

                 Traffic Engineering Database

 

                          Area: 0.0.0.1

 

    Adv Router ID              : 1.1.1.1

    MPLS LSR ID                : 1.1.1.1

    Flags                      : A/S/R

    Router Address Count       : 1

      Router Address Index     : 0

      Instance ID              : 0.0.0.0

      MPLS LSR ID              : 1.1.1.1

    Link Count                 : 1

      Link Index               : 0

      Link Type                : Broadcast

      Instance ID              : 0.0.0.1

      Link Flags               : -/U/-

      Link ID                  : 197.168.1.1

      TE Metric                : 1000

      IGP Metric               : 1000

      Maximum Bandwidth        : 12500000 bytes/sec

      Maximum Reservable BW    : 0 bytes/sec

      Administrative Group     : 0x0

      Unreserved Bandwidth for each TE Class:

        TE class  0 = 0 bytes/sec

        TE class  1 = 0 bytes/sec

        TE class  2 = 0 bytes/sec

        TE class  3 = 0 bytes/sec

        TE class  4 = 0 bytes/sec

        TE class  5 = 0 bytes/sec

        TE class  6 = 0 bytes/sec

        TE class  7 = 0 bytes/sec

        TE class  8 = 0 bytes/sec

        TE class  9 = 0 bytes/sec

        TE class 10 = 0 bytes/sec

        TE class 11 = 0 bytes/sec

        TE class 12 = 0 bytes/sec

        TE class 13 = 0 bytes/sec

        TE class 14 = 0 bytes/sec

        TE class 15 = 0 bytes/sec

      Bandwidth Constraint Model: Prestandard DS-TE RDM

      Bandwidth Constraints:

        BC [ 0] = 0 bytes/sec

        BC [ 1] = 0 bytes/sec

      SRLGs:

        10             20             30

      Local Interface Address  : 197.168.1.1

      Remote Interface Address : 197.168.1.11

Table 27 Command output

Field

Description

Adv Router ID

ID of the router that advertised TE information.

MPLS LSR ID

MPLS LSR ID of the router that advertised TE information.

Flags

TE information flags:

·     A—Already synchronized information with CSPF.

·     S—Ready to synchronize information with CSPF.

·     R—The router that advertised information is reachable.

Router Address Count

Number of Router TLV messages in TEDB.

Router Address Index

Index of the current Router TLV message.

Instance ID

LSA instance ID.

Link Count

Number of Link TLV messages in TEDB.

Link Index

Index of the current Link TLV message.

Link Type

Link types:

·     Point to Point.

·     Point to Multi Point.

·     Broadcast.

·     NBMA.

Link Flags

Link information flags:

·     A—Already synchronized information with CSPF.

·     U—Ready to update information with CSPF again after the previous update failed.

·     D—Ready to delete information from CSPF again after the previous deletion failed.

Link ID

Link state ID.

IGP Metric

OSPF protocol metric.

Administrative Group

Link attributes.

Bandwidth Constraint Model

Bandwidth constraint model: Prestandard DS-TE RDM, IETF DS-TE RDM, or IETF DS-TE MAM.

Bandwidth Constraints

This field takes effect only on DS-TEs.

BC

Bandwidth constraint value.

The Prestandard mode supports two BCs, and the IETF mode supports four BCs.

SRLGs

SRLG membership (list of SRLG numbers) of the interface.

display ospf mpls te network

Use display ospf mpls te network to display network information in an OSPF TEDB.

Syntax

display ospf [ process-id ] [ area area-id ] mpls te network [ originate-router advertising-router-id | self-originate ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.

area area-id: Specifies an area by its ID, an IP address or a decimal integer, in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.

originate-router advertising-router-id: Displays information originated from a router specified by its router ID.

self-originate: Displays information generated by the local router.

Examples

# Display network information for all processes in all areas.

<Sysname> display ospf mpls te network

 

         OSPF Process 1 with Router ID 12.1.1.1

                 Traffic Engineering Network

 

                          Area: 0.0.0.0

 

      Adv Router ID             :  1.1.1.1

      Designated Router         :  197.168.1.1

      Flags                     :  -/U/-

       Attached router    2.2.2.2

       Attached router    1.1.1.1

Table 28 Command output

Field

Description

Adv Router ID

ID of the router that advertised the TE network information.

Designated Router

IP address of the designated router.

Flag

Network information flags:

·     A—Already synchronized information with CSPF.

·     U—Ready to update information with CSPF again after the previous update failed.

·     D—Ready to delete information from CSPF again after the previous deletion failed.

Attached router

ID of the attached router.

display ospf mpls te pce

Use display ospf mpls te pce to display information about PCEs discovered by OSPF.

Syntax

display ospf [ process-id ] [ area area-id ] mpls te pce [ originate-router advertising-router-id | self-originate ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.

area area-id: Specifies an area by its ID, an IP address or a decimal integer. The integer is in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.

originate-router advertising-router-id: Displays information originated from a router specified by its router ID.

self-originate: Displays information generated by the local router.

Examples

# Display PCE information for all processes in all areas.

<Sysname> display ospf mpls te pce

 

          OSPF Process 1 with Router ID 2.1.1.1

                 Path Computation Element

 

                          Area: 0.0.0.1

 

    Adv Router ID                : 2.1.1.1

    PCE Address                  : 5.6.7.8

    Flags                        : A/-/R/E

    PCE Path Scopes:

        Path Scope                     Preference

        L (PCE for intra-area)         7

        R (PCE for inter-area)         6

    PCE Capabilities:

        Bidirectional path computation

        Support for request prioritization

        Support for multiple requests per message

    PCE Domain List:

        Area 0.0.0.1

        Area 0.0.0.3

    PCE Neighbor Domain List:

        Area 0.0.0.2

Table 29 Command output

Field

Description

Adv Router ID

ID of the router that advertised the information.

Flags

PCE information flag:

·     A—Already synchronized information with PCEP.

·     U—Ready to update information with PCEP again after the previous update failed.

·     D—Ready to delete information from PCEP again after the previous deletion failed.

·     R—The router that advertised information is reachable.

·     E—PCE information is valid.

Path Scope

PCE path scope:

·     L (PCE for intra-area).

·     R (PCE for inter-area).

·     Rd (Default PCE for inter-area).

·     S (PCE for inter-AS).

·     Sd (Default PCE for inter-AS).

·     Y (PCE for inter-layer).

Preference

Preference of the PCE path scope, in the range of 0 to 7. A higher value represents a higher priority.

PCE Capabilities

PCE capability:

·     Path computation with GMPLS link constraints.

·     Bidirectional path computation.

·     Diverse path computation.

·     Load-balanced path computation.

·     Synchronized path computation.

·     Support for multiple objective functions.

·     Support for additive path constraints.

·     Support for request prioritization.

·     Support for multiple requests per message.

PCE Domain List

List of local domains that support TE on the PCE.

PCE Neighbor Domain List

List of neighbor domains that support TE on the PCE.

Area

Area that supports TE.

AS

AS that supports TE.

display ospf mpls te tunnel

Use display ospf mpls te tunnel to display MPLS TE tunnel interface information for OSPF.

Syntax

display ospf [ process-id ] [ area area-id ] mpls te tunnel

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.

area area-id: Specifies an area by its ID, an IP address or a decimal integer. The integer is in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.

Examples

# Display MPLS TE tunnel interface information for all OSPF processes in all areas.

<Sysname> display ospf mpls te tunnel

 

          OSPF Process 1 with Router ID 2.2.2.2

                   Traffic Engineering Tunnel

 

                          Area: 0.0.0.1

Interface: Tunnel1 (12.1.1.2)

    State: Inactive

    Neighbor ID: 0.0.0.0         Cost: 0

    Destination: 125.1.1.1

    Auto Route: IGP Shortcut

    Metric: Relative  10

Table 30 Command output

Field

Description

Interface

Name and IP address of a tunnel interface.

State

Tunnel interface states:

·     Inactive—The tunnel interface is not used to forward packets, because the tunnel route is not the optimal route.

·     Active—The tunnel interface is used to forward packets, because the tunnel route is the optimal route.

Neighbor ID

Router ID for the tunnel destination.

Cost

Route cost of the tunnel interface.

Destination

LSR ID for the tunnel destination.

Auto Route

Automatic route advertisement method: IGP Shortcut or IGP Advertise.

Metric

Absolute or relative metric of the MPLS TE tunnel.

display tunnel-bundle

Use display tunnel-bundle to display information about tunnel bundle interfaces and their member interfaces.

Syntax

display tunnel-bundle [ number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

number: Specifies a tunnel bundle interface and its member interfaces by the tunnel bundle interface number. The value range for this argument is 0 to 511. If you do not specify this argument, the command displays information about all tunnel bundle interfaces and their member interfaces.

Examples

# Display information about all tunnel bundle interfaces and their member interfaces.

<Sysname> display tunnel-bundle

Total number of tunnel bundles: 1, 1 up, 0 down

 

Tunnel bundle name: Tunnel-Bundle 1

Bundle state           : Up

Bundle attributes      :

  Working mode         : Load Balancing

  Tunnel type          : CR-LSP

  Tunnel destination   : 2.2.2.2

Bundle members:

  Member         State        Load-share        

  Tunnel2        Up           2       

  Tunnel3        Down         3         

  Tunnel6        Down         3      

Table 31 Command output

Field

Description

Working mode

Tunnel bundle interface operating modes:

·     Load Balancing.

·     1+1—1+1 protection switching mode.

·     1:1—1:1 protection switching mode.

For more information about 1+1 and 1:1 protection switching modes, see MPLS Configuration Guide.

Tunnel type

This field supports only CRLSP.

Tunnel destination

Destination address for the tunnel bundle interface.

Load-share

Weight of the interface for load sharing. This field is displayed when the tunnel bundle interface operates in Load Balancing mode.

Role

Role of a member interface. This field is displayed when the tunnel bundle interface operates in 1+1 or 1:1 mode.

·     Working—The tunnel for the member interface is the working tunnel.

·     Protection—The tunnel for the member interface is the protection tunnel.

ds-te bc-model

Use ds-te bc-model to specify the bandwidth constraint (BC) model used in IETF DS-TE.

Use undo ds-te bc-model to restore the default.

Syntax

ds-te bc-model { extended-mam | mam }

undo ds-te bc-model

Default

The BC model of IETF DS-TE is Russian Dolls Model (RDM).

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

extended-mam: Specifies the BC model as Extended Maximum Allocation Model (Extended-MAM).

mam: Specifies the BC model as Maximum Allocation Model (MAM).

Usage guidelines

RDM is suitable for networks where traffic is unstable and traffic bursts might occur. RDM does not define the bandwidth for one class type (CT) but limits the shared bandwidth for multiple CTs. In cooperation with priority preemption, the RDM model can also implement the isolation between CTs, ensuring each CT its share of bandwidth.

MAM is suitable for networks where traffic of each CT is stable. MAM constrains the bandwidth for only one CT on an interface. This ensures isolation between CTs no matter whether preemption is used or not. Compared with RDM, MAM is easy to understand and configure.

Similar to MAM, Extended MAM constrains the bandwidth for only one CT on an interface, and CTs do not share bandwidth. Extended MAM can reserve bandwidth for multiple CTs on one LSP. Extended MAM supports eight CTs (CT 0 through CT 7) and 16 TE classes (TE class 0 through TE class 15). The default mappings of the first eight TE classes are the same as MAM TE classes. The last eight TE classes define the mappings between CT 0 and priorities 0 to 7, and they are not configurable.

This command applies only to IETF DS-TE. The prestandard DS-TE only uses RDM.

After you change the BC model in IETF DS-TE mode, all nonzero-bandwidth CRLSPs on the device are deleted and then re-established.

Examples

# Specify the BC model of IETF DS-TE as MAM.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] ds-te bc-model mam

Related commands

display mpls te ds-te

ds-te mode

ds-te mode

Use ds-te mode to configure the DS-TE mode.

Use undo ds-te mode to restore the default.

Syntax

ds-te mode ietf

undo ds-te mode

Default

The DS-TE mode is prestandard.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

ietf: Specifies the DS-TE mode as IETF.

Usage guidelines

The prestandard and IETF modes of DS-TE have the following differences:

·     The prestandard mode supports 2 CTs (CT 0 and CT 1), 8 priorities, and a maximum of 16 TE classes. The IETF mode supports 8 CTs (CT 0 through CT 7), eight priorities, and a maximum of 16 TE classes.

·     The prestandard mode does not allow you to configure TE classes. The IETF mode allows for TE class configuration.

·     The prestandard mode supports only RDM. The IETF mode supports RDM, MAM, and Extended-MAM.

·     A device operating in prestandard mode cannot communicate with devices from some vendors. A device operating in IETF mode can communicate with devices from other vendors.

Be aware of these differences and choose a proper DS-TE mode as needed.

After the DS-TE mode is changed, all CRLSPs on the device are deleted and then re-established.

Examples

# Configure the DS-TE mode as IETF.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] ds-te mode ietf

Related commands

display mpls te ds-te

ds-te bc-model

ds-te te-class

Use ds-te te-class to configure a TE class used in IETF DS-TE mode.

Use undo ds-te te-class to restore the default.

Syntax

ds-te te-class te-class-index class-type class-type-number priority priority

undo ds-te te-class te-class-index

Default

Table 32 Default TE classes in IETF MAM model

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

Table 33 Default TE classes in IETF Extended MAM model

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

8

0

0

9

0

1

10

0

2

11

0

3

12

0

4

13

0

5

14

0

6

15

0

7

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

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

class-type class-type-number: Specifies a CT by its number in the range of 0 to 3. The system supports four CTs, CT 0 through CT 3.

priority priority: Specifies a priority number in the range of 0 to 7.

Usage guidelines

The setup or/and holding priority of the LSP transporting a traffic trunk from a CT must be the priority specified for the CT in the TE class.

When you configure a TE class, make sure to specify a CT-priority pair different from that in any existing TE class.

When you restore the default settings for a TE class, make sure the default CT-priority pair is different from the CT-priority pair of an existing TE class.

After a TE class is modified, the device performs the following operations:

1.     Notifies the IGP to re-advertise the bandwidth information for all TE interfaces.

2.     Removes and then re-establishes the CRLSPs of the TE class on all TE interfaces.

TE class 8 through TE class 15 are implicit TE classes, which cannot be configured or displayed by commands.

Examples

# Specify CT 2 and priority 3 for TE class 7 in IETF DS-TE mode.

<Sysname> system-view

[Sysname] mpls te

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

Related commands

display mpls te ds-te

ds-te mode

exclude-srlg

Use exclude-srlg to exclude the links that are in the same SRLG as the specified IP address from an explicit path.

Use undo exclude-srlg to cancel the SRLG-exclusion configuration for an explicit path.

Syntax

exclude-srlg [ index index-number ] ip-address

undo exclude-srlg [ index index-number ]

Default

Explicit path computation does not consider SRLG information.

Views

Explicit path view

Predefined user roles

network-admin

Parameters

index index-number: Specifies a node in the explicit path by the node index, in the range of 1 to 65535. If you do not specify a node index, this command calculates the node index automatically, which is the current maximum index plus 100.

ip-address: Specifies the IP address of an interface, in dotted decimal notation.

Usage guidelines

In the same explicit path, the node indexes configured by the exclude-srlg, nexthop, and nextsid commands cannot be the same.

Examples

# Exclude all links that are in the same SRLG as the interface with IP address 10.0.0.1.

<Sysname> system-view

[Sysname] explicit-path 1

[Sysname-explicit-path 1] exclude-srlg index 1 10.0.0.1

explicit-path

Use explicit-path to create an explicit path and enter its view, or enter the view of an existing explicit path.

Use undo explicit-path to remove an explicit path.

Syntax

explicit-path path-name

undo explicit-path path-name

Default

No explicit paths exist.

Views

System view

Predefined user roles

network-admin

Parameters

path-name: Specifies a name for the explicit path, a case-sensitive string of 1 to 31 characters.

Usage guidelines

In explicit path view, you can use the nexthop command to explicitly specify a node or link that a tunnel must or must not traverse.

Examples

# Create explicit path path1 and enter its view.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1]

Related commands

display explicit-path

mpls te backup-path

mpls te path

nexthop

fast-reroute timer

Use fast-reroute timer to set the interval for selecting an optimal bypass tunnel.

Use undo fast-reroute timer to restore the default.

Syntax

fast-reroute timer interval

undo fast-reroute timer

Default

The optimal bypass tunnel selection interval is 300 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

interval: Specifies the interval for selecting an optimal bypass tunnel, in the range of 0 to 604800 seconds. If you set the interval to 0 seconds, RSVP does not periodically select an optimal bypass tunnel.

Usage guidelines

If you have specified multiple bypass tunnels for a primary CRLSP, MPLS TE selects an optimal bypass tunnel to protect the primary CRLSP. Sometimes, a bypass tunnel might become better than the current optimal bypass tunnel because, for example, the reservable bandwidth changes. MPLS TE must poll the bypass tunnels periodically to update the optimal bypass tunnel.

After traffic is switched from the primary CRLSP to a bypass tunnel, MPLS TE no longer periodically selects optimal bypass tunnels for the primary CRLSP.

If the optimal bypass tunnel selection interval is set to less than 60 seconds, the interval of 60 seconds applies. As a best practice, use the default selection interval.

Examples

# Set the optimal bypass tunnel selection interval to 120 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] fast-reroute timer 120

interface tunnel-bundle

Use interface tunnel-bundle to create a tunnel bundle interface and enter its view, or enter the view of an existing tunnel bundle interface.

Use undo interface tunnel-bundle to delete a tunnel bundle interface.

Syntax

interface tunnel-bundle number

undo interface tunnel-bundle number

Default

No tunnel bundle interfaces exist.

Views

System view

Predefined user roles

network-admin

Parameters

number: Specifies the tunnel bundle interface number. The value range for this argument is 0 to 511.

Usage guidelines

You can specify multiple member interfaces (MPLS TE tunnel interfaces) for a tunnel bundle interface. The member interfaces form a tunnel bundle. When the outgoing interface is the tunnel bundle interface, the device forwards traffic through the MPLS TE tunnels to implement load sharing.

Examples

# Create tunnel bundle interface Tunnel-Bundle 2 and enter its view.

<Sysname> system-view

[Sysname] interface tunnel-bundle 2

[Sysname-Tunnel-Bundle2]

Related commands

destination

display tunnel-bundle

member interface

link-management periodic-flooding timer

Use link-management periodic-flooding timer to set the interval at which IGP floods TE information.

Use undo link-management periodic-flooding timer to restore the default.

Syntax

link-management periodic-flooding timer interval

undo link-management periodic-flooding timer

Default

The IGP floods TE information every 180 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

interval: Specifies the interval at which IGP floods TE information. The value range is 0 and 30 to 3600 seconds. If you set the interval to 0, the periodical flooding feature is disabled.

Usage guidelines

When the reservable bandwidth of a link changes, IGP floods the link TE information to notify network devices of the change. You can use the mpls te bandwidth change thresholds command to configure IGP to flood only significant bandwidth changes of a link to prevent excessive IGP flooding. The bandwidth changes that cannot trigger immediate flooding are flooded at the interval configured by the link-management periodic-flooding timer command.

After you execute this command, the configured interval takes effect immediately.

Examples

# Configure IGP to flood TE information every 100 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] link-management periodic-flooding timer 100

Related commands

mpls te bandwidth change thresholds

member interface

Use member interface to specify a member interface for a tunnel bundle interface.

Use undo member interface to delete a member interface from a tunnel bundle interface.

Syntax

member interface tunnel tunnel-number [ load-share value ]

undo member interface tunnel tunnel-number

Default

No member interface is specified for a tunnel bundle interface.

Views

Tunnel bundle interface view

Predefined user roles

network-admin

Parameters

tunnel tunnel-number: Specifies a member interface by its interface number. The value range for this argument is 0 to 70000.

load-share value: Configures a weight for a member interface, in the range of 1 to 65535. The default value is 1.

Usage guidelines

You can specify multiple member interfaces for a tunnel bundle interface.

Traffic is shared on the member interfaces in proportion of their weights. If the member interfaces have the same weight, they will share the same load.

For example, a tunnel bundle interface has three member interfaces. The weights for the member interfaces are 1, 1, and 2, respectively. The proportions of traffic forwarded by the member interfaces are 1/4, 1/4, and 1/2, respectively. If you configure the weights as 2, 2, and 4 for the member interfaces, the traffic forwarding proportions of the member interfaces are still 1/4, 1/4, and 1/2.

Adding or deleting a member interface enabled with MPLS TE tunnel traffic statistics clears traffic statistics on the tunnel bundle interface and all its member interfaces. MPLS TE tunnel traffic statistics for a tunnel interface is enabled by using the mpls te statistics command.

Examples

# Specify Tunnel 1 and Tunnel 2 as the member interfaces for Tunnel-Bundle 2, and configure the weights of the member interfaces as 1 and 3, respectively.

<Sysname> system-view

[Sysname] interface tunnel-bundle 2

[Sysname-Tunnel-Bundle2] member interface tunnel 1

[Sysname-Tunnel-Bundle2] member interface tunnel 2 load-share 3

Related commands

display tunnel-bundle

mpls te statistics

mpls te

Use mpls te to enable MPLS TE for the local node and enter MPLS TE view.

Use undo mpls te to disable MPLS TE for the local node.

Syntax

mpls te

undo mpls te

Default

MPLS TE is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Disabling MPLS TE also deletes all CRLSPs on the device and MPLS TE configurations on all interfaces.

Examples

# Enable MPLS TE for the local node and enter MPLS TE view.

<Sysname> system-view

[Sysname] mpls lsr-id 1.1.1.9

[Sysname] mpls te

[Sysname-te]

Related commands

mpls te enable

mpls te affinity-attribute

Use mpls te affinity-attribute to set an affinity for a tunnel.

Use undo mpls te affinity-attribute to restore the default.

Syntax

mpls te affinity-attribute attribute-value [ mask mask-value ]

undo mpls te affinity-attribute

Default

The affinity is 0x00000000, and the mask is 0x00000000. That is, a tunnel can use any link.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

attribute-value: Specifies the affinity value, a hexadecimal number in the range of 0 to ffffffff. An affinity is a 32-bit binary number. Each bit of the affinity represents an attribute, which takes a value of 0 or 1.

mask mask-value: Specifies the mask of the affinity bits, a hexadecimal number in the range of 0 to ffffffff. A mask is a 32-bit binary number. Each bit of the mask determines whether to check the corresponding bit of the link attribute. If the mask bit is 1, the corresponding link attribute bit must be checked with the affinity bit. The link can be used by the tunnel only when the link attribute bit meets certain requirements. If the mask bit is 0, the corresponding link attribute bit is not checked.

Usage guidelines

Affinity determines which links a tunnel can use. The affinity attribute and its mask, and the link attribute are all 32-bit long. A link is available for a tunnel if the link attribute meets the following requirements:

·     The link attribute bits corresponding to the affinity attribute's 1 bits whose mask bits are 1 must have a minimum of one bit set to 1.

·     The link attribute bits corresponding to the affinity attribute's 0 bits whose mask bits are 1 must have no bit set to 1.

The link attribute bits corresponding to the 0 bits in the affinity mask are not checked.

For example, if the affinity is 0xfffffff0 and the mask is 0x0000ffff, a link is available for the tunnel when its attribute bits meet the following requirements:

·     The highest 16 bits each can be 0 or 1 (no requirements).

·     The 17th through 28th bits must have a minimum of one bit whose value is 1.

·     The lowest four bits must be 0.

Examples

# Set the tunnel affinity to 0x101 and mask to 0x303. Then, a link is available for the tunnel only when the link attribute bits (from left to right) meet the following requirements:

·     The 23rd bit is 0.

·     The 31st bit is 0.

·     A minimum of one bit from the 24th to 32nd bits must be 1.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te affinity-attribute 101 mask 303

Related commands

display mpls te tunnel-interface

mpls te link-attribute

mpls te auto-bandwidth

Use mpls te auto-bandwidth adjustment to enable automatic bandwidth adjustment and output rate collection for an MPLS TE tunnel.

Use mpls te auto-bandwidth collect-bw to enable output rate collection for an MPLS TE tunnel.

Use undo mpls te auto-bandwidth to disable automatic bandwidth adjustment and output rate collection for an MPLS TE tunnel.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

mpls te auto-bandwidth { adjustment [ frequency seconds ] [ max-bw max-bandwidth | min-bw min-bandwidth ] * | collect-bw [ frequency seconds ] }

undo mpls te auto-bandwidth

Default

Automatic bandwidth adjustment and output rate collection are disabled for an MPLS TE tunnel.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

adjustment: Enables automatic bandwidth adjustment and output rate collection for the tunnel.

collect-bw: Enables output rate collection for the tunnel, but does not adjust the tunnel's bandwidth.

frequency seconds: Specifies the automatic bandwidth adjustment interval (with the adjustment keyword) or the output rate collection interval (with the collect-bw keyword). The value range for the seconds argument is 300 to 604800, in seconds. The default interval is 86400 seconds.

max-bw max-bandwidth: Specifies the maximum automatic bandwidth for the tunnel, in the range of 1 to 4294967295, in kbps. If you do not specify this option, TE does not limit the maximum bandwidth value.

min-bw min-bandwidth: Specifies the minimum automatic bandwidth for the tunnel, in the range of 1 to 4294967295, in kbps. If you do not specify this option, TE does not limit the minimum bandwidth value.

Usage guidelines

Automatic bandwidth adjustment functions as follows:

1.     Samples the tunnel interface output rate at regular intervals.

The sampling interval is specified by using the auto-bandwidth enable command.

2.     Calculates the average output rate in each sampling interval.

3.     Adjusts the MPLS TE tunnel bandwidth to the maximum average output rate when the automatic bandwidth adjustment interval is reached.

The maximum average output rate refers to the largest of all average output rates calculated in the sampling intervals during the automatic bandwidth adjustment interval. As a best practice, set the bandwidth adjustment interval to a value a minimum of 3 times the sampling interval to get the accurate output rate.

4.     Establishes a new CRLSP based on the adjusted bandwidth.

5.     Switches traffic to the new CRLSP, and then deletes the old CRLSP.

The output rate collection feature collects the tunnel output rate regularly at the specified collection interval. The collected output rate is the largest of all average output rates calculated in the sampling intervals during the collection interval.

To enable MPLS TE to adjust bandwidth or collects the output rate for an MPLS TE tunnel, perform the following tasks:

·     Enable the global automatic bandwidth adjustment by using the auto-bandwidth enable command in MPLS TE view.

·     Enable automatic bandwidth adjustment or output rate collection for the MPLS TE tunnel by using the mpls te auto-bandwidth command.

·     For automatic bandwidth adjustment to take effect, you must also enable outbound traffic policing for the MPLS TE tunnel.

To enable the tunnel outbound traffic policing feature, execute the mpls te lsp-tp outbound command.

In the same tunnel interface view, the mpls te auto-bandwidth command is mutually exclusive with these commands: mpls te reoptimization, mpls te route-pinning, and mpls te backup ordinary.

Examples

# Enable automatic bandwidth adjustment for MPLS TE Tunnel 0, and set the adjustment interval to 3600 seconds.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te auto-bandwidth adjustment frequency 3600

Related commands

auto-bandwidth enable

display mpls te tunnel-interface

reset mpls te auto-bandwidth-adjustment timers

mpls te auto-tunnel backup disable

Use mpls te auto-tunnel backup disable to disable the auto FRR feature on an RSVP-enabled interface.

Use undo mpls te auto-tunnel backup disable to enable the auto FRR feature on an RSVP-enabled interface.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

mpls te auto-tunnel backup disable

undo mpls te auto-tunnel backup disable

Default

The auto FRR feature is enabled on all RSVP-enabled interfaces after it is enabled globally.

Views

Interface view

Predefined user roles

network-admin

Usage guidelines

The auto FRR feature allows an interface to automatically set up a node-protection bypass tunnel and a link-protection bypass tunnel for each of its primary CRLSPs. The output interface of the primary CRLSPs is the interface itself.

Bypass tunnels are set up before the primary CRLSP fails. Therefore, they use extra bandwidth. To save network bandwidth, configure auto FRR only for key interfaces. On other interfaces, use the mpls te auto-tunnel backup disable command to disable the interfaces from automatically setting up bypass tunnels.

Execution of the mpls te auto-tunnel backup disable command deletes all existing bypass tunnels automatically created on the interface.

Examples

# Disable auto FRR on HundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te auto-tunnel backup disable

Related commands

auto-tunnel backup

mpls te backup

Use mpls te backup to enable tunnel backup and specify the backup mode for a tunnel.

Use undo mpls te backup to disable tunnel backup.

Syntax

mpls te backup { hot-standby [ wtr delay-time ] | ordinary }

undo mpls te backup

Default

Tunnel backup is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

hot-standby: Enables hot-standby backup for the tunnel. In this mode, a backup CRLSP is established immediately after the primary CRLSP is established. When the primary CRLSP fails, MPLS TE immediately switches traffic to the backup CRLSP.

wtr delay-time: Sets the recovery delay time for hot-standby backup, in seconds. The value range for the delay-time argument is 0 to 2592000. The default value is 10. To avoid packet loss during tunnel switchover, do not set a recovery delay time that is smaller than the default value.

ordinary: Enables ordinary backup for the tunnel. In this mode, a backup CRLSP is established after the primary CRLSP fails.

Usage guidelines

A tunnel interface must wait for the recovery delay time to elapse before it switches traffic from the backup CRLSP back to the recovered primary CRLSP.

After you execute this command for a tunnel, the record route flag is automatically set for the tunnel, regardless of whether the mpls te record-route command is executed.

In the same tunnel interface view, the mpls te backup command is mutually exclusive with the mpls te reoptimization command.

Examples

# Enable hot-standby backup for Tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te backup hot-standby

Related commands

mpls te backup-path

mpls te backup bandwidth

Use mpls te backup bandwidth to configure the bypass tunnel to protect all CTs without limiting the protected bandwidth.

Use undo mpls te backup bandwidth to restore the default.

Syntax

mpls te backup bandwidth [ ct0 | ct1 | ct2 | ct3 ]un-limited

undo mpls te backup bandwidth

Default

The bandwidth and the CT that the bypass tunnel can protect are not specified.

Views

Tunnel interface view

Predefined user roles

network-admin

Usage guidelines

After this command is executed, the bypass tunnel can protect all CTs without limiting the protected bandwidth. If the sum of traffic of the protected tunnels exceeds the actual bandwidth of the bypass tunnel, traffic of protected tunnels might be lost.

After you execute this command for a tunnel, the record route flag is automatically set for the tunnel, regardless of whether the mpls te record-route command is configured.

If both the mpls te backup bandwidth and mpls te fast-reroute commands are configured, only the mpls te backup bandwidth command takes effect.

Examples

Configure Tunnel 1 to provide protection for CRLSPs of all CTs without constraining the protected bandwidth.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te backup bandwidth un-limited

[Sysname-Tunnel0] quit

[Sysname] interface tunnel 1 mode mpls-te

[Sysname-Tunnel1] mpls te backup bandwidth ct1 1000

Related commands

display mpls te tunnel-interface

mpls te fast-reroute

mpls te backup-path

Use mpls te backup-path to specify a path for the backup CRLSP and set the preference of the path.

Use undo mpls te backup-path to delete the specified path for the backup CRLSP.

Syntax

mpls te backup-path preference value { dynamic [ pce [ ip-address ]&<0-8> ] | explicit-path path-name } [ no-cspf ]

undo mpls te backup-path preference value

Default

MPLS TE uses the dynamically calculated path to establish the backup CRLSP.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

preference value: Specifies a preference value for a path, in the range of 1 to 10. A smaller value represents a higher preference.

dynamic: Uses the path dynamically calculated by CSPF to establish the backup CRLSP.

pce: Uses the path calculated by PCEs to establish the CRLSP. If you do not specify this keyword, the local LSR uses the path dynamically calculated by CSPF.

[ ip-address ]&<0-8>: Specifies a space-separated list of a maximum of eight PCE addresses. If you do not specify a PCE address, the system automatically selects a PCE from the discovered PCEs. If you specify more than one PCE address, a BRPC calculation will be performed on the specified PCEs in configuration order.

explicit-path path-name: Uses the specified explicit path to establish the backup CRLSP. The path-name argument specifies the name of an explicit path, a case-sensitive string of 1 to 31 characters.

no-cspf: Calculates the path by searching the routing table instead of using the CSPF algorithm.

Usage guidelines

You can specify a maximum of 10 backup paths for a tunnel interface. The backup paths must have different preferences.

When establishing a backup CRLSP, MPLS TE performs CSPF calculations using the specified paths in the descending order of preference until the backup CRLSP is established successfully. If the CSPF calculations for all paths are failed, the backup CRLSP cannot be established.

This command takes effect only when backup has been enabled for the tunnel by using the mpls te backup command.

If you specify PCE addresses in this command or in the mpls te path command, the local device establishes PCEP sessions to the specified PCEs. If you do not specify a PCE address, the local device establishes PCEP sessions to all discovered PCEs.

Examples

# Configure Tunnel 0 to use explicit path path1 and the path calculated by PCEs to establish a backup CRLSP. Set a higher preference for the path calculated by PCEs.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te backup-path preference 2 explicit-path path1

[Sysname-Tunnel0] mpls te backup-path preference 1 dynamic pce 1.1.1.9 2.2.2.9

Related commands

display mpls te tunnel-interface

mpls te backup

mpls te path

mpls te bandwidth

Use mpls te bandwidth to assign bandwidth to the MPLS TE tunnel and specify a class type (CT) for the tunnel.

Use undo mpls te bandwidth to restore the default.

Syntax

mpls te bandwidth { bandwidth | { ct0 ct0-bandwidth | ct1 ct1-bandwidth | ct2 ct2-bandwidth | ct3 ct3-bandwidth | ct4 ct4-bandwidth | ct5 ct5-bandwidth | ct6 ct6-bandwidth | ct7 ct7-bandwidth } * }

undo mpls te bandwidth

Default

No bandwidth (0 bps) is assigned to an MPLS TE tunnel and the tunnel is available for CT 0.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

bandwidth: Specifies the bandwidth required by the MPLS TE tunnel, in kbps. The value range for this argument is 1 to 4294967295

ct0 ct0-bandwidth: Specifies CT 0 for the tunnel, in kbps. The ct0-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 0. The value range for this argument is 1 to 4294967295.

ct1 ct1-bandwidth: Specifies CT 1 for the tunnel. The ct1-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 1. The value range for this argument is 1 to 4294967295 kbps.

ct2 ct2-bandwidth: Specifies CT 2 for the tunnel. The ct2-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 2. The value range for this argument is 1 to 4294967295 kbps.

ct3 ct3-bandwidth: Specifies CT 3 for the tunnel. The ct3-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 3. The value range for this argument is 1 to 4294967295 kbps.

ct4 ct4-bandwidth: Specifies CT 4 for the tunnel. The ct4-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 4. The value range for this argument is 1 to 4294967295 kbps.

ct5 ct5-bandwidth: Specifies CT 5 for the tunnel. The ct5-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 5. The value range for this argument is 1 to 4294967295 kbps.

ct6 ct6-bandwidth: Specifies CT 6 for the tunnel. The ct6-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 6. The value range for this argument is 1 to 4294967295 kbps.

ct7 ct7-bandwidth: Specifies CT 7 for the tunnel. The ct7-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 7. The value range for this argument is 1 to 4294967295 kbps.

Usage guidelines

If you do not specify a CT for a tunnel, the tunnel is available for CT 0.

If you specify multiple CTs for a tunnel, the tunnel is available only for the specified CTs. For example, if you execute the mpls te bandwidth ct0 100 ct3 200 ct6 400 command, the following applies:

·     The bandwidth required by the tunnel traffic of CT 0, CT 3, and CT 6 is 100, 200, and 400 kbps, respectively.

·     A link can be selected for the tunnel only if the link's interface has BC0, BC3, and BC6 greater than or equal to 100, 200, and 400 kbps, respectively.

If you specify multiple CTs for a tunnel, the tunnel will use the extended-MAM model to select links for the traffic.

If the bandwidth required by the MPLS TE tunnel is more than 1024 kbps, set the bandwidth to a multiple of 1024 kbps.

This command applies only to the MPLS TE tunnels established by RSVP-TE. The bandwidth and CT of an MPLS TE tunnel established by using a static CRLSP are determined by the static-cr-lsp ingress command.

Examples

# Assign 1000 kbps bandwidth to MPLS TE Tunnel 0 and specify the CT of the tunnel as CT 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te bandwidth ct0 1000

Related commands

display mpls te tunnel-interface

mpls te max-link-bandwidth

mpls te max-reservable-bandwidth

mpls te max-reservable-bandwidth mam

mpls te max-reservable-bandwidth rdm

mpls te bandwidth change thresholds

Use mpls te bandwidth change thresholds to set the bandwidth up/down threshold for the IGP to flood TE information.

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

Syntax

mpls te bandwidth change thresholds { down | up } percent

undo mpls te bandwidth change thresholds { down | up }

Default

The IGP floods the TE information when the bandwidth increases or decreases by 10% of the link reservable bandwidth.

Views

Interface view

Predefined user roles

network-admin

Parameters

down: Specifies the bandwidth decrease percentage threshold that triggers the IGP to flood TE information. When the percentage of the link reservable-bandwidth decrease to the maximum link reservable bandwidth reaches or exceeds the threshold, the IGP floods the TE information and updates the TEDB.

up: Specifies the bandwidth increase percentage threshold that triggers the IGP to flood TE information. When the percentage of the link reservable-bandwidth increase to the maximum link reservable bandwidth reaches or exceeds the threshold, the IGP floods the TE information and updates the TEDB.

percent: Specifies the IGP flooding threshold in the range of 0% to 100%.

Usage guidelines

When the reservable bandwidth of a link changes, the IGP floods the link TE information to notify network devices of the change. To avoid frequent TE information flooding from affecting network performance, you can use this command to configure the IGP to flood only significant bandwidth changes of a link.

Examples

# On HundredGigE 1/0/1, configure the IGP to flood TE information when the link available bandwidth decreases by 100%.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te bandwidth change thresholds down 100

Related commands

link-management periodic-flooding timer

mpls te binding-sid

Use mpls te binding-sid to specify a BSID for an MPLS TE tunnel.

Use undo mpls te binding-sid to delete the BSID of an MPLS TE tunnel.

Syntax

mpls te binding-sid label label-value

undo mpls te binding-sid

Default

No BSID is specified for an MPLS TE tunnel.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

label label-value: Specifies a BSID label in the range of 16 to 1048575. The value range for the label-value argument is 16 to 250000.

Usage guidelines

A binding SID (BSID) identifies an MPLS TE tunnel. You can configure a path to use an MPLS TE tunnel by specifying the BSID of the MPLS TE tunnel for the path.

You can specify only one BSID on a tunnel interface. You must specify different BSIDs on different tunnel interfaces.

If a BSID label is already used, for example, by a static CRLSP, you can specify the BSID for an MPLS TE tunnel, but the configuration does not take effect. In this case, the BSID state of the tunnel is Dup. To view the BSID state of a tunnel, see the Binding SID State field in the output from the display mpls te tunnel-interface command.

Examples

# Specify BSID 1000 for MPLS TE tunnel 1.

<Sysname> system-view

[Sysname] interface Tunnel 1 mode mpls-te

[Sysname-Tunnel1] mpls te binding-sid label 1000

Related commands

display mpls te binding-sid

nextsid

mpls te delegation

Use mpls te delegation to enable CRLSP/SRLSP delegation on a PCC.

Use undo mpls te delegation to disable CRLSP/SRLSP delegation on a PCC.

Syntax

mpls te delegation

undo mpls te delegation

Default

CRLSP/SRLSP delegation is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Usage guidelines

After CRLSP/SRLSP delegation is enabled on a PCC, the PCC performs the following operations:

1.     Delegates CRLSPs/SRLSPs to a PCE in the descending order of delegation priority.

2.     Accepts CRLSP/SRLSP update requests from the delegated PCE.

3.     Updates CRLSPs/SRLSPs according to the configurations specified by the delegated PCE.

Examples

# Enable CRLSP/SRLSP delegation on a PCC.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te delegation

Related commands

pce peer delegation-priority

mpls te enable (interface view)

Use mpls te enable to enable MPLS TE on an interface.

Use undo mpls te enable to disable MPLS TE on an interface.

Syntax

mpls te enable

undo mpls te enable

Default

MPLS TE is disabled on an interface.

Views

Interface view

Predefined user roles

network-admin

Usage guidelines

After you enable MPLS TE on an interface by using the mpls te enable command, the interface can act as part of an MPLS TE tunnel.

After you execute the undo mpls te enable command on an interface, MPLS TE is disabled on the interface and all CRLSPs on the interface are deleted.

Examples

# Enable MPLS TE on HundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te enable

Related commands

display mpls te link-management bandwidth-allocation

mpls te

mpls te enable (IS-IS view)

Use mpls te enable to enable MPLS TE for an IS-IS process.

Use undo mpls te enable to disable MPLS TE for an IS-IS process.

Syntax

mpls te enable [ level-1 | level-2 ]

undo mpls te enable [ level-1 | level-2 ]

Default

MPLS TE is disabled for an IS-IS process.

Views

IS-IS view

Predefined user roles

network-admin

Parameters

level-1: Enables MPLS TE for IS-IS at Level-1.

level-2: Enables MPLS TE for IS-IS at Level-2.

Usage guidelines

If you do not specify an IS-IS level, this command enables MPLS TE for IS-IS at both Level-1 and Level-2.

IS-IS TE uses a sub-TLV of the extended IS reachability TLV (type 22) to carry TE attributes. Because the extended IS reachability TLV carries wide metrics, specify a wide metric-compatible metric style for the IS-IS process before enabling IS-IS TE. Available metric styles for IS-IS TE include wide, compatible, or wide-compatible. For more information about IS-IS, see Layer 3—IP Routing Configuration Guide.

If you execute this command multiple times, the most recent configuration takes effect. For example, if you execute the mpls te enable command and then the mpls te enable level-1 command, MPLS TE is enabled for Level-1 and disabled for Level-2.

After you enable MPLS TE for both Level-1 and Level-2, executing the undo mpls te enable level-1 command disables MPLS TE for Level-1. MPLS TE is still enabled for Level-2. Similarly, the undo mpls te enable level-2 command only disables MPLS TE for Level-2.

IS-IS messages cannot be fragmented at the IP layer. For IS-IS TE to operate correctly, make sure the following requirements are met:

·     The Link State PDU size is large enough so that the Link State PDUs can carry TE information. To set the maximum size of Level-1 and Level-2 Link State PDUs, use the lsp-length originate command.

·     The MTU of an IS-IS enabled interface is greater than or equal to the size of IS-IS Link State PDUs with TE information. To set the interface MTU, use the mtu command.

Examples

# Enable MPLS TE for IS-IS process 1 at Level-2.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] cost-style compatible

[Sysname-isis-1] mpls te enable level-2

Related commands

cost-style (Layer 3—IP Routing Command Reference)

mpls te enable (OSPF area view)

Use mpls te enable to enable MPLS TE for an OSPF area.

Use undo mpls te enable to disable MPLS TE for an OSPF area.

Syntax

mpls te enable

undo mpls te enable

Default

MPLS TE is disabled for an OSPF area.

Views

OSPF area view

Predefined user roles

network-admin

Usage guidelines

OSPF TE uses Type-10 opaque LSAs to carry the TE attributes for a link. Before you configure OSPF TE, you must enable opaque LSA advertisement and reception by using the opaque-capability enable command. For more information about opaque LSA advertisement and reception, see Layer 3—IP Routing Configuration Guide.

Examples

# Enable MPLS TE for OSPF process 1 in OSPF area 1.

<Sysname> system-view

[Sysname] ospf 1

[Sysname-ospf-1] area 1

[Sysname-ospf-1-area-0.0.0.1] mpls te enable

Related commands

opaque-capability enable (Layer 3—IP Routing Command Reference)

mpls te fast-reroute

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

Use undo mpls te fast-reroute to disable FRR.

Syntax

mpls te fast-reroute [ bandwidth ]

undo mpls te fast-reroute

Default

FRR is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

bandwidth: Provides bandwidth protection for the primary CRLSP. If you do not specify this keyword, bandwidth protection is not provided for the primary CRLSP.

 

 

NOTE:

The bandwidth keyword is supported only in R3608 and later.

 

Usage guidelines

FRR provides a quick link or node protection on a CRLSP. FRR traffic switching can happen in as fast as 50 milliseconds, minimizing data loss.

After FRR is enabled for an MPLS TE tunnel, once a link or node fails on the primary CRLSP, the following events occur:

·     FRR reroutes the traffic to a bypass tunnel.

·     The ingress node attempts to set up a new CRLSP.

After the new CRLSP is set up successfully, traffic is forwarded on the new CRLSP.

After FRR is enabled for a tunnel, the label recording feature is automatically enabled for the tunnel, regardless of whether the mpls te record-route label command is executed.

Examples

# Enable FRR for Tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te fast-reroute

Related commands

display mpls te tunnel-interface

mpls te backup bandwidth

mpls te fast-reroute bypass-tunnel

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

Use undo mpls te fast-reroute bypass-tunnel to delete a bypass tunnel from an interface.

Syntax

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

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

Default

No bypass tunnel is specified for an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

tunnel tunnel-number: Specifies a bypass tunnel by the tunnel interface number. The value range for the tunnel-number argument is 0 to 70000.The specified bypass tunnel must be established by RSVP, and the protected interface must not be the outgoing interface of a bypass tunnel.

Usage guidelines

The protected interface (where the command is executed) is the outgoing interface of a primary CRLSP. When the outgoing interface is down or a neighbor failure is detected through the BFD or hello mechanism, traffic of the primary CRLSP is switched to the bypass tunnel.

When you use this command, follow these restrictions and guidelines:

·     You can specify a maximum of three bypass tunnels for an interface.

·     A bypass tunnel can protect a maximum of three interfaces.

Examples

# Configure tunnel interface Tunnel 0 as the bypass tunnel for HundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te fast-reroute bypass-tunnel tunnel 0

Related commands

fast-reroute timer

mpls te igp advertise

Use mpls te igp advertise to enable forwarding adjacency for an MPLS TE tunnel or tunnel bundle, so IGP advertises the tunnel as a link in the IGP network.

Use undo mpls te igp advertise to disable forwarding adjacency.

Syntax

Tunnel interface view:

mpls te igp advertise [ hold-time value ]

undo mpls te igp advertise

Tunnel bundle interface view:

mpls te igp advertise

undo mpls te igp advertise

Default

Forwarding adjacency is disabled for an MPLS TE tunnel or tunnel bundle, and IGP does not advertise the tunnel as a link in the IGP network.

Views

Tunnel interface view

Tunnel bundle interface view

Predefined user roles

network-admin

Parameters

hold-time value: Specifies the period of time that IGP waits to advertise an MPLS TE tunnel up/down state change. The value range is 0 to 4294967295 milliseconds. The default value is 0, which means when the MPLS TE tunnel state changes, IGP immediately advertises the state change.

Usage guidelines

MPLS TE tunnels that consist of SRLSPs do not support this command.

To make forwarding adjacency take effect, you must establish two MPLS TE tunnels or tunnel bundles in opposite directions between two nodes, and enable forwarding adjacency on both nodes.

On an interface, if you configure both the mpls te igp advertise command and the mpls te igp shortcut command, the most recent configuration takes effect.

After a tunnel interface becomes a tunnel bundle member interface, the hold-time configuration for the tunnel interface still takes effect. As a best practice, remove the hold-time configuration by using the undo mpls te igp advertise command in tunnel interface view to avoid impact on the tunnel bundle interface.

Examples

# Enable forwarding adjacency for MPLS TE Tunnel 0, and set the wait time before advertising a tunnel state change to 10000 milliseconds.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

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

Related commands

mpls te igp metric

mpls te igp shortcut

mpls te igp metric

Use mpls te igp metric to assign a metric to an MPLS TE tunnel or tunnel bundle.

Use undo mpls te igp metric to restore the default.

Syntax

mpls te igp metric { absolute value | relative value }

undo mpls te igp metric

Default

The metric of an MPLS TE tunnel or tunnel bundle equals its IGP metric.

Views

Tunnel interface view

Tunnel bundle interface view

Predefined user roles

network-admin

Parameters

absolute value: Specifies an absolute metric, an integer in the range of 1 to 65535.

relative value: Specifies a relative metric, an integer in the range of –10 to +10. A relative metric is the assigned metric value plus the IGP metric.

Usage guidelines

When IGP shortcut is enabled for an MPLS TE tunnel or tunnel bundle, the tunnel is included in the IGP route calculation as a link. You can use this command to configure the metric of this link used for IGP route calculation.

Examples

# Assign MPLS TE tunnel interface Tunnel 0 a relative metric of –1 for route calculation in IGP shortcut mechanism.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

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

Related commands

mpls te igp shortcut

mpls te igp shortcut

Use mpls te igp shortcut to enable IGP shortcut for an MPLS TE tunnel or tunnel bundle. The tunnel ingress node includes the tunnel in the IGP route calculation as a link.

Use undo mpls te igp shortcut to disable IGP shortcut.

Syntax

mpls te igp shortcut [ isis | ospf ]

undo mpls te igp shortcut

Default

IGP shortcut is disabled for an MPLS TE tunnel or tunnel bundle. The ingress node does not include the tunnel in the IGP route calculation as a link.

Views

Tunnel interface view

Tunnel bundle interface view

Predefined user roles

network-admin

Parameters

isis: Specifies IS-IS as the IGP.

ospf: Specifies OSPF as the IGP.

Usage guidelines

If you do not specify the IGP in this command, both OSPF and IS-IS will include the MPLS TE tunnel or tunnel bundle in route calculation.

On an interface, if you configure both the mpls te igp advertise command and the mpls te igp shortcut command, the most recent configuration takes effect.

Examples

# Enable IGP shortcut for MPLS TE Tunnel 0, so the tunnel ingress node considers the tunnel as a link in the OSPF and IS-IS route calculation.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te igp shortcut

Related commands

mpls te igp advertise

mpls te igp metric

mpls te link-attribute

Use mpls te link-attribute to set the link attribute.

Use undo mpls te link-attribute to restore the default.

Syntax

mpls te link-attribute attribute-value

undo mpls te link-attribute

Default

The link attribute value is 0x00000000.

Views

Interface view

Predefined user roles

network-admin

Parameters

attribute-value: Specifies the link attribute value, a hexadecimal number in the range of 0 to ffffffff. A link attribute value is a 32-bit binary number. Each bit represents an attribute with a value of 0 or 1.

Usage guidelines

The TE information for a link advertised by the IGP includes the link attribute configured by this command. After receiving the link TE information, the ingress node of an MPLS TE tunnel determines whether the link can be used for MPLS TE tunnel establishment according to the following settings:

·     The configured tunnel affinity attribute.

·     The affinity mask.

·     The link attribute.

A link is available for a tunnel if the following requirements are met:

·     The link attribute bits corresponding to the affinity attribute's 1 bits whose mask bits are 1 must have a minimum of one bit set to 1.

·     The link attribute bits corresponding to the affinity attribute's 0 bits whose mask bits are 1 must have no bit set to 1.

The link attribute bits corresponding to the 0 bits in the affinity mask are not checked.

For example, if the affinity is 0xfffffff0 and the mask is 0x0000ffff, a link is available for the tunnel when its link attribute bits meet the following requirements:

·     The highest 16 bits each can be 0 or 1 (no requirements).

·     The 17th through 28th bits must have a minimum of one bit whose value is 1.

·     The lowest four bits must be 0.

Examples

# On HundredGigE 1/0/1, set the link attribute to 0x00000101.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te link-attribute 101

Related commands

mpls te affinity-attribute

mpls te load-share

Use mpls te load-share to assign bandwidth to an MPLS TE tunnel for unequal load sharing.

Use undo mpls te load-share to restore the default.

Syntax

mpls te load-share value

undo mpls te load-share

Default

No bandwidth is assigned to an MPLS TE tunnel interface for unequal load sharing. The proportion of traffic forwarded over the MPLS TE tunnel is based on the bandwidth assigned by the mpls te bandwidth command.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

value: Specifies the bandwidth to be assigned to the MPLS TE tunnel for unequal load sharing, in the range of 1 to 4294967295 kbps.

Usage guidelines

Use this command to assign bandwidth to multiple equal-cost MPLS TE tunnels that have the same destination. Traffic to that destination is shared over the tunnels in proportion of their bandwidths.

For example, Tunnel 1, Tunnel 2, and Tunnel 3 are three equal-cost MPLS TE tunnels destined for the same address. The bandwidths of Tunnel 1, Tunnel 2, and Tunnel 3 are 10000 kbps, 10000 kbps, and 20000 kbps, respectively. The proportions of traffic forwarded over the tunnels are 1/4, 1/4, and 1/2, respectively. If you change the bandwidths of the tunnels to 1 kbps, 1 kbps, and 2 kbps, the traffic forwarding proportions of the tunnels are still 1/4, 1/4, and 1/2.

When adjacency forwarding is enabled, bandwidth assigned by the mpls te load-share command participates in IGP link cost calculation. As a result, the IGP link costs of the MPLS TE tunnels for unequal load sharing might be different. In this case, tune the IGP costs of the tunnels with the ospf cost or isis cost command to ensure that their IGP link costs are equal.

Examples

# Assign bandwidth 10000 kbps to Tunnel 0 for unequal load sharing.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te load-share 10000

Related commands

mpls te igp shortcut

isis cost (Layer 3—IP Routing Command Reference)

ospf cost (Layer 3—IP Routing Command Reference)

mpls te loop-detection

Use mpls te loop-detection to enable loop detection during establishment of an MPLS TE tunnel.

Use undo mpls te loop-detection to disable loop detection for the MPLS TE tunnel.

Syntax

mpls te loop-detection

undo mpls te loop-detection

Default

Loop detection is disabled for an MPLS TE tunnel.

Views

Tunnel interface view

Predefined user roles

network-admin

Usage guidelines

When loop detection is enabled on the ingress node of an MPLS TE tunnel, the route recording feature is automatically enabled for the tunnel, regardless of whether the mpls te record-route command is configured. When establishing the MPLS TE tunnel, each node of the tunnel detects whether a loop has occurred according to the recorded route information.

Examples

# Enable loop detection for establishing MPLS TE Tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te loop-detection

mpls te max-link-bandwidth

Use mpls te max-link-bandwidth to set the maximum bandwidth for MPLS TE traffic on an interface.

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

Syntax

mpls te max-link-bandwidth { bandwidth-value | percent percent-bandwidth }

undo mpls te max-link-bandwidth

Default

The maximum link bandwidth for MPLS TE traffic is 0 kbps.

Views

Interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the maximum link bandwidth in the range of 1 to 4294967295 kbps.

percent percent-bandwidth: Specifies the percentage of the maximum link bandwidth out of the total interface bandwidth. The value range for the percent-bandwidth argument is 1 to 200.

Usage guidelines

The device carries the maximum link bandwidth in advertised IGP routes. The tunnel ingress node can obtain the information and use the information in CSPF calculation to select a path that meets the tunnel bandwidth requirements.

Examples

# On HundredGigE 1/0/1, set the maximum link bandwidth for MPLS TE traffic to 1158 kbps.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

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

Related commands

display mpls te link-management bandwidth-allocation

mpls te bandwidth

mpls te max-reservable-bandwidth

mpls te max-reservable-bandwidth mam

mpls te max-reservable-bandwidth rdm

mpls te max-reservable-bandwidth

Use mpls te max-reservable-bandwidth to set the maximum reservable bandwidth of the link (BC 0) and BC 1 in prestandard DS-TE RDM model.

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

Syntax

mpls te max-reservable-bandwidth { bandwidth-value [ bc1 bc1-bandwidth ] | percent percent-bandwidth [ bc1 bc1-percent-bandwidth ] }

undo mpls te max-reservable-bandwidth

Default

The maximum reservable bandwidth is 0 kbps.

Views

Interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the maximum reservable bandwidth of the link (the value of BC 0), in the range of 1 to 4294967295 kbps.

bc1 bc1-bandwidth: Specifies the value of BC 1, in the range of 1 to 4294967295 kbps. The default value is 0.

percent percent-bandwidth: Specifies the percentage of BC 0 out of the maximum link bandwidth. The value range for the percent-bandwidth argument is 1 to 200.

bc1 bc1-percent-bandwidth: Specifies the percentage of BC 1 out of the maximum link bandwidth. The value range for the bc1-percent-bandwidth argument is 1 to 200.The default value is 0.

Usage guidelines

The device carries the bandwidth values configured by this command in IGP route advertisements. The tunnel ingress node can obtain the information and use the information in CSPF calculation to select a path that meets the tunnel bandwidth requirements.

The maximum reservable bandwidth of a link cannot be greater than the maximum bandwidth of the link configured with the mpls te max-link-bandwidth command. The value of BC 1 cannot be greater than the maximum reservable bandwidth of the link.

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

Examples

# Set the link maximum reservable bandwidth to 1158 kbps and BC 1 to 200 kbps for MPLS TE traffic in prestandard DS-TE RDM model.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

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

Related commands

display mpls te link-management bandwidth-allocation

mpls te bandwidth

mpls te max-link-bandwidth

mpls te max-reservable-bandwidth mam

mpls te max-reservable-bandwidth rdm

mpls te max-reservable-bandwidth mam

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

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

Syntax

mpls te max-reservable-bandwidth mam { bandwidth-value { bc0 bc0-bandwidth | bc1 bc1-bandwidth | bc2 bc2-bandwidth | bc3 bc3-bandwidth | bc4 bc4-bandwidth | bc5   bc5-bandwidth | bc6  bc6-bandwidth | bc7 bc7-bandwidth } * | percent percent-bandwidth { bc0 bc0-percent-bandwidth | bc1 bc1-percent-bandwidth | bc2 bc2-percent-bandwidth | bc3 bc3-percent-bandwidth | bc4 bc4-percent-bandwidth | bc5 bc5-percent-bandwidth | bc6 bc6-percent-bandwidth | bc7 bc7-percent-bandwidth } * }

undo mpls te max-reservable-bandwidth mam

Default

The maximum reservable bandwidth of a link is 0 kbps and each BC is 0 kbps.

Views

Interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the maximum reservable bandwidth of the link, in the range of 1 to 4294967295 kbps.

bc0 bc0-bandwidth: Specifies the value of BC 0, in the range of 1 to 4294967295 kbps. By default, BC 0 is 0 kbps.

bc1 bc1-bandwidth: Specifies the value of BC 1, in the range of 1 to 4294967295 kbps. By default, BC 1 is 0 kbps.

bc2 bc2-bandwidth: Specifies the value of BC 2, in the range of 1 to 4294967295 kbps. By default, BC 2 is 0 kbps.

bc3 bc3-bandwidth: Specifies the value of BC 3, in the range of 1 to 4294967295 kbps. By default, BC 3 is 0 kbps.

bc4 bc4-bandwidth: Specifies the value of BC 4, in the range of 1 to 4294967295 kbps. By default, BC 4 is 0 kbps.

bc5 bc5-bandwidth: Specifies the value of BC 5, in the range of 1 to 4294967295 kbps. By default, BC 5 is 0 kbps.

bc6 bc6-bandwidth: Specifies the value of BC 6, in the range of 1 to 4294967295 kbps. By default, BC 6 is 0 kbps.

bc7 bc7-bandwidth: Specifies the value of BC 7, in the range of 1 to 4294967295 kbps. By default, BC 7 is 0 kbps.

percent-bandwidth: Specifies the percentage of the maximum reservable link bandwidth out of the maximum link bandwidth. The value range for this argument is 1 to 200.The default value is 0.

bc0 bc0-percent-bandwidth: Specifies the percentage of BC 0 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc1 bc1-percent-bandwidth: Specifies the percentage of BC 1 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc2 bc2-percent-bandwidth: Specifies the percentage of BC 2 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc3 bc3-percent-bandwidth: Specifies the percentage of BC 3 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc4 bc4-percent-bandwidth: Specifies the percentage of BC 4 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc5 bc5-percent-bandwidth: Specifies the percentage of BC 5 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc6 bc6-percent-bandwidth: Specifies the percentage of BC 6 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

bc7 bc7-percent-bandwidth: Specifies the percentage of BC 7 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200.The default value is 0.

Usage guidelines

The device carries the bandwidth values configured by this command in IGP route advertisements. The tunnel ingress node can obtain the information and use the information in CSPF calculation to select a path that meets the tunnel bandwidth requirements.

The maximum reservable bandwidth of a link cannot be greater than the maximum bandwidth of the link configured with the mpls te max-link-bandwidth command. Each BC cannot be greater than the maximum reservable bandwidth of the link.

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

Examples

# Set the link maximum reservable bandwidth to 1158 kbps and BC 0 through BC 3 to 500 kbps, 300 kbps, 400 kbps, and 100 kbps for MPLS TE traffic in IETF DS-TE MAM model.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

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

Related commands

display mpls te link-management bandwidth-allocation

mpls te bandwidth

mpls te max-link-bandwidth

mpls te max-reservable-bandwidth

mpls te max-reservable-bandwidth rdm

mpls te max-reservable-bandwidth rdm

Use mpls te max-reservable-bandwidth rdm to set the BCs in IETF DS-TE RDM model.

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

Syntax

mpls te max-reservable-bandwidth rdm { bandwidth-value [ bc1 bc1-bandwidth ] [ bc2 bc2-bandwidth ] [ bc3 bc3-bandwidth ] | percent percent-bandwidth [ bc1 bc1-percent-bandwidth ] [ bc2 bc2-percent-bandwidth ] [ bc3 bc3-percent-bandwidth ] }

undo mpls te max-reservable-bandwidth rdm

Default

Each BC is 0 kbps.

Views

Interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the maximum reservable bandwidth of the link, or, the value of BC 0, in the range of 1 to 4294967295 kbps.

bc1 bc1-bandwidth: Specifies the value of BC 1, in the range of 1 to 4294967295 kbps. By default, BC 1 is 0 kbps.

bc2 bc2-bandwidth: Specifies the value of BC 2, in the range of 1 to 4294967295 kbps. By default, BC 2 is 0 kbps.

bc3 bc3-bandwidth: Specifies the value of BC 3, in the range of 1 to 4294967295 kbps. By default, BC 3 is 0 kbps.

percent-bandwidth: Specifies the percentage of the maximum reservable link bandwidth (the value of BC 0) out of the maximum link bandwidth. The value range for the percentage is 1 to 200.

bc1 bc1-percent-bandwidth: Specifies the percentage of BC 1 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200. The default value is 0.

bc2 bc2-percent-bandwidth: Specifies the percentage of BC 2 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200. The default value is 0.

bc3 bc3-percent-bandwidth: Specifies the percentage of BC 3 out of the maximum reservable link bandwidth. The value range for the percentage is 1 to 200. The default value is 0.

Usage guidelines

The device carries the bandwidth values configured by this command in IGP route advertisements. The tunnel ingress node can obtain the information and use the information in CSPF calculation to select a path that meets the tunnel bandwidth requirements.

BC 0 must be smaller than or equal to the maximum bandwidth of the link configured with the mpls te max-link-bandwidth command. BC 0 must be greater than or equal to BC 1. BC 1 must be greater than or equal to BC 2. BC 2 must be greater than or equal to BC 3.

The BCs configured by this command are 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 hundredgige 1/0/1

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

Related commands

display mpls te link-management bandwidth-allocation

mpls te bandwidth

mpls te max-link-bandwidth

mpls te max-reservable-bandwidth

mpls te max-reservable-bandwidth mam

mpls te metric

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

Use undo mpls te metric to restore the default.

Syntax

mpls te metric value

undo mpls te metric

Default

A link uses its IGP metric as its TE metric.

Views

Interface view

Predefined user roles

network-admin

Parameters

value: Specifies a TE metric for the link, in the range of 1 to 4294967295.

Usage guidelines

The device carries two types of metrics (IGP metric and TE metric) of a link in the advertised IGP routes. You can use this command to configure the TE metric. When the tunnel ingress receives the link metrics, it uses the IGP or TE metric for path selection according to the configuration of the mpls te path-metric-type or path-metric-type command.

Examples

# Assign a TE metric of 20 to the link on HundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te metric 20

Related commands

mpls te path metric-type

path metric-type

mpls te passive-delegate report-only

Use mpls te passive-delegate report-only to configure a PCC to report CRLSP information of a tunnel to the PCE without delegating the CRLSP to the PCE.

Use undo mpls te passive-delegate report-only to restore the default.

Syntax

mpls te passive-delegate report-only

undo mpls te passive-delegate report-only

Default

A PCC does not report CRLSP information to the PCE.

Views

Tunnel interface view

Predefined user roles

network-admin

Usage guidelines

This command is applicable to MPLS TE tunnels that use PCE-computed paths to establish CRLSPs. If an ingress needs to delegate only part of its CRLSPs to the PCE, the PCE does not have complete CRLSP information to calculate global bandwidth information. In this case, you can use this command to configure the ingress to report information about the undelegated CRLSPs to the PCE without delegating the CRLSPs to the PCE.

If you execute both the mpls te passive-delegate report-only command and the mpls te delegation command for a tunnel interface, the mpls te passive-delegate report-only command takes effect.

Examples

# Configure the device to report CRLSP information of Tunnel 1 to the PCE without delegating the CRLSP to the PCE.

<Sysname> system-view

[Sysname] interface tunnel 1 mode mpls-te

[Sysname-Tunnel1] mpls te passive-delegate report-only

Related commands

mpls te delegation

mpls te path

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

Use undo mpls te path to delete the specified path for the tunnel.

Syntax

mpls te path preference value { dynamic [ pce [ ip-address ]&<0-8> ] | explicit-path path-name } [ no-cspf ]

undo mpls te path preference value

Default

MPLS TE uses the dynamically calculated path to establish a CRLSP.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

preference value: Specifies a preference value for a path, in the range of 1 to 10. A smaller value represents a higher preference.

dynamic: Uses the path dynamically calculated by CSPF to establish the CRLSP.

pce: Uses the path calculated by PCEs to establish the CRLSP. If you do not specify this keyword, the local LSR uses the path dynamically calculated by CSPF.

[ ip-address ]&<0-8>: Specifies a space-separated list of a maximum of eight PCE addresses. If you do not specify a PCE address, the system automatically selects a PCE from discovered PCEs. If you specify more than one PCE address, a BRPC calculation will be performed on the specified PCEs in configuration order.

explicit-path path-name: Uses the specified explicit path to establish the CRLSP. The path-name argument specifies the name of an explicit path, a case-sensitive string of 1 to 31 characters.

no-cspf: Calculates the path by searching the routing table instead of using the CSPF algorithm.

Usage guidelines

You can specify a maximum of 10 paths for a tunnel interface. The paths must have different preferences.

When establishing a CRLSP, MPLS TE performs CSPF calculations according to the specified paths in a descending order of preference until the CRLSP is established successfully. If the CSPF calculations for all paths are failed, the CRLSP cannot be established.

If you specify PCE addresses in this command or in the mpls te backup-path command, the local device establishes PCEP sessions to the specified PCEs. If you do not specify a PCE address, the local device establishes PCEP sessions to all discovered PCEs.

Examples

# Configure Tunnel 0 to use explicit path path1 and the path calculated by PCEs for CRLSP establishment. Set a higher preference for the path calculated by PCEs.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te path preference 2 explicit-path path1

[Sysname-Tunnel0] mpls te path preference 1 dynamic pce 1.1.1.9 2.2.2.9

Related commands

display mpls te tunnel-interface

mpls te backup-path

mpls te path verification

Use mpls te path verification to configure path verification for an MPLS TE tunnel.

Use undo mpls te path verification to restore the default.

Syntax

mpls te path verification { enable | disable }

undo mpls te path verification

Default

The path verification configuration for an MPLS TE tunnel is the same as the global path verification configuration.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

enable: Enables path verification for the MPLS TE tunnel.

disable: Disables path verification for the MPLS TE tunnel.

Usage guidelines

After path verification is enabled for an MPLS TE tunnel, the system examines the label and route mapping for the corresponding SRLSP. If the configured label has been occupied or the corresponding route does not exist, the system sets the SRLSP's state to down to avoid traffic forwarding failure.

Examples

# Enable path verification on MPLS TE tunnel interface Tunnel 1.

<Sysname> system-view

[Sysname] interface Tunnel 1 mode mpls-te

[Sysname-Tunnel1] mpls te path verification enable

Related commands

path verification enable

mpls te path-metric-type

Use mpls te path-metric-type to specify the link metric type for path selection of a tunnel.

Use undo mpls te path-metric-type to restore the default.

Syntax

mpls te path-metric-type { igp | te }

undo mpls te path-metric-type

Default

No link metric type is specified for path selection of a tunnel.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

igp: Uses the IGP metric.

te: Uses the TE metric.

Usage guidelines

Each MPLS TE link has two metrics: IGP metric and TE metric. By using the two metrics, you can select different tunnels for different classes of traffic. For example, use the IGP metric to represent a link delay (a smaller IGP metric value indicates a lower link delay). Use the TE metric to represent a link bandwidth value (a smaller TE metric value indicates a bigger link bandwidth value).

You can establish two MPLS TE tunnels: Tunnel1 for voice traffic and Tunnel2 for video traffic. Configure Tunnel1 to use IGP metrics for path selection, and configure Tunnel2 to use TE metrics for path selection. As a result, the video traffic travels through the path that has larger bandwidth and the voice service travels through the path that has lower delay.

If you specify a metric type for a tunnel by using this command, the tunnel uses the specified metric type for path selection. If you do not specify a metric type, the tunnel uses the metric type specified by the path-metric-type command in MPLS TE view for path selection.

Examples

# Configure Tunnel 0 to use the IGP metric for path selection.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

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

Related commands

display mpls te tunnel-interface

mpls te metric

path-metric-type

mpls te priority

Use mpls te priority to set a setup priority and a holding priority for an MPLS TE tunnel.

Use undo mpls te priority to restore the default.

Syntax

mpls te priority setup-priority [ hold-priority ]

undo mpls te priority

Default

The setup priority and the holding priority of an MPLS TE tunnel are both 7.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

setup-priority: Specifies the setup priority in the range of 0 to 7. A smaller number represents a higher priority.

hold-priority: Specifies the holding priority in the range of 0 to 7. A smaller number represents a higher priority. If you do not specify this argument, the holding priority is the same as the setup priority.

Usage guidelines

The setup priority and holding priority of an MPLS TE tunnel determines the importance of the tunnel. A tunnel that has a higher setup priority than the holding priority of another tunnel can preempt the resources of the second.

The setup priority and holding priority can be applied to the following scenarios:

·     Multiple MPLS TE tunnels use the same path but the path does not have enough bandwidth for all the tunnels. You can configure different setup and holding priorities for different tunnels to make sure important tunnels can be established first.

·     Before an important tunnel is established, multiple less-important MPLS TE tunnels have existed on the network, occupying the bandwidth resources and the optimal path. You can assign a higher setup priority to the import tunnel, so the tunnel can preempt the resources of the existing tunnels and use the optimal path.

The setup priority of a tunnel must not be higher than its holding priority. Configure the setup priority value to be equal to or greater than the holding priority value.

Examples

# Set both the setup priority and holding priority of Tunnel 0 to 1.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te priority 1 1

Related commands

display mpls te tunnel-interface

mpls te record-route

Use mpls te record-route to enable route recording and label recording for a tunnel.

Use undo mpls te record-route to disable route recording and label recording for a tunnel.

Syntax

mpls te record-route [ label ]

undo mpls te record-route

Default

Route recording or label recording is disabled for a tunnel.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

label: Enables both route recording and label recording. If you do not specify this keyword, the command enables only route recording.

Usage guidelines

Route recording records the nodes that an MPLS TE tunnel traverses. Label recording records the label assigned by each node. The recorded information helps you know about the path used by the MPLS TE tunnel and the label distribution information. When the tunnel fails, the recorded information helps you locate the fault.

Examples

# Enable route recording for MPLS TE tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te record-route

Related commands

display mpls te tunnel-interface

mpls te reoptimization (tunnel interface view)

Use mpls te reoptimization to enable tunnel reoptimization.

Use undo mpls te reoptimization to disable tunnel reoptimization.

Syntax

mpls te reoptimization [ frequency seconds ]

undo mpls te reoptimization

Default

Tunnel reoptimization is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

frequency seconds: Specifies the tunnel reoptimization frequency in the range of 1 to 604800 seconds. The default is 3600 seconds. If you set the tunnel reoptimization frequency to a value smaller than 60, MPLS TE performs tunnel reoptimization at intervals of 60 seconds.

Usage guidelines

MPLS TE uses the tunnel reoptimization feature to implement dynamic CRLSP optimization. For example, if a link on the optimal path does not have enough reservable bandwidth during tunnel setup, MPLS TE sets up the tunnel on another path. When the link has enough bandwidth, tunnel optimization can automatically switch the tunnel to the optimal path.

You can configure the ingress to perform tunnel reoptimization periodically. Or, you can use the mpls te reoptimization command in user view to trigger the ingress to perform a tunnel reoptimization at any time.

On the same tunnel interface, the mpls te reoptimization command is mutually exclusive with the following commands:

·     mpls te route-pinning.

·     mpls te backup ordinary.

Examples

# Enable reoptimization for tunnel 0, and set the reoptimization frequency to 43200 seconds (12 hours).

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te reoptimization frequency 43200

Related commands

display mpls te tunnel-interface

mpls te reoptimization (user view)

mpls te reoptimization (user view)

Use mpls te reoptimization to reoptimize all reoptimization-enabled MPLS TE tunnels.

Syntax

mpls te reoptimization

Views

User view

Predefined user roles

network-admin

Usage guidelines

After this command is executed in tunnel interface view, you can execute it in user view to trigger the ingress node to immediately reselect an optimal path for a tunnel.

Examples

# Reoptimize all reoptimization-enabled MPLS TE tunnels.

<Sysname> mpls te reoptimization

Related commands

mpls te reoptimization (tunnel interface view)

mpls te resv-style

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

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

Syntax

mpls te resv-style { ff | se }

undo mpls te resv-style

Default

The resource reservation style is SE.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

ff: Specifies the resource reservation style as fixed filter (FF). In FF style, resources are reserved for individual senders and cannot be shared among senders on the same session.

se: Specifies the resource reservation style as shared explicit (SE). In SE style, resources are reserved for senders on the same session and shared among them.

Usage guidelines

This command applies only to MPLS TE tunnels established by RSVP-TE.

A tunnel always uses the SE style when the tunnel is enabled with tunnel reoptimization, fast reroute, and tunnel backup.

Examples

# Use the FF reservation style to establish MPLS TE tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te resv-style ff

Related commands

display mpls te tunnel-interface

mpls te signaling

mpls te retry

Use mpls te retry to set the maximum number of tunnel setup attempts.

Use undo mpls te retry to restore the default.

Syntax

mpls te retry retries

undo mpls te retry

Default

The maximum number of tunnel setup attempts is 3.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

retries: Specifies the number of tunnel setup attempts, in the range of 1 to 4294967295.

Usage guidelines

After failing to establish an MPLS TE tunnel, the tunnel ingress node waits for the tunnel setup retry interval (configured by the mpls te timer retry command). Then it tries to set up the tunnel until the tunnel is established successfully. If the tunnel cannot be established when the number of attempts reaches the maximum, the ingress waits for a longer period and then repeats the previous process.

Examples

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

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te retry 20

Related commands

display mpls te tunnel-interface

mpls te timer retry

mpls te route-pinning

Use mpls te route-pinning to enable route pinning.

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

Syntax

mpls te route-pinning

undo mpls te route-pinning

Default

Route pinning is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Usage guidelines

When route pinning is enabled, an established CRLSP does not re-select an optimal path even if the optimal route has changed.

Use this feature to avoid CRLSPs from changing frequently on an unstable network. This feature ensures that the established CRLSPs are not re-established as long as they are available.

In the same tunnel interface view, the mpls te route-pinning command cannot be used together with the mpls te reoptimization command.

Examples

# Enable route pinning for Tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te route-pinning

Related commands

display mpls te tunnel-interface

mpls te service-class

Use mpls te service-class to set a service class value for an MPLS TE tunnel.

Use undo mpls te service-class to delete the service class value of an MPLS TE tunnel.

Syntax

mpls te service-class service-class-value

undo mpls te service-class

Default

No service class value is set for an MPLS TE tunnel.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

service-class-value: Specifies a service class value for an MPLS TE tunnel. The value range for the service class value is 0 to 7. The smaller the service class value, the lower the tunnel priority. An MPLS TE tunnel that is not assigned a service class value has the lowest priority.

Usage guidelines

Class Based Tunnel Selection (CBTS) compares the service class value of the traffic with the service class values of MPLS TE tunnels. CBTS uses the following rules to select a tunnel to forward the traffic:

·     If the traffic matches an MPLS TE tunnel, CBTS uses this tunnel.

·     If the traffic matches multiple MPLS TE tunnels, CBTS selects a tunnel based on the flow forwarding mode set on the tunnel interface:

¡     If there is only one flow and flow-based forwarding is set, CBTS randomly selects a matching tunnel for packets of the flow.

¡     If there are multiple flows or if there is one flow but packet-based forwarding is set, CBTS uses all matching tunnels to load share the packets.

·     If the traffic does not match any MPLS TE tunnels, CBTS randomly selects a tunnel from all tunnels with the smallest service class value.

To set a service class value for traffic, use the remark service-class command in traffic behavior view. For information about the remark service-class command, see QoS commands in ACL and QoS Command Reference.

Examples

# Set the service class value of Tunnel 0 to 5.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te service-class 5

Related commands

remark service-class (ACL and QoS Command Reference)

mpls te signaled-name

Use mpls te signaled-name to configure the tunnel name for an MPLS TE tunnel.

Use undo mpls te signaled-name to restore the default.

Syntax

mpls te signaled-name name

undo mpls te signaled-name

Default

The tunnel name of an MPLS TE tunnel is tunneltunnel-id.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

name: Name of the MPLS TE tunnel, a case-sensitive string of 1 to 37 characters.

Usage guidelines

This command does not take effect on MPLS TE tunnels established by using PCE-Initiated-LSP packets.

Execute this command for an MPLS TE tunnel before you establish the tunnel. Executing this command for an existing MPLS TE tunnel will cause the tunnel to be re-established.

After you execute this command on a PCC to modify the name of an MPLS TE tunnel, you must also modify the tunnel name on the PCE if the PCE cannot learn MPLS TE tunnel names dynamically. Otherwise, the PCE cannot update the MPLS TE tunnel or send error messages for the tunnel.

You must configure different names for different MPLS TE tunnels, and do not configure a tunnel name in tunneltunnel-id format.

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Configure the tunnel name for MPLS TE tunnel 1 as red.

<Sysname> system-view

[Sysname] interface tunnel 1 mode mpls-te

[Sysname-Tunnel1] mpls te signaled-name red

mpls te signaling

Use mpls te signaling to configure the signaling protocol for an MPLS TE tunnel interface.

Use undo mpls te signaling to restore the default.

Syntax

mpls te signaling { rsvp-te | static | segment-routing }

undo mpls te signaling

Default

MPLS TE uses RSVP-TE to establish tunnels.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

rsvp-te: Uses the RSVP-TE signaling protocol to establish a tunnel.

static: Uses a static CRLSP to establish a tunnel.

segment-routing: Uses the Segment Routing (SR) protocol and stateful PCE to estalbish a tunnel.

Usage guidelines

To use RSVP-TE to establish an MPLS TE tunnel, you must enable MPLS TE and RSVP on each node and interface that the MPLS TE tunnel traverses.

To establish an MPLS TE tunnel over a static CRLSP, you must configure the tunnel to use the static CRLSP by using the mpls te static-cr-lsp command.

To use SR to establish an MPLS TE tunnel, you must enable the SR capability on the active stateful PCE (by using the pce capability segment-routing command). The PCC delegates the MPLS TE tunnel to the SR-capable PCE, and establishes the LSP by using the update messages sent by the PCE.

Examples

# Use RSVP-TE to establish MPLS TE tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te signaling rsvp-te

Related commands

display mpls te tunnel-interface

mpls te static-cr-lsp

mpls te srlg

Use mpls te srlg to configure the Shared Risk Link Group (SRLG) membership of an interface.

Use undo mpls te srlg to remove an interface from an SRLG.

Syntax

mpls te srlg srlg-number

undo mpls te srlg srlg-number

Default

An interface does belong to an SRLG.

Views

Interface view

Predefined user roles

network-admin

Parameters

srlg-number: Specifies the number of an SRLG, in the range of 0 to 4294967295.

Usage guidelines

An SRLG is a set of links that share a resource. If one link in the group fails, all other links also fail. For example, if the primary and backup SRLSPs are establish on links that belong to the same SRLG, the backup path cannot protect the primary path.

SRLG is a TE constraint. IGP will advertise SRLGs of interfaces in TE link TLVs. When a tunnel ingress receives SRLG information, it will include the SRLG constraint in path computation for the tunnel. In this way, the backup tunnel or path will avoid using the links in the SRLGs of the protected interface, improving the TE tunnel reliability.

An interface can belong to multiple SRLGs.

Examples

# Add interface HundredGigE 1/0/1 to SRLG 45.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] mpls te srlg 45

mpls te static-cr-lsp

Use mpls te static-cr-lsp to specify a static CRLSP for a tunnel.

Use undo mpls te static-cr-lsp to remove the configuration.

Syntax

mpls te static-cr-lsp lsp-name

undo mpls te static-cr-lsp

Default

A tunnel does not use any static CRLSP.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

lsp-name: Specifies a static CRLSP by its name, a case-sensitive string of 1 to 15 characters.

Usage guidelines

This command takes effect only when the mpls te signaling static command has been configured in tunnel interface view.

Execute this command on the ingress node. The static CRLSP specified must have been created by using the static-cr-lsp ingress command.

Examples

# Configure tunnel 0 to use static CRLSP static-te-3.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te static-cr-lsp static-te-3

Related commands

display mpls te tunnel-interface

mpls te signaling

static-cr-lsp egress

static-cr-lsp ingress

static-cr-lsp transit

mpls te statistics

Use mpls te statistics to enable MPLS TE tunnel traffic statistics.

Use undo mpls te statistics to disable MPLS TE tunnel traffic statistics.

Syntax

mpls te statistics [ service-class ]

undo mpls te statistics

Default

MPLS TE tunnel traffic statistics is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

service-class: Enables tunnel traffic statistics on a per-service class basis. If you do not specify this keyword, the command enables total traffic statistics on the tunnel interface.

 

 

NOTE:

The service-class keyword is supported only in R3608 and later.

 

Usage guidelines

To enable MPLS TE tunnel traffic statistics, you must also execute the statistic mode ac command to change the packet statistics mode to AC. For more information about the statistic mode ac command, see VXLAN Command Reference.

Examples

# Enable tunnel traffic statistics for tunnel interface 0.

<Sysname> system-view

[Sysname] statistic mode ac

Do you want to change the packet statistic mode? [Y/N]:y

 [Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te statistics

Related commands

display mpls statistics tunnel-interface

statistic mode

mpls te statistics service-class interval

Use mpls te statistics service-class interval to set the service class-based traffic statistics interval for MPLS TE tunnels.

Use undo mpls te statistics service-class interval to restore the default.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

mpls te statistics service-class interval interval

undo mpls te statistics service-class interval

Default

The service class-based traffic statistics interval for MPLS TE tunnels is 5 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

interval: Specifies the service class-based traffic statistics interval for MPLS TE tunnels, in the range of 5 to 65535 seconds.

Usage guidelines

This command takes effect on an MPLS TE tunnel after you set a service class for the tunnel and enable tunnel traffic statistics on a per-service class basis.

Examples

# Set the service class-based traffic statistics interval for MPLS TE tunnels to 30 seconds.

<Sysname> system-view

[Sysname] mpls te statistics service-class interval 30

Related commands

mpls te service-class

mpls te statistics

mpls te timer retry

Use mpls te timer retry to set the tunnel setup retry interval.

Use undo mpls te timer retry to restore the default.

Syntax

mpls te timer retry seconds

undo mpls te timer retry

Default

The retry interval is 2 seconds.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the interval at which MPLS TE tries to re-establish the tunnel, in the range of 1 to 604800 seconds.

Usage guidelines

After failing to establish an MPLS TE tunnel, the tunnel ingress node waits for the tunnel setup retry interval. Then, it tries to set up the tunnel until the tunnel is established successfully. If the tunnel cannot be established when the number of attempts reaches the maximum (configured by the mpls te retry command), the ingress waits for a longer period. Then, it repeats the previous process.

Examples

# Set the setup retry interval to 20 seconds for tunnel 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te timer retry 20

Related commands

display mpls te tunnel-interface

mpls te retry

mpls te tunnel-attribute prefer

Use mpls te tunnel-attribute prefer to configure the attribute usage preference for MPLS TE tunnel setup.

Use undo mpls te tunnel-attribute prefer to restore the default.

Syntax

mpls te tunnel-attribute prefer { local | pce }

undo mpls te tunnel-attribute prefer

Default

The attribute usage preference configured in MPLS TE view applies.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

pce: Uses the attributes carried in Update or Initial messages received from a PCE to establish the MPLS TE tunnel. For attributes not carried in the PCE messages, the device uses the default values of the attributes.

local: Uses the locally configured attributes to establish the MPLS TE tunnel. For attributes that are not configured locally, the device uses the default values of the attributes.

Usage guidelines

This command applies to the following attributes: bandwidth, affinity, setup and holding priorities, explicit path, link metric type, TE metric of a link, and BSID. For other attributes, the device always uses the locally configured attribute values.

The attribute usage preference can be configured in both tunnel interface view and MPLS TE view. The configuration in MPLS TE view applies to all MPLS TE tunnels. The configuration in tunnel interface view applies only to the current MPLS TE tunnel. For an MPLS TE tunnel, the configuration in tunnel interface view has a higher priority than the configuration in MPLS TE view.

Examples

# Configure interface Tunnel 1 to use the locally configured attributes to establish the MPLS TE tunnel.

<Sysname> system-view

[Sysname] interface tunnel 1 mode mpls-te

[Sysname-Tunnel1] mpls te tunnel-attribute prefer local

Related commands

tunnel-attribute prefer

nexthop

Use nexthop to add or modify a node in an explicit path, and configure the attributes of the node.

Use undo nexthop to delete a node in an explicit path.

Syntax

nexthop [ index index-number ] ip-address [ exclude | include [ [ loose | strict ] | [ incoming | outgoing ] ] * ]

undo nexthop index index-number

Default

An explicit path does not include any nodes.

Views

Explicit path view

Predefined user roles

network-admin

Parameters

index index-number: Specifies an index for the node in the explicit path, in the range of 1 to 65535. If you do not specify an index, MPLS TE automatically calculates an index for the node, the value of which is the current maximum index value plus 100.

ip-address: Specifies a node by its IP address in dotted decimal notation.

exclude: Excludes the specified node from the explicit path.

include: Includes the specified node on the explicit path.

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

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

incoming: Uses the interface with the specified IP address as the packet incoming interface of the node.

outgoing: Uses the interface with the specified IP address as the packet outgoing interface of the node.

Usage guidelines

The IP address specified in this command can be one of the following:

·     Link IP address—IP address of an interface on the device, identifying a link.

·     Device LSR ID—Identifies the device.

The address of a strict node must be a link IP address. The address of a loose node can be a link IP address or the device LSR ID.

CSPF excludes the links or devices specified by exclude from path calculation, and uses the links specified by include in ascending order of indexes to establish a CRLSP.

When you execute the nexthop command, follow these guidelines:

·     If you specify an existing index, the command modifies the IP address or attribute of the node identified by that index.

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

·     If you specify neither incoming nor outgoing, the incoming keyword is used by default.

·     The incoming and outgoing keywords are supported only for explicit paths of MPLS TE tunnels signaled by using Segment Routing.

Examples

# Exclude IP address 10.0.0.125 from MPLS TE explicit path path1.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] nexthop 10.0.0.125 exclude

Related commands

display explicit-path

nextsid

nextsid

Use nextsid to add or modify a label node in an explicit path, and configure the attributes of the label node.

Use undo nextsid to delete a label node in an explicit path.

Syntax

nextsid [ index index-number ] label label-value type { adjacency | binding-sid | prefix }

undo nextsid index index-number

Default

An explicit path does not include any label nodes.

Views

Explicit path view

Predefined user roles

network-admin

Parameters

index index-number: Specifies an index for the node in the explicit path, in the range of 1 to 65535. If you do not specify an index, MPLS TE automatically calculates an index for the node, the value of which is the current maximum index value plus 100.

label label-value: Specifies the label value for the node, in the range of 0, 3, and 16 to 1048575.

type: Specifies the type of the node.

adjacency: Specifies the node as an adjacency SID node.

binding-sid: Specifies the node as a node that uses a BSID.

prefix: Specifies the node as a prefix SID node.

Usage guidelines

In the same explicit path view, do not set the same index value for a node added by the nextsid command and a node added by the nexthop command. If you do so, the command executed later will fail.

If you specify an existing node index, the nextsid command modifies the attributes of the node.

Examples

# In explicit path path1, add an adjacency SID node whose label value is 100.

<Sysname> system-view

[Sysname] explicit-path path1

[Sysname-explicit-path-path1] nextsid index 1 label 100 type adjacency

Related commands

display explicit-path

nexthop

nhop-only

Use nhop-only to configure the PLR to create only link-protection bypass tunnels.

Use undo nhop-only to restore the default.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

nhop-only

undo nhop-only

Default

The PLR automatically creates both link-protection and node-protection bypass tunnels.

Views

MPLS TE auto FRR view

Predefined user roles

network-admin

Usage guidelines

Execution of the nhop-only c ommand deletes all existing node-protection bypass tunnels automatically created for MPLS TE auto FRR.

Examples

# Configure the device to automatically create only link-protection bypass tunnels.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] auto-tunnel backup

[Sysname-te-auto-bk] nhop-only

Related commands

auto-tunnel backup

tunnel-number

path verification enable

Use path verification enable to enable global path verification.

Use undo path verification enable to disable global path verification.

Syntax

path verification enable

undo path verification enable

Default

Global path verification is enabled.

Views

MPLS TE view

Predefined user roles

network-admin

Usage guidelines

After global path verification is enabled, the system examines the label and route mappings for all SRLSPs. If the label configured for an SRLSP has been occupied or the corresponding route does not exist, the system sets the SRLSP's state to down to avoid traffic forwarding failure.

The mpls te path verification command in tunnel interface view has a higher priority than the global path verification configuration.

Examples

# Enable global path verification.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] path verification enable

Related commands

mpls te path verification enable

path-metric-type

Use path-metric-type to specify the link metric type to be used for path selection when a metric type is not explicitly specified for a tunnel.

Use undo path-metric-type to restore the default.

Syntax

path-metric-type { igp | te }

undo path-metric-type

Default

A tunnel uses TE metrics of links for path selection when no metric type is specified for the tunnel.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

igp: Uses the IGP metric.

te: Uses the TE metric.

Usage guidelines

Each MPLS TE link has two metrics: IGP metric and TE metric. By correctly planning the two metrics, you can select different tunnels for different classes of traffic. For example, use the IGP metric to represent a link delay (a smaller IGP metric value indicates a lower link delay). Use the TE metric to represent a link bandwidth value (a smaller TE metric value indicates a bigger link bandwidth value).

You can establish two MPLS TE tunnels: Tunnel1 for voice traffic and Tunnel2 for video traffic. Configure Tunnel1 to use IGP metrics for path selection, and configure Tunnel2 to use TE metrics for path selection. As a result, the video traffic travels through the path that has larger bandwidth and the voice traffic travels through the path that has lower delay.

If you specify a metric type for a tunnel by using the mpls te path-metric-type command, the tunnel uses the specified metric type for path selection. If you do not specify a metric type, the tunnel uses the metric type specified by the path-metric-type command for path selection.

Examples

# Configure MPLS TE tunnels that are not explicitly specified with a metric type to use the IGP metric for path selection.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] path-metric-type igp

Related commands

mpls te metric

mpls te path-metric-type

pce address

Use pce address to configure an IP address for a PCE.

Use undo pce address to restore the default.

Syntax

pce address ip-address

undo pce address

Default

No PCE IP address is configured.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the PCE IP address.

Usage guidelines

For the device to act as a PCE, use this command to specify a PCE IP address for the device.

As a best practice, configure the loopback interface address as the PCE address. For a PCE to be discovered, enable OSPF TE on the loopback interface to advertise the PCE address or manually specify the PCE on PCCs.

If no PCE address is configured, the local device can only act as a PCC and use the MPLS LSR ID to communicate with the PCE. A PCC sends a PCEP connection request to a PCE, but it does not accept a request from a PCE.

Examples

# Specify the local device as a PCE and configure the IP address for the PCE as 10.10.10.10.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce address 10.10.10.10

pce capability segment-routing

Use pce capability segment-routing to enable the SR capability for a PCEP device.

Use undo pce capability segment-routing to disable the SR capability for a PCEP device.

Syntax

pce capability segment-routing

undo pce capability segment-routing

Default

A PCEP device does not have the SR capability.

Views

MPLS TE view

Predefined user roles

network-admin

Usage guidelines

To establish an SR-capable stateful PCEP session, you need to enable the SR capability on both peers of the PCEP session. An SR-capable active stateful PCEP session supports delegation and update of SR-based LSPs, but it does not support path computation for SR-based LSPs.

Examples

# Enable the SR capability for the PCEP device.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce capability segment-routing

pce deadtimer

Use pce deadtimer to set the PCEP session deadtimer.

Use undo pce deadtimer to restore the default.

Syntax

pce deadtimer value

undo pce deadtimer

Default

The PCEP session deadtimer is 120 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

value: Specifies the PCEP session deadtimer in the range of 0 to 255 seconds. Value 0 indicates that the PCEP session will never time out.

Usage guidelines

The local device sends the deadtimer setting to its peer. If the local device does not receive a PCEP message from its peer before the deadtimer expires, it tears down the PCEP session. Then, the local device tries to establish a new PCEP session to its peer.

The deadtimer must be greater than the keepalive interval.

Examples

# Set the PCEP session deadtimer to 180 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce deadtimer 180

Related commands

display mpls te pce peer

pce keepalive

pce keepalive

Use pce keepalive to set the keepalive interval for PCEP sessions.

Use undo pce keepalive to restore the default.

Syntax

pce keepalive interval

undo pce keepalive

Default

The keepalive interval is 30 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

interval: Specifies the keepalive interval in the range of 0 to 255 seconds. Value 0 indicates that no keepalive messages will be sent once the PCEP session is established.

Usage guidelines

If the keepalive interval for the local device is less than the min-keepalive setting on the peer device, the local device uses the peer's min-keepalive setting as the keepalive interval.

If the keepalive interval is set to 0 on the local device, configure the min-keepalive value as 0 on the peer device to avoid session establishment failure.

For more information about the min-keepalive setting, see the pce tolerance command.

Examples

# Set the keepalive interval to 60 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce keepalive 60

Related commands

display mpls te pce peer

pce deadtimer

pce tolerance

pce multi-delegate enable

Use pce multi-delegate enable to enable the multi-delegation feature on a PCC to delegate LSPs to all PCEs.

Use undo pce multi-delegate enable to disable the multi-delegation feature.

Syntax

pce multi-delegate enable

undo pce multi-delegate enable

Default

The multi-delegation feature is disabled.

Views

MPLS TE view

Predefined user roles

network-admin

Usage guidelines

If multi-delegation is enabled on a PCC, the PCC can delegate delegation-enabled dynamic CRLSPs and SRLSPs to all the PCEs specified for the PCC. The PCC updates the CRLSPs and SRLSPs according to the update requests received from any of the PCEs.

Examples

# Enable the PCC to delete LSPs to all its PCEs.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce multi-delegate enable

Related commands

mpls te delegation

pce peer delegation-priority

Use pce peer delegation-priority to set the delegation priority of a PCE on a PCC.

Use undo pce peer delegation-priority to remove the delegation priority configuration of a PCE on a PCC.

Syntax

pce peer ip-address delegation-priority priority

undo pce peer ip-address delegation-priority

Default

The delegation priority of a PCE is 65535.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of a PCE.

priority: Specifies the delegation priority in the range of 1 to 65535. A smaller value represents a higher priority.

Usage guidelines

If multiple PCEs are specified for a PCC, the PCC delegates CRLSPs to the PCE that has the highest delegation priority. If the delegation fails, the PCC chooses the PCE with the second highest priority.

Examples

# Set the delegation priority of PCE 10.10.10.10 to 1.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce peer 10.10.10.10 delegation-priority 1

Related commands

mpls te delegation

pce peer keychain

Use pce peer keychain to configure PCEP session authentication for a peer PCC or PCE.

Use undo pce peer keychain to remove the PCEP session authentication configuration for a peer PCC or PCE.

Syntax

pce peer ip-address keychain keychain-name

undo pce peer ip-address keychain

Default

PCEP session authentication is not configured.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of a PCC or PCE.

keychain-name: Specifies a keychain by its name, a case-sensitive string of 1 to 63 characters.

Usage guidelines

For two devices to establish a PCEP session, you must configure keychain authentication and specify the same authentication algorithm and key string on both devices.

Examples

# Configure the device to use keychain test for authentication with peer PCE or PCC 10.10.10.10.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce peer 10.10.10.10 keychain test

Related commands

display keychain (Security Command Reference)

keychain (Security Command Reference)

pce peer md5

Use pce peer md5 to configure MD5 authentication for the PCEP session with a peer PCC or PCE.

Use undo pce peer md5 to remove the MD5 authentication configuration for a peer PCC or PCE.

Syntax

pce peer ip-address md5 { cipher | plain } string

undo pce peer ip-address md5

Default

PCEP session authentication is not configured.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of a PCC or PCE.

cipher: Specifies a key in encrypted form.

plain: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 32 characters. Its encrypted form is a case-sensitive string of 1 to 73 characters.

Usage guidelines

For two devices to establish a PCEP session, you must configure MD5 authentication and specify the same key string on both devices.

This command and the pce peer keychain command are mutually exclusive. A PCEP session supports only one type of security authentication.

Examples

# Configure the device to perform MD5 authentication with peer PCE or PCC 10.10.10.10. Set the authentication key as test in plain text.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce peer 10.10.10.10 md5 plain test

pce redelegation-timeout

Use pce redelegation-timeout to set the redelegation timeout interval on a PCC.

Use undo pce redelegation-timeout to restore the default.

Syntax

pce redelegation-timeout value

undo pce redelegation-timeout

Default

The redelegation timeout interval is 30 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

value: Specifies the redelegation timeout interval in the range of 0 to 600 seconds.

Usage guidelines

If a PCEP session between a PCC and a PCE terminates, the PCC waits for the redelegation timeout interval before it redelegates the CRLSP. If the PCEP session is re-established within the redelegation timeout interval, the PCC redelegates the CRLSP to the PCE. If the PCEP session fails to be re-established within the interval, the PCC redelegates the CRLSP to another PCE that has a lower delegation priority.

The redelegation timeout interval must not be greater than the CRLSP state timeout interval (configured by the pce state-timeout command).

Examples

# Set the redelegation timeout interval to 20 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce redelegation-timeout 20

Related commands

mpls te delegation

pce state-timeout

pce request-timeout

Use pce request-timeout to set the path calculation request timeout time.

Use undo pce request-timeout to restore the default.

Syntax

pce request-timeout value

undo pce request-timeout

Default

The request timeout time is 10 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

value: Specifies the request timeout time in the range of 5 to 100 seconds.

Usage guidelines

In EPC calculation, if a PCC does not receive a calculation reply within the configured timeout time, it resends calculation requests to the PCE until it receives a reply.

In BRPC calculation, if a PCC does not receive a calculation reply from the PCE within the configured timeout time, the PCC does not resend a request. If a PCE does not receive a calculation reply from its downstream PCE within the timeout time, it sends the local calculation result to its upstream device as a reply. The PCE does not wait for a reply from its downstream PCE.

Examples

# Set the request timeout time to 20 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce request-timeout 20

Related commands

display mpls te pce peer

pce retain initiated-lsp

Use pce retain initiated-lsp to configure the PCC to retain PCE-initiated LSPs.

Use undo pce retain initiated-lsp to restore the default.

Syntax

pce retain initiated-lsp

undo pce retain initiated-lsp

Default

A PCC deletes PCE-initiated LSPs when the state timeout interval expires.

Views

MPLS TE view

Predefined user roles

network-admin

Usage guidelines

After an active-stateful PCE establishes a connection with a PCC, the PCE can send an initiate message to the PCC to create an LSP. After the PCE is disconnected from the PCC, the PCC deletes the PCE-initiated LSPs when the state timeout interval (set by using the pce state-timeout command) expires. If the pce retain initiated-lsp command is executed, the PCC will retain these PCE-initiated LSPs.

Examples

# Configure the PCC to retain PCE-initiated LSPs.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce retain initiated-lsp

Related commands

pce state-timeout

pce retain lsp-state

Use pce retain lsp-state to configure the PCC to retain PCE-updated LSP states.

Use undo pce retain lsp-state to restore the default.

Syntax

pce retain lsp-state

undo pce retain lsp-state

Default

A PCC restores the original LSP states (the states before PCE updates) when the state timeout interval expires.

Views

MPLS TE view

Predefined user roles

network-admin

Usage guidelines

After an active-stateful PCE establishes a connection with a PCC, the PCE can update the states of the delegated LSPs on the PCC. After the PCE is disconnected from the PCC, the PCC sets the PCE-updated LSPs to their original states when the state timeout interval (set by using the pce state-timeout command) expires. If the pce retain lsp-state command is executed, the PCC will retain the updated states for the LSPs.

The pce retain lsp-state command does not take effect on PCE-initiated LSPs.

Examples

# Configure the PCC to retain PCE-updated LSP states.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce retain lsp-state

Related commands

mpls te delegation

pce state-timeout

pce state-timeout

Use pce state-timeout to set the state timeout interval on a PCC.

Use undo pce state-timeout to restore the default.

Syntax

pce state-timeout value

undo pce state-timeout

Default

The state timeout interval is 60 seconds.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

value: Specifies the state timeout interval in the range of 0 to 600 seconds.

Usage guidelines

If a PCEP session between a PCC and a PCE terminates, the PCC waits for the state timeout interval before it clears the CRLSP state set by the PCE. If the PCC redelegates the CRLSP to another PCE before the state timeout interval elapses, the CRLSP state does not change.

The state timeout interval must be greater than or equal to the redelegation timeout interval (configured by the pce redelegation-timeout command).

Examples

# Set the state timeout interval to 100 seconds.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce state-timeout 100

Related commands

pce redelegation-timeout

pce static

Use pce static to specify a PCE as a peer on a PCC or PCE.

Use undo pce static to delete the specified PCE peer.

Syntax

pce static ip-address

undo pce static ip-address

Default

No PCE peers exist.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of a PCE peer.

Examples

# Specify the PCE 10.10.10.10 as a peer.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce static 10.10.10.10

Related commands

display mpls te pce discovery

pce tolerance

Use pce tolerance to set the minimum acceptable keepalive interval and the maximum number of allowed unknown messages received from the peer.

Use undo pce tolerance to restore the default.

Syntax

pce tolerance { min-keepalive value | max-unknown-messages value }

undo pce tolerance { min-keepalive | max-unknown-messages }

Default

The minimum acceptable keepalive interval is 10 seconds, and the maximum number of allowed unknown messages in a minute is 5.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

min-keepalive value: Specifies the minimum acceptable keepalive interval in the range of 0 to 255 seconds. Value 0 indicates that any keepalive interval is acceptable.

max-unknown-messages value: Limits the maximum number of allowed unknown messages in a minute, in the range of 0 to 16384. Value 0 indicates that no limit is enforced.

Usage guidelines

If the keepalive interval set on the peer device is less than the min-keepalive setting on the local device, the peer device uses the min-keepalive setting as the keepalive interval.

If the number of unknown messages received from the peer in a minute exceeds the max-unknown-messages setting on the local device, the local device tears down the PCEP session.

Examples

# Set the minimum acceptable keepalive interval to 20 seconds and the maximum number of allowed unknown messages to 10.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pce tolerance min-keepalive 20

[Sysname-te] pce tolerance max-unknown-messages 10

Related commands

display mpls te pce peer

pce keepalive

pcep type

Use pcep type to specify the PCEP device (PCC or PCE) type.

Use undo pcep type to restore the default.

Syntax

pcep type { active-stateful | passive-stateful }

undo pcep type

Default

The PCEP device type is stateless.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

active-stateful: Specifies the active stateful type.

passive-stateful: Specifies the passive stateful type.

Usage guidelines

For a PCC and a PCE to establish a stateful PCEP session, you must execute this command to specify the same device type for the two devices. After the stateful PCEP session is established, the PCE can know all CRLSPs maintained by the PCC.

·     If both the PCC and PCE are configured as active stateful devices, the PCE can accept CRLSP delegation requests sent by the PCC and optimize the CRLSPs.

·     If they are configured as passive stateful devices, the PCE does not accept CRLSP delegation requests sent by the PCC or optimize the CRLSPs.

If the device cannot act as both a PCE and a stateful PCC, do not execute both the pcep type command and the pce address command on the device.

Examples

# Specify the PCEP device type as active-stateful.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pcep type active-stateful

Related commands

display mpls te pce peer

reset mpls statistics tunnel-interface

Use reset mpls statistics tunnel-interface to clear MPLS TE tunnel traffic statistics.

Syntax

reset mpls statistics tunnel-interface number

Views

User view

Predefined user roles

network-admin

Parameters

number: Specifies a tunnel interface by its number. The value range for this argument is 0 to 70000.

Examples

# Clear MPLS TE traffic statistics for tunnel interface 0.

<Sysname> reset mpls statistics tunnel-interface 0

Related commands

display mpls statistics tunnel-interface

reset mpls te auto-bandwidth-adjustment timers

Use reset mpls te auto-bandwidth-adjustment timers to reset the automatic bandwidth adjustment feature.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

reset mpls te auto-bandwidth-adjustment timers

Views

User view

Predefined user roles

network-admin

Usage guidelines

After this command is executed, the system clears the output rate sampling information and the remaining time to the next bandwidth adjustment. Then, it starts new output rate sampling and bandwidth adjustment.

Examples

# Reset the automatic bandwidth adjustment feature.

<Sysname> reset mpls te auto-bandwidth-adjustment timers

Related commands

auto-bandwidth enable

mpls te auto-bandwidth

reset mpls te pce statistics

Use reset mpls te pce statistics to clear PCC and PCE statistics.

Syntax

reset mpls te pce statistics [ ip-address ]

Views

User view

Predefined user roles

network-admin

Parameters

ip-address: Specifies a PCC or PCE by its IP address. If you do not specify this argument, the command clears statistics about all PCEs and PCCs.

Examples

# Clear statistics about PCE 10.10.10.10.

<Sysname> reset mpls te pce statistics 10.10.10.10

Related commands

display mpls te pce statistics

snmp-agent trap enable te

Use snmp-agent trap enable te to enable SNMP notifications for MPLS TE.

Use undo snmp-agent trap enable te to disable SNMP notifications for MPLS TE.

Syntax

snmp-agent trap enable te

undo snmp-agent trap enable te

Default

SNMP notifications for MPLS TE are disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command enables generating SNMP notifications for MPLS TE upon MPLS TE tunnel status changes, as defined in RFC 3812. For MPLS TE event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see the network management and monitoring configuration guide for the device.

Examples

# Enable SNMP notifications for MPLS TE.

<Sysname> system-view

[Sysname] snmp-agent trap enable te

switch-delay

Use switch-delay to set the time that MPLS TE must wait before switching the traffic to the new path.

Use undo switch-delay to restore the default.

Syntax

switch-delay time-value

undo switch-delay

Default

MPLS TE must wait 10000 milliseconds before switching the traffic to the new path.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

time-value: Specifies the time that MPLS TE must wait before switching the traffic to the new path, in the range of 0 to 65535000 milliseconds.

Usage guidelines

When TE attributes (bandwidth and priority, for example) of an MPLS TE tunnel change, MPLS TE establishes a new CRLSP/SRLSP compliant with the new attributes. MPLS TE uses the make-before-break mechanism to make sure the new CRLSP/SRLSP is established to take over traffic forwarding before deleting the old CRLSP/SRLSP. The mechanism starts a switching delay timer after the new CRLSP/SRLSP is established and does not switch the traffic to the new CRLSP/SRLSP until the timer expires.

When the upstream is idle but the downstream is busy, the new CRLSP/SRLSP might not be able to come up on every LSR within the switching delay time. If the upstream switches traffic to the new CRLSP/SRLSP but the CRLSP/SRLSP is not up at the downstream, traffic forwarding is interrupted. To prevent this problem, use this command to tune the switching delay time. A proper switching delay time ensures that the new CRLSP/SRLSP has enough time to come up on the entire path before traffic is switched to it.

The configured switching delay time also applied to tunnel backup and FRR. When the primary path recovers, MPLS TE waits the configured delay time before switching the traffic back to the primary path.

Examples

# Configure MPLS TE to wait 100000 milliseconds before switching the traffic to the new path.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] switch-delay 100000

te-subtlv

Use te-subtlv to specify the types of the sub-TLVs for carrying DS-TE parameters.

Use undo te-subtlv to restore the default.

Syntax

te-subtlv { bw-constraint value | unreserved-subpool-bw value } *

undo te-subtlv { bw-constraint | unreserved-subpool-bw } *

Default

The bw-constraint parameter is carried in sub-TLV 252, and the unreserved-subpool-bw parameter is carried in sub-TLV 251.

Views

IS-IS view

Predefined user roles

network-admin

Parameters

bw-constraint value: Specifies the type value of the sub-TLV that carries the bandwidth constraints, in the range of 23 to 254.

unreserved-subpool-bw value: Specifies the type value of the sub-TLV that carries the unreserved subpool bandwidth, in the range of 23 to 254.

Usage guidelines

In prestandard mode, no standard sub-TLV type values are defined to carry DS-TE parameters. Different vendors might use different type values. To communicate with devices from other vendors, use this command to specify the sub-TLV type values.

This command takes effect when the DS-TE mode is prestandard. It does not take effect when the DE-TE mode is IETF.

Examples

# For IS-IS process 1, specify the sub-TLV type value 200 for bw-constraint, and 202 for unreserved-subpool-bw.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] te-subtlv bw-constraint 200 unreserved-subpool-bw 202

Related commands

display isis mpls te configured-sub-tlvs

timers removal unused

Use timers removal unused to set a removal timer for unused bypass tunnels.

Use undo timers removal unused to restore the default.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

timers removal unused seconds

undo timers removal unused

Default

A bypass tunnel is removed after it is unused for 3600 seconds.

Views

MPLS TE auto FRR view

Predefined user roles

network-admin

Parameters

seconds: Specifies the period of time after which an unused bypass tunnel is removed, in the range of 300 to 604800 seconds. You can also set this argument to 0, which means not to remove unused bypass tunnels.

Usage guidelines

An automatically created bypass tunnel can protect multiple primary CRLSPs. A bypass tunnel is unused when the bypass tunnel is not bound to any primary CRLSP. When a bypass tunnel is unused for the period of time configured by this command, MPLS TE removes the bypass tunnel to release the occupied bandwidth and tunnel interface number.

Configure a removal timer according to your network conditions, with the following considerations:

·     Save resources—If the timer value is too big, unused bypass tunnels occupy bandwidth and interface numbers for a long time.

·     Keep network stability—If the timer value is too small, bypass tunnels might be set up and removed frequently.

Examples

# Set the removal timer to 60000 seconds (100 minutes) for unused bypass tunnels.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] auto-tunnel backup

[Sysname-te-auto-bk] timers removal unused 60000

Related commands

auto-tunnel backup

tunnel-number

tunnel route-static

Use tunnel route-static to configure automatic static route advertisement.

Use undo tunnel route-static to restore the default.

Syntax

tunnel route-static [ preference preference-value ]

undo tunnel route-static

Default

Automatic static route advertisement is not configured.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

preference preference-value: Specifies a preference for the static route to be advertised, in the range of 1 to 255. The default value is 60.

Usage guidelines

IGP shortcut or forwarding adjacency is usually configured to direct traffic to an MPLS TE tunnel. On a network that contains multiple IGP areas, however, configuring IGP shortcut and forwarding adjacency causes route convergence failure. As a result, traffic cannot be forwarded over the MPLS TE tunnel. To direct traffic to an MPLS TE tunnel in this scenario, you can execute the tunnel route-static command on the ingress node of the MPLS TE tunnel. This command creates a static route whose destination address and output interface are the tunnel destination address and the tunnel interface, respectively.

Examples

# Configure automatic static route advertisement on Tunnel 1 and set the preference to 3.

<Sysname> system-view

[Sysname] interface tunnel 1 mode mpls-te

[Sysname-Tunnel1] tunnel route-static preference 3

Related commands

mpls te igp advertise

mpls te igp shortcut

tunnel-attribute prefer

Use tunnel-attribute prefer to configure the global attribute usage preference for MPLS TE tunnel setup.

Use undo tunnel-attribute prefer to restore the default.

Syntax

tunnel-attribute prefer { local | pce }

undo tunnel-attribute prefer

Default

The device uses the attributes received from a PCE to establish MPLS TE tunnels.

Views

MPLS TE view

Predefined user roles

network-admin

Parameters

pce: Uses the attributes carried in the Update or Initial messages received from a PCE to establish MPLS TE tunnels. For attributes not carried in the PCE messages, the device uses the default values of the attributes.

local: Uses the locally configured attributes to establish MPLS TE tunnels. For attributes that are not locally configured, the device uses the default values of the attributes.

Usage guidelines

This command applies to the following attributes: bandwidth, affinity, setup and holding priorities, explicit path, link metric  type, TE metric of a link, and BSID. For other attributes, the device always uses the locally configured values.

The attribute usage preference can be configured in both tunnel interface view and MPLS TE view. The configuration in MPLS TE view applies to all MPLS TE tunnels. The configuration in tunnel interface view applies only to the current MPLS TE tunnel. For an MPLS TE tunnel, the configuration in tunnel interface view has a higher priority than the configuration in MPLS TE view.

Examples

# Configure the device to use locally configured attributes to establish MPLS TE tunnels.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] tunnel-attribute prefer local

tunnel-number

Use tunnel-number to specify an interface number range for automatically created bypass tunnels.

Use undo tunnel-number to restore the default.

 

 

NOTE:

This command is supported only in R3608 and later.

 

Syntax

tunnel-number min min-number max max-number

undo tunnel-number

Default

No interface number range is specified, and the PLR cannot set up a bypass tunnel automatically.

Views

MPLS TE auto FRR view

Predefined user roles

network-admin

Parameters

min min-number max max-number: Specifies a range of interface numbers for automatically created bypass tunnels. The value ranges for the min-number and max-number arguments are both 0 to 65534. The min-number must be smaller than or equal to the max-number, and the specified interface number range must include no more than 1000 interface numbers.

Usage guidelines

To enable the PLR to automatically create bypass tunnels, you must perform the following tasks:

1.     Enable auto FRR globally by using the auto-tunnel backup command.

2.     Specify the interface number range for bypass tunnels by using the tunnel-number command.

The PLR uses the interface numbers in the specified range in ascending order for the bypass tunnels.

When you use the tunnel-number command, follow these restrictions and guidelines:

·     If you execute this command multiple times, the most recent configuration takes effect.

·     If bypass tunnels are already created automatically, make sure the min-number is not greater than the minimum interface number used by the existing bypass tunnels. The max-number is not smaller than the maximum interface number used by the existing bypass tunnels.

·     The interface number range specified by this command can include the interface numbers used by the tunnel interfaces created by the interface tunnel command. However, those interface numbers cannot be used for bypass tunnels, unless they are released by the undo interface tunnel command.

Examples

# Specify interface numbers 800 to 900 for automatically created bypass tunnels.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] auto-tunnel backup

[Sysname-te-auto-bk] tunnel-number min 800 max 900

Related commands

auto-tunnel backup

 

  • 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
新华三官网