07-MPLS Command Reference

HomeSupportSwitchesS12500R SeriesReference GuidesCommand ReferencesH3C S12500R Switch Router Series Command References(R51xx)-6W10107-MPLS Command Reference
04-MPLS TE commands
Title Size Download
04-MPLS TE commands 446.94 KB

Contents

MPLS TE commands· 1

auto-bandwidth enable· 1

auto-tunnel backup· 2

backup-path exclude-srlg· 2

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 te bit-error-detection tunnel-interface· 12

display mpls te link-management bandwidth-allocation· 13

display mpls te link-management srlg· 15

display mpls te pce discovery· 15

display mpls te pce lspdb· 18

display mpls te pce peer 20

display mpls te pce statistics· 22

display mpls te srlg· 24

display mpls te tedb· 25

display mpls te tunnel-interface· 27

display ospf mpls te advertisement 31

display ospf mpls te network· 33

display ospf mpls te pce· 34

display ospf mpls te tunnel 36

display tunnel-bundle· 37

exclude-srlg· 38

explicit-path· 39

fast-reroute timer 39

interface tunnel-bundle· 40

link-management periodic-flooding timer 41

member interface· 42

mpls te· 43

mpls te affinity-attribute· 43

mpls te auto-bandwidth· 44

mpls te auto-tunnel backup disable· 46

mpls te backup· 47

mpls te backup bandwidth· 48

mpls te backup-path· 49

mpls te bandwidth· 50

mpls te bandwidth change thresholds· 51

mpls te delegation· 52

mpls te enable (interface view) 53

mpls te enable (IS-IS view) 53

mpls te enable (OSPF area view) 54

mpls te fast-reroute· 55

mpls te fast-reroute bypass-tunnel 56

mpls te igp advertise· 57

mpls te igp metric· 58

mpls te igp shortcut 59

mpls te link-attribute· 60

mpls te load-share· 61

mpls te loop-detection· 62

mpls te max-link-bandwidth· 62

mpls te max-reservable-bandwidth· 63

mpls te metric· 64

mpls te path· 65

mpls te path-metric-type· 66

mpls te priority· 67

mpls te record-route· 67

mpls te reoptimization (tunnel interface view) 68

mpls te reoptimization (user view) 69

mpls te resv-style· 70

mpls te retry· 70

mpls te route-pinning· 71

mpls te service-class· 72

mpls te signaling· 73

mpls te srlg· 74

mpls te static-cr-lsp· 74

mpls te statistics· 75

mpls te timer retry· 76

nexthop· 76

nextsid· 77

nhop-only· 78

path-metric-type· 79

pce address· 80

pce capability segment-routing· 81

pce deadtimer 81

pce keepalive· 82

pce peer delegation-priority· 83

pce peer keychain· 83

pce redelegation-timeout 84

pce request-timeout 85

pce state-timeout 86

pce static· 86

pce tolerance· 87

pcep type· 88

reset mpls te auto-bandwidth-adjustment timers· 89

reset mpls te pce statistics· 89

snmp-agent trap enable te· 89

switch-delay· 90

te-subtlv· 91

timers removal unused· 92

tunnel-number 93

 


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.

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.

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 has the same address as the tunnel bundle destination, the tunnel bundle can be used as the public tunnel for MPLS L3VPN.

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.

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

DS-TE is not supported in the current software version.

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 te bit-error-detection tunnel-interface

Use display mpls te bit-error-detection tunnel-interface to display bit error information on MPLS TE tunnel interfaces.

Syntax

display mpls te bit-error-detection tunnel-interface [ tunnel-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

tunnel-number: Specifies an existing tunnel interface number. If you do not specify a tunnel interface number, this command displays bit error information on all MPLS TE tunnel interfaces.

Examples

# Display bit error information on all MPLS TE tunnel interfaces.

<Sysname> display mpls te bit-error-detection tunnel-interface

Tunnel ID        LSP type       BED state       BED rate(R/L)

1                Main           Start           7e-7/7e-7

1                Backup         Stop            0/0

100              Main           -               2e-5/0

100              Backup         -               0/0

Table 6 Command output

Field

Description

Tunnel-ID

Tunnel ID.

LSP type

Primary/backup type of the tunnel:

·     Main—Primary CRLSP.

·     Backup—Backup CRLSP.

BED state

Bit error status of the tunnel:

·     Start—Bit error occurred.

·     Stop—Bit error recovered.

If no bit error has occurred, this field displays a hyphen (-).

BED rate(R/L)

Bit error rate of the tunnel.

R represents the rate obtained through the remote BFD session after the bidirectional switching mode is used. L represents the rate obtained through the local BFD session.

 

Related commands

mpls te bit-error-detection

mpls te bit-error-detection threshold

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. For information about VA interfaces, see PPPoE in Layer 2—WAN Access Configuration Guide.

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

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 8 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 9 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 10 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.

Domains

Path computation domains of the PCE.

Neighbor domains

Neighbor domains for PCE path computation.

display mpls te pce lspdb

Use display mpls te pce lspdb to display CRLSP 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 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 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 is not delegated or the delegation fails, this field displays a hyphen (-).

State

CRLSP state:

·     up—The CRLSP has been established.

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

# Display detailed information about all CRLSPs 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

Delegatable: Yes                                 Delegated address: -

Operational state: Up                            Speaker address: -

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

  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 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 is created by PCE: Yes or No.

Delegatable

Whether the CRLSP is delegatable: Yes or No.

Delegated address

IP address of the delegated PCE. If the CRLSP is not delegated or the delegation fails, this field displays a hyphen (-).

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.

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.

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

Table 12 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.

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 13 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 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 14 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 15 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 16 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 17 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 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: -

  Class Type           : CT0             Tunnel Bandwidth     : 0 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

  Auto Bandwidth       : Disabled        Auto Bandwidth Freq  : -

  Min Bandwidth        : -               Max Bandwidth        : -

  Collected Bandwidth  : -               Service Class        : -

  Traffic Policy       : Disable

Table 18 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

This field is not supported in the current software version.

Tunnel mode of the bidirectional tunnel:

·     Co-routed, active—The device is the active end of the co-routed bidirectional tunnel.

·     Co-routed, passive—The device is the passive end of the co-routed bidirectional tunnel.

·     Associated—The tunnel is an associated bidirectional tunnel.

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 (-).

Class Type

CT of the tunnel, which can be CT 0.

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

Whether FRR needs bandwidth protection:

·     Enabled.

·     Disabled.

Backup Bandwidth Flag

Whether the mpls te backup bandwidth command is configured to specify the bandwidth and CRLSP types that the bypass tunnel can protect.

·     Enabled—Configured.

·     Disabled—Not configured.

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 traffic of all class types.

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

Backup Bandwidth

Bandwidth (in kbps) that the bypass tunnel can protect.

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

Bypass Tunnel

Whether it is a bypass tunnel: Yes or No.

Auto Created

Whether the bypass tunnel is automatically created: Yes or 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.

·     Ordinary.

Backup LSP ID

LSP ID of the backup tunnel.

Auto Bandwidth

State of the automatic bandwidth adjustment feature.

Auto Bandwidth Freq

Automatic bandwidth adjustment interval, in seconds.

Min Bandwidth

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

Max Bandwidth

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

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

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

      Local Interface Address  : 197.168.1.1

      Remote Interface Address : 197.168.1.11

Table 19 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

DS-TE is not supported in the current software version.

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.

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 20 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 21 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 22 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 1023. 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 23 Command output

Field

Description

Working mode

Tunnel bundle interface operating modes:

Load Balancing.

 

 

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.

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. Therefore, MPLS TE must poll the bypass tunnels periodically to update the optimal bypass tunnel.

 

 

NOTE:

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.

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

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

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.

Syntax

mpls te auto-bandwidth { adjustment [ [ frequency seconds ] [ max-bw max-bandwidth | min-bw min-bandwidth ] * | threshold percent ] * | 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.

threshold percent: Specifies the threshold that triggers an immediate automatic bandwidth adjustment after a sampling interval. The threshold is the percentage of the average output rate in a sampling interval to the current tunnel bandwidth, in the range of 0 to 100.

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.

If the threshold percent option is specified, the device immediately adjusts the tunnel bandwidth when the percentage of the average output rate calculated in a single smapling interval to the current tunnel bandwidth reaches the specified threshold.

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.

If both the mpls te auto-bandwidth and mpls te bidirectional commands are configured, only the mpls te bidirectional command takes effect.

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.

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

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.

In the same tunnel interface view, the mpls te backup command is mutually exclusive with the mpls te reoptimization command and the mpls te auto-bandwidth adjustment command.

Examples

# Enable hot 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 bandwidth that the bypass tunnel can protect..

Use undo mpls te backup bandwidth to restore the default.

Syntax

mpls te backup bandwidth { bandwidth | un-limited }

undo mpls te backup bandwidth

Default

The bandwidth that the bypass tunnel can protect is not specified.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

bandwidth: Specifies the total bandwidth (in kbps) that the bypass tunnel can protect. The value range for this argument is 1 to 4294967295.

un-limited: Puts no limit on total protected bandwidth. This keyword means that the bypass tunnel does not provide bandwidth protection.

Usage guidelines

If you specify the un-limited keyword, the bypass tunnel does not provide bandwidth protection. FRR does not guarantee the bandwidth of the protected tunnels. If the sum of traffic of the protected tunnels exceeds the actual bandwidth of the bypass tunnel, traffic of protected tunnels might be lost. The primary CRLSP that does not need bandwidth protection prefers this type of bypass tunnels over other types of bypass tunnels.

If you specify the bandwidth argument, the bypass tunnel provides bandwidth protection. The primary CRLSP that needs bandwidth protection prefers this type of bypass tunnels over other types of bypass tunnels. If you set the value for the bandwidth argument to 0, the bypass tunnel performs best-effort forwarding for the traffic of primary CRLSP, and the occupied bandwidth is not fixed. Therefore, this type of bypass tunnel cannot protect a primary CRLSP with the bandwidth 0 or a primary CRLSP whose bandwidth exceeds the protected bandwidth.

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

After an FRR, the primary CRLSP will be down if you modify the bandwidth that the bypass tunnel can protect and your modification results in one of the following:

·     The bypass tunnel cannot protect adequate bandwidth as configured.

·     FRR protection type (whether or not to provide bandwidth protection for the primary CRLSP) changes.

The bandwidth value specified is used only for calculating and determining the bandwidth protection relationship between a primary CRLSP and a bypass tunnel. The bandwidth is not reserved on the bypass tunnel.

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 0 to protect CRLSPs without constraining the protected bandwidth and configure Tunnel 1 to protect CRLSPs with a maximum of 1000 kbps 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 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 [ ct0 ] 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

ct0: Specifies CT 0 for the tunnel.

bandwidth: Specifies the bandwidth required by the MPLS TE tunnel, in the range of 1 to 4294967295, in kbps.

Usage guidelines

This command applies to CT 0 whether or not you specify the ct0 keyword.

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.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] mpls te bandwidth 1000

Related commands

display mpls te tunnel-interface

mpls te max-link-bandwidth

mpls te max-reservable-bandwidth

 

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 delegation

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

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

Syntax

mpls te delegation

undo mpls te delegation

Default

CRLSP delegation is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Usage guidelines

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

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

2.     Accepts CRLSP update requests from the delegated PCE.

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

Examples

# Enable CRLSP 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.

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.

When a primary CRLSP does not need bandwidth protection, it prefers to use a bypass tunnel that does not provide bandwidth protection. No bandwidth guarantee is required after FRR.

When a primary CRLSP needs bandwidth protection, it prefers to use the bypass tunnel that can protect bandwidth as much as possible to provide bandwidth guarantee after FRR.

Regardless of whether a primary CRLSP requires bandwidth protection, the following will occur when the primary CRLSP is bound to a bypass tunnel that provides bandwidth protection:

·     The bypass tunnel will reserve the protected bandwidth for the primary CRLSP.

·     The RRO message of the PLR will carry the bandwidth protection flag.

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

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

In tunnel interface view:

mpls te igp advertise [ hold-time value ]

undo mpls te igp advertise

In tunnel bundle interface view:

mpls te igp advertise

undo mpls te igp advertise

Default

Forwarding adjacency is disabled. IGP does not advertise an MPLS TE tunnel or tunnel bundle 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

Only MPLS TE tunnels established by using RSVP-TE support the forwarding adjacency feature.

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

If IGP shortcut is enabled for an MPLS TE tunnel or tunnel bundle, the tunnel or tunnel bundle 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 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

Use mpls te max-reservable-bandwidth to set the maximum reservable bandwidth of the link for MPLS TE traffic.

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

Syntax

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

undo mpls te max-reservable-bandwidth

Default

The maximum reservable bandwidth of a link is 0 kbps and BC 1 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.

percent percent-bandwidth: Specifies the percentage of the maximum reserved bandwidth out of the maximum link bandwidth. The value range is 1 to 200.

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 bandwidth values configured by this command are only for MPLS TE traffic.

Examples

# Set the link maximum reservable bandwidth to 1158 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

Related commands

display mpls te link-management bandwidth-allocation

mpls te bandwidth

mpls te max-link-bandwidth

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 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-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 auto-bandwidth adjustment

·     mpls te route-pinning.

·     mpls te backup.

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.

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 or mpls te auto-bandwidth adjustment 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 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. The value range for this argument is 0 to 7.

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 flow-based forwarding is set, CBTS randomly selects a matching tunnel for packets of the same flow.

¡     If 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 selects a tunnel from all tunnels with a service class value smaller than the traffic. Among these tunnels, the one with the largest service class value is used. If all tunnels have a service class value greater than the traffic, CBTS uses the tunnel 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 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 segment routing to establish 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 a PCE to establish an SRLSP, 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

undo mpls te statistics

Default

MPLS TE tunnel traffic statistics is disabled.

Views

Tunnel interface view

Predefined user roles

network-admin

Examples

# Enable tunnel traffic statistics for tunnel interface 0.

<Sysname> system-view

[Sysname] interface tunnel 0 mode mpls-te

[Sysname-Tunnel0] 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

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

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.

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.

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

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.

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 command 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-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 after 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 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 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. If the redelegation timeout interval is 0 seconds, the PCC does not redelegate CRLSPs.

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 second highest 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 computation 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 computation, if a PCC does not receive a computation reply within the configured timeout time, it resends computation requests to the PCE until it receives a reply.

In BRPC computation, if a PCC does not receive a computation reply from the PCE within the configured timeout time, the PCC does not resend a request. If a PCE does not receive a computation reply from its downstream PCE within the timeout time, it sends the local computation 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 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 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.

Examples

# Specify the device as an active stateful PCEP device.

<Sysname> system-view

[Sysname] mpls te

[Sysname-te] pcep type active-stateful

Related commands

display mpls te pce peer

reset mpls te auto-bandwidth-adjustment timers

Use reset mpls te auto-bandwidth-adjustment timers to reset the automatic bandwidth adjustment feature.

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

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

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 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 switching delay timer after the new CRLSP is established and does not switch the traffic to the new CRLSP until the timer expires.

When the upstream is idle but the downstream is busy, the new CRLSP might not be able to come up on every LSR within the switching delay time. If the upstream switches traffic to the new CRLSP but the CRLSP 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 has enough time to come up on the entire path before traffic is switched to it.

The configured switching delay time also applied to CRLSP backup and FRR. When the primary CRLSP recovers, MPLS TE waits the configured delay time before switching the traffic back to the primary CRLSP.

Examples

# Configure MPLS TE to wait 100000 milliseconds before switching the traffic to the new CRLSP.

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

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

Use tunnel-number to specify an interface number range for automatically created bypass tunnels.

Use undo tunnel-number to restore the default.

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 9214. 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
新华三官网