- Table of Contents
-
- 09-MPLS Command Reference
- 00-Preface
- 01-Basic MPLS commands
- 02-Static LSP commands
- 03-LDP commands
- 04-MPLS TE commands
- 05-Static CRLSP commands
- 06-RSVP commands
- 07-Tunnel policy commands
- 08-MPLS L3VPN commands
- 09-MPLS L2VPN commands
- 10-VPLS commands
- 11-L2VPN access to L3VPN or IP backbone commands
- 12-MPLS OAM commands
- 13-MCE commands
- Related Documents
-
Title | Size | Download |
---|---|---|
04-MPLS TE commands | 1023.82 KB |
Contents
display isis mpls te advertisement
display isis mpls te configured-sub-tlvs
display mpls statistics tunnel-interface
display mpls te binding-sid ref-list
display mpls te bit-error-detection tunnel-interface
display mpls te default-parameter
display mpls te link-management bandwidth-allocation
display mpls te link-management srlg
display mpls te p2mp tunnel-interface
display mpls te pce lspdb last-packet-detail
display mpls te pce stateful neighbor
display mpls te pce statistics
display mpls te segment-routing tunnel path
display mpls te tunnel-interface
display ospf mpls te advertisement
display te link-management bandwidth-allocation
display te link-management srlg
link-management periodic-flooding timer
mpls te auto-tunnel backup disable
mpls te backup affinity-attribute
mpls te bandwidth change thresholds
mpls te bit-error-detection threshold
mpls te enable (interface view)
mpls te enable (OSPF area view)
mpls te fast-reroute bypass-tunnel
mpls te max-reservable-bandwidth
mpls te passive-delegate report-only
mpls te reoptimization (tunnel interface view)
mpls te reoptimization (user view)
mpls te statistics service-class interval
mpls te tunnel-attribute prefer
pce capability segment-routing
reset mpls statistics tunnel-interface
snmp-agent trap enable pcep-private
snmp-agent trap enable te-private
te bandwidth change thresholds
MPLS TE commands
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
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/SID Hop Type Hop Attribute/SID Type
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/SID |
IP address or SID 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/SID Type |
Node attribute: · Include—The node must be included in the explicit path. · Exclude—The node must not be included in the explicit path. · Exclude-SRLG—The links in the same SRLG as the specified IP address must not be included in the explicit path. SID type: · SID without NAI. · IPv4 Node ID. · IPv6 Node ID. · IPv4 Adjacency. · IPv6 Adjacency. · Unnumbered Adjacency with IPv4 NodeIDs. |
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
SRLGs:
10 20 30
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
SRLGs:
10 20 30
Local address: 1.1.1.1
Table 2 Command output
Field |
Description |
TE information for IS-IS(1) |
TE information for IS-IS process 1. |
Node total count |
Total number of nodes that advertised TE information. |
Node flags |
Node information flags: · A—Already synchronized node information with CSPF. · S—Ready to synchronize node information with CSPF again after the previous synchronization failed. · R—The node is reachable. · O—The node is overloaded. |
Link total count |
Total number of links advertised by the node. |
Link information |
Link information advertised by the node. |
Neighbor |
System ID of the neighbor. |
Frag ID |
LSP fragment number. |
Link type |
Link type: Broadcast or P2P. |
Admin group |
Administrator group attribute of the link. |
Link flags |
Link information flags: · A—Already synchronized link information with CSPF. · U—Ready to update link information with CSPF again after the previous update failed. · D—Ready to delete link information from CSPF again after the previous deletion failed. |
Bandwidth constraint model |
Bandwidth constraint model: Prestandard DS-TE RDM. |
SRLGs |
List of SRLG numbers to which the interface belongs. |
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 [ ipv6 ] [ level-1 | level-2 ] [ process-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ipv6: Displays tunnel interface information for IPV6 IS-IS.
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 IPv4 IS-IS.
<Sysname> display isis mpls te tunnel
MPLS-TE tunnel information for IS-IS(1)
---------------------------------------
Level-1 IPv4 Tunnel Statistics
-------------------------
Tunnel Name Auto Route Destination Metric
-----------------------------------------------------------------------
Tun0 Advertise 2.2.2.2 Relative 0
Level-2 IPv4 Tunnel Statistics
-------------------------
Tunnel Name Auto Route Destination Metric
-----------------------------------------------------------------------
Tun0 Advertise 2.2.2.2 Relative 0
# Display MPLS TE tunnel interface information for IPv6 IS-IS.
<Sysname> display isis mpls te tunnel ipv6
MPLS-TE tunnel information for IS-IS(1)
---------------------------------------
Level-1 IPv6 Tunnel Statistics
-------------------------
Tunnel Name Auto Route Destination Metric
-----------------------------------------------------------------------
Tun0 Advertise 2.2.2.2 Relative 0
Level-2 IPv6 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. |
Level-1 IPv4 Tunnel Statistics |
MPLS TE tunnel interface information for IPv4 IS-IS Level-1. |
Level-2 IPv4 Tunnel Statistics |
MPLS TE tunnel interface information for IPv4 IS-IS Level-2. |
Level-1 IPv6 Tunnel Statistics |
MPLS TE tunnel interface information for IPv6 IS-IS Level-1. |
Level-2 IPv6 Tunnel Statistics |
MPLS TE tunnel interface information for IPv6 IS-IS Level-2. |
Auto Route |
Automatic route advertisement method on the tunnel interface: · Advertise—Forwarding adjacency. · Shortcut—IGP shortcut. |
Destination |
Tunnel destination address. |
Metric |
Metric type and value configured on the tunnel interface: · Relative. · Absolute. |
display mpls statistics tunnel-interface
Use display mpls statistics tunnel-interface to display MPLS TE tunnel traffic statistics.
Syntax
display mpls statistics tunnel-interface number [ service-class service-class-value ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
number: Specifies a tunnel interface by its number. The value range for this argument is 0 to 32767.
service-class service-class-value: Specifies a service class value. The value range for the service class is 1 to 15.If you do not specify a service class value, this command displays total traffic statistics for the tunnel interface.
Usage guidelines
If the type of a tunnel changes, the system restarts traffic statistics collection for the tunnel.
The system performs MPLS TE tunnel traffic statistics based on LSPs. If the LSP of a tunnel is removed, the tunnel traffic statistics is cleared.
Examples
# Display MPLS TE tunnel traffic statistics for tunnel interface 0.
<Sysname> display mpls statistics tunnel-interface 0
Tunnel name: Tunnel 0
Output total:
20000 packets, 40000 bytes, 850 drops
Output service-class 1:
15000 packets, 30000 bytes, 550 drops
Output service-class 2:
5000 packets, 10000 bytes, 300 dropps
# Display MPLS TE tunnel traffic statistics for service class 2 on tunnel interface 0.
<Sysname> display mpls statistics tunnel-interface 0 service-class 2
Tunnel name : Tunnel 0
Output service-class 2:
60000 packets, 100000 bytes, 450 drops
Table 6 Command output
Field |
Description |
Output service-class |
Traffic statistics for the specified service class in the outbound direction of the tunnel. |
drops |
Number of packets dropped. |
display mpls te bidirectional
Use display mpls te bidirectional to display information about bidirectional MPLS TE tunnels.
Syntax
display mpls te bidirectional [ segment-routing | static | rsvp-te ] [ reverse-bsid label label-value ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
segment-routing: Specifies bidirectional MPLS TE tunnels signaled using the Segment Routing (SR) protocol (referred to as bidirectional SR-MPLS TE tunnels for short).
static: Specifies bidirectional MPLS TE tunnels statically established.
rsvp-te: Specifies bidirectional MPLS TE tunnels signaled using the RSVP-TE protocol.
reverse-bsid label label-value: Specifies a reverse BSID label in the range of 16 to 1048575. If you do not specify a reverse BSID, this command displays information about all bidirectional SR-MPLS TE tunnels associated with a reverse BSID.
Usage guidelines
If you do not specify the segment-routing, static, and rsvp-te keywords, this command displays the bidirectional MPLS TE tunnels established using all signaling protocols.
Examples
# Display information about all bidirectional MPLS TE tunnels.
<Sysname> display mpls te bidirectional
-------------------------------------------------------------------------------
LSP Information:
-------------------------------------------------------------------------------
Reverse BSID Tunnel name Signaling protocol
2000 Tunnel2 segment-routing
2002 Tunnel3 rsvp-te
2001 Tunnel4 static
# Display information about the bidirectional SR-MPLS TE tunnels associated with reverse BSID 1000.
<Sysname> display mpls te bidirectional segment-routing reverse-bsid label 1000
-------------------------------------------------------------------------------
LSP Information:
-------------------------------------------------------------------------------
Reverse BSID Tunnel name Signaling protocol
1000 Tunnel8 segment-routing
1001 Tunnel9 segment-routing
Table 7 Command output
Field |
Description |
Reverse BSID |
Reverse BSID associated with the MPLS TE tunnel. |
Tunnel name |
Name of the tunnel associated with the reverse BSID. |
Signaling protocol |
Signaling protocol used to establish the bidirectional MPLS TE tunnel. Options include segment-routing, rsvp-te, and static. |
Related commands
mpls te bidirectional
display mpls te binding-sid
Use display mpls te binding-sid to display MPLS TE tunnel and BSID associations.
Syntax
display mpls te binding-sid [ label label-value ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
label label-value: Specifies a BSID label in the range of 16 to 1048575. If you do not specify a BSID, this command displays all MPLS TE tunnel and BSID associations.
Examples
# Display all MPLS TE tunnel and BSID associations.
<Sysname> display mpls te binding-sid
-------------------------------------------------------------------------------
Label value Signaling type Tunnel name
10000 Segment-Routing Tunnel10
10001 Segment-Routing Tunnel11
-------------------------------------------------------------------------------
# Display the MPLS TE tunnel associated with BSID 1000.
<Sysname> display mpls te binding-sid label 1000
-------------------------------------------------------------------------------
Label value Signaling type Tunnel name
1000 Segment-Routing Tunnel1
-------------------------------------------------------------------------------
Table 8 Command output
Field |
Description |
Label value |
BSID associated with the MPLS TE tunnel. |
Signaling type |
Signaling protocol used to established the tunnel. The value of this field is Segment-Routing. |
Tunnel name |
Name of the tunnel. |
display mpls te binding-sid ref-list
Use display mpls te binding-sid ref-list to display information about the explicit paths that use BSIDs.
Syntax
display mpls te binding-sid ref-list [ label label-value ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
label label-value: Specifies a BSID label in the range of 0, 3, and 16 to 1048575. If you do not specify a BSID, this command displays information about all explicit paths that use a BSID.
Examples
# Display information about all explicit paths that use a BSID.
<Sysname> display mpls te binding-sid ref-list
--------------------------------------------------------------------------------
Binding SID: 100 Reference count: 1
Explicit path list:
path123
--------------------------------------------------------------------------------
Binding SID: 200 Reference Count: 3
Explicit path list:
200
201
aaa
# Display information about explicit paths that use BSID 300.
<Sysname> display mpls te binding-sid ref-list label 300
--------------------------------------------------------------------------------
Binding SID: 300 Reference Count: 2
Explicit path list:
path300
path400
Table 9 Command output
Field |
Description |
Binding SID |
BSID of the MPLS TE tunnel. |
Reference count |
Number of times that the SID was used. |
Explicit path list |
List of the explicit paths that use the SID. |
Related commands
nextsid
display mpls te 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 10 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 default-parameter
Use display mpls te default-parameter to display global MPLS TE parameters and the default parameters used to establish MPLS TE tunnels.
Syntax
display mpls te default-parameter
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display global MPLS TE parameters and the default parameters used to establish MPLS TE tunnels.
<Sysname> display mpls te management default-parameter
Global parameters:
DS-TE mode: Prestandard
BC model: RDM
Switch-delay time: 10000ms
Delete-delay time: 10000ms
Backup wait-to-restore time: 10000ms
Auto bandwidth:
State: Enabled
Sample interval: 300s
Auto fast-reroute:
State: Enabled
Min bypass tunnel ID: 1000
Max bypass tunnel ID: 1050
Nhop-only: Disable
Unused tunnel remove time: 3600s
Backup-path exclude SRLG: Disabled
Fast-reroute timer: 300s
Path metric type: TE
Stateful-pce delegation: Report-Only
Tunnel attributes prefer: PCE
Interface default parameters:
Bandwidth change thresholds up: 10%
Bandwidth change thresholds down: 10%
Link attribute: 0
TE metric: 0
Tunnel default parameters:
Retry frequency: 2s
Retry count: 3
Attribute prefer: PCE
Default signaling: RSVP-TE
Setup priority: 7
Hold priority: 7
Bandwidth class-type: 0
Resv-Style: SE
Table 11 Command output
Field |
Description |
Global parameters |
Global settings for MPLS TE. |
DS-TE mode |
DS-TE mode, which can be Prestandard. |
BC model |
Bandwidth constraint model for DS-TE: Prestandard—RDM in prestandard DS-TE mode. |
Switch-delay time |
Path switch delay time, in milliseconds. |
Delete-delay time |
Path delete delay time, in milliseconds. |
Backup wait-to-restore time |
Time the backup tunnel must wait before it restores, in milliseconds. |
Auto bandwidth |
Automatic bandwidth adjustment configuration. |
State |
Whether automatic bandwidth adjustment is enabled. |
simple frequency |
Automatic bandwidth adjustment time interval, in seconds. |
Auto fast-reroute |
Auto FRR configuration. |
State |
Whether auto FRR is enabled. |
Min bypass tunnel ID |
Minimum tunnel interface number for the automatic bypass tunnel. |
Max bypass tunnel ID |
Maximum tunnel interface number for the automatic bypass tunnel. |
Nhop-only |
Creates only link-protection bypass tunnels: · Enabled—Automatically creates only link-protection bypass tunnels. · Disabled—Automatically creates both link-protection and node-protection bypass tunnels. |
Unused tunnel remove time |
Period of time after which an unused bypass tunnel is deleted. |
Backup-path exclude SRLG |
Excluding SRLG constraint in path computation for the backup tunnel: · Enabled. · Disabled. |
Fast-reroute timer |
Interval for selecting an optimal bypass tunnel, in seconds. |
Path metric type |
Link metric type used for path selection when a metric type is not explicitly specified for a tunnel. Options include: · TE—Uses the TE metric. · IGP—Uses the IGP metric. |
Stateful-pce delegation |
Global delegation setting for MPLS TE tunnels: · Delegation—Delegates MPLS TE tunnels to the PCE. · Report-only—Reports MPLS TE tunnel information to the PCE without delegating MPLS TE tunnels to the PCE. |
Tunnel attributes prefer |
Global setting of the attribute usage preference for MPLS TE tunnel setup: · PCE—Uses the attributes carried in Update or Initial messages received from a PCE to establish an MPLS TE tunnel. · Local—Uses the locally configured attributes to establish an MPLS TE tunnel. |
Interface default parameters |
Default settings for an interface. |
Bandwidth change thresholds up |
Bandwidth decrease percentage threshold that triggers the IGP to flood TE information. |
Bandwidth change thresholds down |
Bandwidth increase percentage threshold that triggers the IGP to flood TE information. |
Link attribute |
SRLG of the interface. |
TE metric |
TE metric of the link. |
Tunnel default parameters |
Default settings for a tunnel interface. |
Retry frequency |
Tunnel re-establishment interval, in seconds. |
Retry count |
Maximum number of tunnel establishment retries. |
Attribute prefer |
Attribute usage preference for MPLS TE tunnel setup: · PCE—Uses the attributes carried in Update or Initial messages received from a PCE to establish the MPLS TE tunnel. · Local—Uses the locally configured attributes to establish the MPLS TE tunnel. |
Default signaling |
Default signaling protocol used to establish the MPLS TE tunnel, which is RSVP-TE. |
Setup priority |
Tunnel setup priority. |
Hold priority |
Tunnel holding priority. |
Bandwidth class-type |
Class type of the tunnel traffic, which is CT 0 by default. |
Resv-Style |
Resource reservation style of the tunnel, which is SE by default. |
display mpls te ds-te
Use display mpls te ds-te to display DS-TE information, including the DS-TE mode, bandwidth constraint (BC) model, and TE classes.
Syntax
display mpls te ds-te
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display DS-TE information.
<Sysname> display mpls te ds-te
MPLS LSR ID : 0.0.0.0
MPLS DS-TE mode : Prestandard
MPLS DS-TE BC model : RDM
TE Class Class Type Priority
0 0 0
1 0 1
2 0 2
3 0 3
4 0 4
5 0 5
6 0 6
7 0 7
8 1 0
9 1 1
10 1 2
11 1 3
12 1 4
13 1 5
14 1 6
15 1 7
Table 12 Command output
Field |
Description |
MPLS LSR ID |
MPLS LSR ID of the device. |
MPLS DS-TE mode |
DS-TE mode, which can be Prestandard. |
TE Class |
Serial number of a TE class. |
display mpls te link-management bandwidth-allocation
Use display mpls te link-management bandwidth-allocation to display bandwidth information on MPLS TE-enabled interfaces.
Syntax
display mpls te link-management bandwidth-allocation [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Displays bandwidth information on the interface specified by its type and number. If you do not specify this option, the command displays bandwidth information on all MPLS TE-enabled interfaces. 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: Ten-GigabitEthernet3/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
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. |
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 Ten-GigabitEthernet3/0/1:
SRLGs: 1, 2
Interface Ten-GigabitEthernet3/0/2:
SRLGs: 2, 3
Table 14 Command output
Field |
Description |
Interface |
Interface configured with SRLGs. |
SRLGs |
List of the SRLG numbers of the interface. |
display mpls te p2mp tunnel-interface
Use display mpls te p2mp tunnel-interface to display information about automatically created MPLS TE P2MP tunnel interfaces.
Syntax
display mpls te p2mp tunnel-interface [ tunnel number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
tunnel number: Specifies a tunnel interface by its number. The tunnel interface must already exist. If you do not specify this option, the command displays information about all automatically created MPLS TE P2MP tunnel interfaces.
Usage guidelines
MPLS TE P2MP tunnels are automatically established after multicast VPN in RSVP-TE mode is configured. After the MPLS TE P2MP tunnels are established, you can use the display mpls te p2mp tunnel-interface command to display information about the tunnels. For more information about MPLS TE P2MP tunnels, see RSVP configuration in MPLS Configuration Guide. For more information about multicast VPN, see IP Multicast Configuration Guide.
Examples
# Display information about all automatically created MPLS TE P2MP tunnel interfaces.
<Sysname> display mpls te p2mp tunnel-interface
Tunnel Name : Tunnel 0
Tunnel State : Up (Main CRLSP up)
Tunnel Attributes :
LSP ID : 28889 Tunnel ID : 0
Admin State : Normal
Ingress LSR ID : 1.1.1.9 Egress LSR ID : -
Signaling : Auto P2MP Static CRLSP Name : -
Resv Style : SE
Tunnel Mode : MTE
Reverse-LSP Name : -
Reverse-LSP LSR ID : - Reverse-LSP Tunnel ID: -
Class Type : - Tunnel Bandwidth : -
Reserved Bandwidth : -
Setup Priority : - Holding Priority : -
Affinity Attr/Mask : -/-
Explicit Path : -
Backup Explicit Path : -
Metric Type : TE
Record Route : - Record Label : -
FRR Flag : Enabled Bandwidth Protection : Enabled
Backup Bandwidth Flag: Disabled Backup Bandwidth Type: -
Backup Bandwidth : -
Bypass Tunnel : No Auto Created : Yes
Route Pinning : -
Retry Limit : 3 Retry Interval : 2 sec
Reoptimization : - Reoptimization Freq : -
Backup Type : None Backup LSP ID : -
Auto Bandwidth : Disabled Auto Bandwidth Freq : -
Min Bandwidth : - Max Bandwidth : -
Collected Bandwidth : -
Sub-LSPs :
Total : 2
Destination State
200.200.200.119 UP
100.100.100.119 UP
Table 15 Command output
Field |
Description |
Tunnel Name |
Name of the tunnel interface. |
Tunnel State |
Running state of the tunnel: Down or Up, followed by a brief description of the state in parentheses. The 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. |
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, which can only be Auto P2MP. |
Static CRLSP Name |
Static CRLSP used by the tunnel. |
Resv Style |
Resource reservation style used by the tunnel. 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 displays MTE for a multicast TE tunnel. |
Reverse-LSP Name |
Name of the reverse LSP associated with the tunnel. |
Reverse-LSP LSR ID |
LSR ID of the ingress node on the reverse LSP. This field has a value for an associated bidirectional tunnel and for the passive end of a co-routed bidirectional tunnel. In other conditions, this field displays a hyphen (-). |
Reverse-LSP Tunnel ID |
Tunnel ID of the reverse LSP. This field has a value for an associated bidirectional tunnel and for the passive end of a co-routed bidirectional tunnel. In other conditions, this field displays a hyphen (-). |
Class Type |
This field is not supported in the current software version. CT of the tunnel: CT0, CT1, CT2, or CT3. |
Tunnel Bandwidth |
Bandwidth required by the tunnel, in kbps. |
Reserved Bandwidth |
This field is not supported in the current software version. Bandwidth reserved for the tunnel, in kbps. |
Setup Priority |
This field is not supported in the current software version. Tunnel setup priority. |
Holding Priority |
This field is not supported in the current software version. Tunnel holding priority. |
Affinity Attr/Mask |
This field is not supported in the current software version. 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. |
Record Route |
State of the route recording feature: Enabled or Disabled. |
Record Label |
This field is not supported in the current software version. State of the label recording feature: Enabled or Disabled. |
FRR Flag |
State of the FRR feature: Enabled or Disabled. |
Bandwidth Protection |
Whether FRR needs bandwidth protection: Enabled or Disabled. |
Backup Bandwidth Flag |
Whether the bandwidth and the type of CRLSPs that the bypass tunnel can protect have been configured (by using the mpls te backup bandwidth command): · Enabled—Configured. · Disabled—Not configured. |
Backup Bandwidth Type |
Class type of the traffic on the primary tunnel that the bypass tunnel can protect: CT0, CT1, CT2, or CT3. |
Backup Bandwidth |
Bandwidth that the bypass tunnel can protect, in kbps. |
Bypass Tunnel |
Whether the tunnel is a bypass tunnel: Yes or No. |
Auto Created |
Whether the bypass tunnel is automatically created: Yes or No. |
Route Pinning |
This field is not supported in the current software version. State of the route pinning feature: Enabled or Disabled. |
Retry Limit |
Maximum number of tunnel setup retries. |
Retry Interval |
Tunnel setup retry interval, in seconds. |
Reoptimization |
This field is not supported in the current software version. State of the tunnel reoptimization feature: Enabled or Disabled. |
Reoptimization Freq |
This field is not supported in the current software version. Tunnel reoptimization frequency, in seconds. |
Backup Type |
This field is not supported in the current software version. CRLSP backup mode: · None—CRLSP backup is disabled. · Hot Standby. · Ordinary. |
Backup LSP ID |
LSP ID of the backup tunnel. |
Auto Bandwidth |
This field is not supported in the current software version. State of the automatic bandwidth adjustment feature: Enabled or Disabled. |
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. |
Total |
Total sub-LSPs of the MPLS TE P2MP tunnel. |
Destination |
Sub-LSP destination addresses. |
State |
Status of the sub-LSPs: Up or Down. |
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 16 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 17 Command output
Field |
Description |
Discovery methods |
PCE discovery methods: · Static—The PCE is specified by command. · OSPF—The PCE is discovered automatically by OSPF. |
Path scope |
Scope of PCE path computation: · Compute intra-area paths. · Act as PCE for inter-area TE LSP computation. · Act as a default PCE for inter-area TE LSP computation. · Act as PCE for inter-AS TE LSP. · Act as a default PCE for inter-AS TE LSP. · Act as PCE for inter-layer TE LSP. |
Preference |
Preference of the PCE path scope, in the range of 0 to 7. A higher value represents a higher priority. |
Capabilities |
PCE capability: · Path computation with GMPLS link constraints. · Bidirectional path computation. · Diverse path computation. · Load-balanced path computation. · Synchronized path computation. · Support for multiple objective functions. · Support for additive path constraints. · Support for request prioritization. · Support for multiple requests per message. |
display mpls te pce lspdb
Use display mpls te pce lspdb to display CRLSP 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. 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 1 100 100 - 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. |
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/SRLSP state: · Active—The CRLSP/SRLSP has been established and is being used for traffic forwarding. · Up—The CRLSP/SRLSP has been established. · Down—The CRLSP/SRLSP has not been established or the establishment fails. |
# Display detailed information about all CRLSPs in the PCE LSPDB.
<Sysname> display mpls te pce lspdb verbose
PLSP ID: 1 Symbolic name: Sysname_t1
SRP ID: 0 PCE initiated LSP: No
PCE-setup-type: RSVP
Delegatable: Yes Delegated address: -
Delegation state: Not delegated
Operational state: Up Speaker address: -
Binding SID: 1024
LSP identifiers:
Destination: 4.4.4.8 Source: 2.2.2.8
Tunnel ID: 1 LSP ID: 36293
Sender address: 2.2.2.8
LSP association groups:
Association ID: 1
Protection type: Unprotected
Protection role: Primary LSP
LSP path:
EROs: 3
20.20.20.4 Loose
20.20.20.8 Strict
30.30.30.2 Exclude
SR-EROs: 1
SID type: SID without NAI Strict
SID: 16030 NAI: N/A
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. |
Symbolic name |
CRLSP or SRLSP name. The value is Sysname_ttunnel-ID, where Sysname represents the device name. You can configure the device name by executing the sysname command in system view. |
SRP ID |
Stateful PCE request parameters. |
PCE initiated LSP |
Whether the CRLSP or SRLSP is created by PCE: Yes or No. |
PCE-setup-type |
Protocol used to establish the CRLSP or SRLSP: RSVP or Segment Routing. |
Delegatable |
Whether the CRLSP or SRLSP is delegable: Yes or No. |
Delegated address |
IP address of the delegated PCE. If the CRLSP or SRLSP is not delegated or the delegation fails, this field displays a hyphen (-). |
LSP delegation state |
LSP delegation state: · Delegated—The LSP has been delegated to the PCE. · Not delegated—The LSP is not delegated to the PCE. · Updated—The PCE has updated the LSP. · State reverted—The LSP has restored to the state prior to the delegation. |
Operational state |
CRLSP/SRLSP state: · Active—The CRLSP/SRLSP has been established and is being used for traffic forwarding. · Up—The CRLSP/SRLSP has been established. · Down—The CRLSP/SRLSP has not been established or the establishment fails. |
Speaker address |
IP address of the PCE. |
Binding SID |
BSID specified for the MPLS TE tunnel. If no BSID is specified, this field displays a hyphen (-). |
Destination |
Tunnel destination address. |
Source |
Tunnel source address. |
Sender address |
Sender address identifies the tunnel source end. |
LSP association groups |
Information about the LSP association groups. |
Association ID |
ID of the LSP association group. This ID identifies a group of primary and backup LSPs. |
Protection type |
Protection type: · Unprotected—No protection. · (Full)Rerouting—Normal backup protection. · Rerouting without Extra-Traffic—Hot backup protection. · 1:N Protection with Extra-Traffic—1:N protection. · 1+1 Unidirectional Protection. |
Protection role |
LSP type: Primary, Backup, or Other. |
EROs |
Number of Explicit Route Objects (EROs) and the ERO information. ERO information includes the addresses of the nodes on the explicit path, and whether the current node is a loose or strict next hop. |
SR-EROs |
Number of Segment Routing Explicit Route Objects (SR-EROs) and the SR-ERO information. SR-ERO information includes the SID type, whether the current node is a loose or strict next hop, the SR label value, and the type of the Node or Adjacency Identifier (NAI) associated with the SID contained in the object. |
SID Type |
Type of the NAI associated with the SID that is contained in the SR-ERO: · SID without NAI—The NAI is absent. · IPv4 Node ID—The NAI is an IPv4 node ID (IPv4 address). · IPv6 Node ID—The NAI is an IPv6 node ID (IPv4 addresses). · IPv4 Adjacency—The NAI is an IPv4 adjacency (a pair of IPv4 addresses). · IPv6 Adjacency—The NAI is an IPv6 adjacency (a pair of IPv6 addresses). · Unnumbered Adjacency with IPv4 NodeIDs—The NAI is an unnumbered adjacency with IPv4 node IDs (a pair of node ID/interface ID tuples). |
SID |
SR label value. |
NAI |
Node or Adjacency Identifier. For a binding SID, this field displays a hyphen (-). For a prefix SID, the NAI is the node identifier, which is the address of the node. For an adjacency SID, the NAI is an adjacency identifier, which is the IP addresses of the two ends of a link. If no identifier or an unknown identifier is carried, this field displays N/A. |
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 lspdb last-packet-detail
Use display mpls te pce lspdb last-packet-detail to display the sending/receiving time and contents of the report/update messages that the MPLS TE tunnels sent/received most recently.
Syntax
display mpls te pce lspdb last-packet-detail
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
After an active stateful PCE establishes a PCEP session with an active stateful PCC, the PCC uses report messages to send state information about delegated MPLS TE tunnels to the PCE. The PCE uses update messages to update delegated MPLS TE tunnels.
Examples
# Display the sending/receiving time and contents of the report/update messages that the MPLS TE tunnels sent/received most recently.
<Sysname> display mpls te pce lspdb last-packet-detail
PLSP ID: 1
Tunnel ID: 1 LSP ID:22792
Last report message :
Packet sent at : 19-09-16 11:54:08:291
Packet details :
21 10 00 14 00 00 00 00 00 00 00 00 00 1c 00 04
00 00 00 01 20 10 00 28 00 00 10 09 00 12 00 10
01 01 01 09 59 08 00 00 01 01 01 09 03 03 03 09
00 11 00 06 48 33 43 5f 74 30 00 00 07 10 00 04
09 10 00 14 00 00 00 00 00 00 00 00 00 00 00 00
07 07 00 00 05 10 00 08 00 00 00 00 06 10 00 0c
00 00 00 00 00 00 00 00
Last update message :
Packet received at: -
Packet details : -
Table 18 Command output
Field |
Description |
Tunnel ID |
Tunnel ID. |
LSP ID |
LSP ID. |
PLSP ID |
PLSP ID, which uniquely identifies a tunnel. The PLSP ID is the tunnel ID. |
Last report message |
Information about the most recently sent report message. |
Packet sent at |
Time when the most recent report message was sent. If no report messages are sent, this field displays a hyphen (-). |
Packet details |
Packet content in hexadecimal digits. If no messages are sent or received, this field displays a hyphen (-). |
Last update message |
Information about the most recently received update message. |
Packet received at |
Time when the most recent update message was received. If no update messages are received, this field displays a hyphen (-). |
display mpls te pce parameter
Use display mpls te pce parameter to display local PCEP session settings.
Syntax
display mpls te pce parameter
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display local PCEP session settings.
<Sysname> display mpls te pce parameter
Public Parameters:
Keepalive interval : 30 sec Recommended deadtimer: 120 sec
Request timeout : 50 sec
Tolerance:
Min keepalive interval : 10 sec
Max unknown messages : 5/min
Capability for Nonstop routing: Yes
Nonstop routing state : Ready
PCC Parameters:
PCEP Type : Active stateful
Capability for Initiate : Yes
Capability for Segment-Routing: Yes
Retain lsp-state : Enable
Retain initiated-lsp : Enable
Redelegation timeout : 30 sec
State timeout : 60 sec
PCE Parameters:
PCEP Type : Stateless
PCE Address : 1.1.1.8
Capability for Segment-Routing: No
Table 19 Command output
Field |
Description |
Public Parameters |
Public parameters, which take effect when the device operates as a PCC or PCE. |
Keepalive interval |
Locally configured keepalive interval, in seconds. |
Recommended deadtimer |
Locally configured recommended PCEP session hold time, in seconds. |
Request timeout |
Path computation request timeout, in seconds. |
Tolerance |
Tolerance of the local device to the messages received from the PCE peer. |
Min keepalive interval |
Locally acceptable minimum keepalive interval (in seconds) sent by the peer. |
Max unknown messages |
Locally acceptable maximum number of unknown messages sent by the peer in a second. |
Capability for Nonstop routing |
Whether the local device supports PCEP nonstop routing (NSR): · Yes. · No. |
Nonstop routing state |
PCEP NSR state: · Ready—PCEP NSR has backed PCEP session information from the active process to the standby process. An active/standby switchover occurred in this state does not affect the existing PCEP session. Data forwarding will be not interrupted. · Not Ready—PCEP NSR is backing PCEP session information from the active process to the standby process. An active/standby switchover occurred in this state might result in re-establishment of the PCEP session, so data forwarding cannot be guaranteed. · Not configured—PCEP NSR is not enabled. |
PCC Parameters |
PCC parameters, which take effect only when the device operates as a PCC. |
PCEP Type |
Type of the local PCEP session: · Stateless. · Passive stateful. · Active stateful. The PCEP session type finally used is negotiated by the two peers. |
Capability for Initiate |
Whether the local device supports establishing tunnels and LSPs through PCE Initiated-LSP packets: · Yes. · No. |
Capability for Segment-Routing |
Whether the local device supports PCE Segment Routing: · Yes—The local device supports establishing SR-TE tunnels by using the following methods: ¡ PCE sends Update packets (delegation update). ¡ PCE sends Initial packets (actively establish) ¡ Sends SR-TE path computation requests to the PCE. · No—The local device does not support PCE Segment Routing. |
Retain lsp-state |
Whether to retain the PCE-updated LSP states after the active stateful PCEP session is broken: · Enable—Retains the PCE-updated LSP states. · Disable—Does not retain the PCE-updated LSP states but restores the LSP states prior to the update. |
Retain initiated-lsp |
Whether to retain the PCE-initiated LSPs after the active stateful PCEP session is broken: · Enable—Retains the PCE-initiated LSPs. · Disable—Does not retain the PCE-initiated LSPs. |
Redelegation timeout |
Redelegation wait time (in seconds) after the PCEP session is broken. |
State timeout |
PCC state aging time (in seconds) after the PCEP session is broken. |
PCE Parameters |
PCE parameters, which take effect only when the device operates as a PCE. |
PCE Address |
PCE address advertised by the device when it operates as a PCE. |
display mpls te pce peer
Use display mpls te pce peer to display PCC and PCE peer information.
Syntax
display mpls te pce peer [ ip-address ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ip-address: Specifies a peer by its IP address. If you do not specify this argument, the command displays information about all peers.
verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.
Usage guidelines
This command displays information about peers that are establishing or have established PCEP sessions to the local device.
Examples
# Display brief information about all peers.
<Sysname> display mpls te pce peer
Total number of peers: 1
Peer address Peer type State Mastership Role
100.100.100.100 PCE UP Normal Active
Table 20 Command output
Field |
Description |
Peer type |
Peer type, PCC or PCE. |
State |
PCEP session state: · Idle—Initial state. · TCPPending—Waiting for the TCP connection to be set up. · OpenWait—Waiting for an Open message from the peer. · KeepWait—Waiting for a Keepalive message from the peer. · UP—The PCEP session is established. |
Mastership |
Peer role: · Normal—Normal PCC or PCE. · Primary—Primary PCE to which the CRLSP is delegated. · Backup—Backup PCE to which the CRLSP is delegated. |
Role |
Role of the local device in the PCEP session: · Active—Initiator of the PCEP session. · Passive—Responder of the PCEP session. |
# Display detailed information about all peers.
<Sysname> display mpls te pce peer verbose
Peer address: 100.100.100.20
TCP Connection : 100.100.100.20:5696 -> 100.100.100.10:4189
Peer type : PCC
Session type : Active stateful
Session state : UP
Mastership : Normal
Role : active
Session up time : 0000 days 01 hours 03 minutes
Session ID : Local 1, Peer 1
Keepalive interval : Local 0 sec, Peer 0 sec
Recommended DeadTimer : Local 0 sec, Peer 0 sec
Tolerance:
Min keepalive interval : 10 sec
Max unknown messages : 10
Request timeout : 50 sec
Delegation timeout : 30 sec
Capability for Initiate : Yes
Capability for Segment-Routing: Yes
Capability for Segment-Routing IPv6: Yes
Table 21 Command output
Field |
Description |
Peer type |
Peer type: PCC or PCE. |
Session type |
PCEP session type: · Stateless. · Passive stateful. · Active stateful. |
Session state |
PCEP session state: · Idle—Initial state. · TCPPending—Waiting for the TCP connection to be set up. · OpenWait—Waiting for an Open message from the peer. · KeepWait—Waiting for a Keepalive message from the peer. · UP—The PCEP session is established. |
Mastership |
Peer role: · Normal—Normal PCC or PCE. · Primary—Primary PCE to which the CRLSP is delegated. · Backup—Backup PCE to which the CRLSP is delegated. |
Role |
Role of the local device in the PCEP session: · Active—Initiator of the PCEP session. · Passive—Responder of the PCEP session. |
Min keepalive interval |
Minimum acceptable keepalive interval in seconds. |
Max unknown messages |
Maximum number of unknown messages allowed in one minute. |
Request timeout |
Request timeout time in seconds. |
Delegation timeout |
Delegation timeout time in seconds. |
Capability for Initiate |
Whether the device supports establishing the tunnel and LSP by using the PCE-Initiated-LSP packets. |
Capability for Segment-Routing |
Whether the PCEP session has the SR capability. |
Capability for Segment-Routing IPv6 |
Whether the PCEP session has the SRv6 capability. |
display mpls te pce stateful neighbor
Use display mpls te pce stateful neighbor to display information about stateful PCE peers on a PCC.
Syntax
display mpls te pce stateful neighbor [ ip-address ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ip-address: Specifies the IP address of a stateful PCE peer. If you do not specify this argument, the command displays information about all stateful PCE peers.
Examples
# Display information about the stateful PCE peer at 2.2.2.8.
<Sysname> display mpls te pce stateful neighbor 2.2.2.8
Neighbor address: 2.2.2.8
Session type : Active stateful
Delegation priority: 1000
Synchronization : Finished
Redelegation timer : Active
Table 22 Command output
Field |
Description |
Neighbor address |
IP address of the stateful PCE peer. |
Session type |
PCEP session type: · Passive stateful. · Active stateful. |
Delegation priority |
Delegation priority. A bigger value represents a higher priority. |
Synchronization |
Synchronization state with the peer: · Not started. · Synchronizing. · Finished. |
Redelegation timer |
Running state of the redelegation timer: · Started. · Not started. |
display mpls te pce statistics
Use display mpls te pce statistics to display PCC and PCE statistics.
Syntax
display mpls te pce statistics [ ip-address ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ip-address: Specifies a PCC or PCE by its IP address. If you do not specify this argument, the command displays statistics about all PCEs and PCCs.
Examples
# Display statistics about all PCCs and PCEs.
<Sysname> display mpls te pce statistics
PCE address: 2.2.2.9
Keepalive messages sent/received : 70/75
Open messages sent/received : 1/1
PCReq messages sent/received : 0/0
PCRep messages sent/received : 0/0
PCRpt messages sent/received : 0/0
PCUpd messages sent/received : 0/0
PCErr messages sent/received : 0/0
PCNtf messages sent/received : 0/0
Session setup failures : 0
Unknown messages received : 0
Unknown requests received : 0
Unknown responses received : 0
Requests sent : 0
Response is pending : 0
Response with ERO received : 0
Response with NO-PATH received : 0
Canceled by peer sending a PCNtf : 0
Canceled by peer sending a PCErr : 0
Canceled by local speaker sending a PCNtf: 0
Implicitly canceled (session down) : 0
Timeout : 0
Requests received : 0
Response is pending : 0
Response with ERO sent : 0
Response with NO-PATH sent : 0
Canceled by local speaker sending a PCNtf: 0
Canceled by local speaker sending a PCErr: 0
Canceled by peer sending a PCNtf : 0
Implicitly canceled (session down) : 0
Table 23 Command output
Field |
Description |
Unknown requests received |
Number of unknown requests (the request ID carried in the RP object is 0) received. |
Unknown responses received |
Number of unknown responses (the request ID in the response does not match the one in the request) received. |
Requests sent |
Total number of sent requests. |
Response is pending |
Number of requests that are waiting for responses. |
Response with ERO received |
Number of requests that have received responses with ERO. |
Response with NO-PATH received |
Number of requests that have received responses with NO-PATH. |
Cancelled by peer sending a PCNtf |
Number of requests canceled byPCNtf messages sent by the peer. |
Canceled by peer sending a PCErr |
Number of requests canceled byPCErr messages sent by the peer. |
Canceled by local speaker sending a PCNtf |
Number of requests canceled by PCNtf messages sent by the local device. |
Implicitly canceled(session down) |
Number of requests that became invalid because the PCEP session was down. |
Timeout |
Number of requests that became invalid because of request timeout. |
Requests received |
Total number of received requests. |
Response is pending |
Number of requests whose responses are not sent yet. |
Response with ERO sent |
Number of responses sent with ERO. |
Response with NO-PATH sent |
Number of responses sent with NO-PATH. |
Canceled by local speaker sending a PCNtf |
Number of PCNtf messages for request cancellation sent by the local device. |
Canceled by local speaker sending a PCErr |
Number of PCErr messages for request cancellation sent by the local device. |
Canceled by peer sending a PCNtf |
Number of PCNtf messages for request cancellation sent by the peer. |
Implicitly canceled(session down) |
Number of requests that became invalid because the PCEP session was down. |
display mpls te segment-routing tunnel path
Use display mpls te segment-routing tunnel path to display the path information of SR-signaled MPLS TE tunnels (SR-MPLS TE tunnels for short).
Syntax
display mpls te segment-routing tunnel path [ tunnel number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameter
tunnel number: Specifies a tunnel interface. The number argument represents the interface number of an existing tunnel interface on the device. If you do not specify a tunnel interface, this command displays path information for all SR-MPLS TE tunnels.
Examples
# Display path information for all SR-MPLS TE tunnels.
<Sysname> display mpls te segment-routing tunnel path
Tunnel name : Tunnel1
Main path info : 1.1.1.1/1/61103
Path state: Active
Forwarding information:
XGE3/0/1 20.0.0.2
XGE3/0/2 40.0.0.2
Hop information:
Hop 0 Prefix SID 16030 NAI 3.3.3.3
Hop 1 Adjacency SID 1151 NAI 21.0.0.1, 21.0.0.2
Hop 2 SID 1140 NAI -
Main Modify path info : 1.1.1.1/1/61105
Path state: Up
Forwarding information:
XGE3/0/1 10.0.0.2
XGE3/0/2 30.0.0.2 (Backup)
Hop information:
Hop 0 Prefix SID 16030 NAI 3.3.3.3
Hop 1 Adjacency SID 1151 NAI 21.0.0.1, 21.0.0.2
Backup path info : 1.1.1.1/1/61104
Path state: Up
Forwarding information:
NID : 268435458
Hop information:
Hop 0 Prefix SID 16030 NAI 3.3.3.3
Hop 1 Adjacency SID 18040 NAI 4.4.4.4, 21.0.0.2
Backup Modify path info : 1.1.1.1/1/61105
Forwarding information:
XGE3/0/1 10.0.0.2
XGE3/0/2 30.0.0.2 (Backup)
Hop information:
Hop 0 Prefix SID 16030 NAI 3.3.3.3
Hop 1 Adjacency SID 1151 NAI 21.0.0.1, 21.0.0.2
Table 24 Command output
Field |
Description |
Tunnel Name |
Name of the tunnel interface. |
Main Path Info |
Primary path information. The value is Ingress LSR ID/Tunnel ID/LSP ID. |
Main Modify Path Info |
Information about the primary path established by using the make-before-break mechanism. |
Backup Path Info |
Backup path information. |
Backup Modify Path Info |
Information about the backup path established by using the make-before-break mechanism. |
Path state |
Path state: · Active—The SRLSP is successfully established and being used for traffic forwarding. · Up—The SRLSP is successfully established. · Down—The SRLSP is not established or the establishment fails. |
Forwarding information |
Forwarding information, which includes the following: · Outgoing interface and next hop. (Backup) represents the outgoing interface and next hop of the backup path. · NID (NHLFE entry index). |
Hop information |
Information about the hops of the path. |
Hop |
Hop index. |
Binding SID |
Binding SID value. |
Prefix SID |
Prefix SID value. |
Adjacency SID |
Adjacency SID value. |
SID |
SID of an unknown type. |
NAI |
Node or Adjacency Identifier. For a binding SID, the NAI is displayed as a hyphen (-). For a prefix SID, the NAI is the node identifier, which is the IP address of the node. For an adjacency SID, the NAI is the adjacency identifier, which displays the local and remote IP addresses of the link. If the NAI is not available or is unknown, this field displays a hyphen (-). |
display mpls te srlg
Use display mpls te srlg to display information about SRLGs.
Syntax
display mpls te srlg [ srlg-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
srlg-number: Specifies an SRLG by its number, in the range of 0 to 4294967295. If you do not specify an SRLG, this command displays information about all SRLGs.
Examples
# Display information about all SRLGs.
<Sysname> display mpls te srlg
Total SRLGs configured: 2
SRLG 1: XGE3/0/1, XGE3/0/2
SRLG 2: XGE3/0/3
Table 25 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 26 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 27 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 28 Command output
Field |
Description |
MPLS LSR-ID |
MPLS LSR ID of a router, in dotted decimal notation. |
IGP |
Internal gateway protocol: OSPF or IS-IS. |
Process-ID |
IGP process ID. |
Area |
OSPF area of the router. |
Links-Count |
Number of links in the OSPF area or IS-IS level. |
DR MPLS LSR-ID |
MPLS LSR ID of a DR. |
DR-address |
Interface address of the DR. |
Neighbors |
Router IDs of the routers that have formed full adjacencies with the DR, and router ID of the DR itself. |
# Display TEDB information for the local node in prestandard mode.
<Sysname> display mpls te tedb node local
MPLS LSR-ID: 1.1.1.1
IGP Type: OSPF Process ID: 100 Area: 1
Link[1]:
Local IP Address: 2.0.1.33
Neighbor IP Address: 2.0.1.2
Neighbor MPLS LSR-ID: 1.1.1.2
Link Type: P2P Link Status: Inactive
IGP Metric: 100 TE Metric: 100 Link Attribute: 0xff
SRLGs: 1 2 3 4 5
Maximum Link Bandwidth: 100 kbps
Maximum Reservable Bandwidth: 20 kbps
Bandwidth Constraint Model: Prestandard DS-TE RDM
Bandwidth Constraints:
BC[0]: 100 kbps
BC[1]: 20 kbps
Unreserved Bandwidth for each TE class:
TE class 0: 10 kbps
TE class 1: 10 kbps
TE class 2: 10 kbps
TE class 3: 10 kbps
TE class 4: 10 kbps
TE class 5: 10 kbps
TE class 6: 10 kbps
TE class 7: 10 kbps
TE class 8: 10 kbps
TE class 9: 10 kbps
TE class 10: 10 kbps
TE class 11: 10 kbps
TE class 12: 10 kbps
TE class 13: 10 kbps
TE class 14: 10 kbps
TE class 15: 10 kbps
MPLS LSR-ID: 1.1.1.1
IGP Type: ISIS Process ID: 100 Level: Level-1
Link[1]:
Local IP Address: 2.0.1.33
Neighbor IP Address: 2.0.1.2
Neighbor MPLS LSR-ID: 1.1.1.2
Link Type: P2P Link Status: Active
IGP Metric: 10 TE Metric: 10 Link Attribute: 0x11
SRLGs: 1 2 3 4 5
Maximum Bandwidth: 100 (kbps)
Maximum Reservable Bandwidth: 100 (kbps)
Bandwidth Constraint Model: Prestandard DS-TE RDM
Bandwidth Constraints:
BC[0]: 100 kbps
BC[1]: 20 kbps
Unreserved Bandwidth for each TE Class:
TE class 0: 10 kbps
TE class 1: 10 kbps
TE class 2: 10 kbps
TE class 3: 10 kbps
TE class 4: 10 kbps
TE class 5: 10 kbps
TE class 6: 10 kbps
TE class 7: 10 kbps
TE class 8: 10 kbps
TE class 9: 10 kbps
TE class 10: 10 kbps
TE class 11: 10 kbps
TE class 12: 10 kbps
TE class 13: 10 kbps
TE class 14: 10 kbps
TE class 15: 10 kbps
Table 29 Command output
Field |
Description |
MPLS LSR-ID |
MPLS LSR ID of a router, in dotted decimal notation. |
IGP Type |
Internal gateway protocol: OSPF or IS-IS. |
Process ID |
IGP process ID. |
Area |
OSPF area of the router. |
Level |
IS-IS level of the router: Level-1 or Level-2. |
Link[n] |
Information about a link. n is the number of the link. |
Local IP Address |
Local interface address. |
Neighbor IP Address |
Remote interface address for a P2P or P2MP link. For an NBMA or a broadcast link, this field displays a hyphen (-). |
Neighbor MPLS LSR-ID |
MPLS LSR ID of the routing neighbor (DR). |
Link Type |
Link type: · P2P. · P2MP. · NBMA. · Broadcast. |
Link Status |
Link status: Active or Inactive. |
SRLGs |
List of SRLG numbers to which the link belongs. |
Bandwidth Constraint Model |
Bandwidth constraint model: Prestandard DS-TE RDM. |
# Display TEDB information for the link connected to the interface with interface address 20.1.1.1 in IETF DS-TE RDM model.
<Sysname> display mpls te tedb link 20.1.1.1
MPLS LSR-ID: 2.2.2.2
IGP Type: ISIS Process ID: 100 Level: Level-1
Local IP Address: 20.1.1.1
Neighbor MPLS LSR-ID: 20.1.1.2
Link Type: Broadcast Link Status: Active
IGP Metric: 10 TE Metric: 0 Link Attribute: 0x0
Maximum Bandwidth: 0 kbps
Maximum Reservable Bandwidth: 0 kbps
Bandwidth Constraint Model: IETF DS-TE RDM
Bandwidth Constraints:
BC[0] : 0 kbps
BC[1] : 0 kbps
BC[2] : 0 kbps
BC[3] : 0 kbps
Unreserved Bandwidth for each TE class:
TE class 0: 0 kbps
TE class 1: 0 kbps
TE class 2: 0 kbps
TE class 3: 0 kbps
TE class 4: 0 kbps
TE class 5: 0 kbps
TE class 6: 0 kbps
TE class 7: 0 kbps
Table 30 Command output
Field |
Description |
|
MPLS LSR-ID |
MPLS LSR ID of a router, in dotted decimal notation. |
|
IGP Type |
Internal gateway protocol: OSPF or IS-IS. |
|
Process ID |
IGP process ID. |
|
Area |
OSPF area of the router. |
|
Level |
IS-IS level of the router: Level-1 or Level-2. |
|
Local IP Address |
Local interface address. |
|
Neighbor IP Address |
Remote interface address for a P2P or P2MP link. For an NBMA or a broadcast link, this field is not displayed. |
|
Neighbor MPLS LSR-ID |
MPLS LSR ID of the routing neighbor (DR). |
|
Link Type |
Link type: · P2P. · P2MP. · NBMA. · Broadcast. |
|
Link Status |
Link status: Active or Inactive. |
|
Bandwidth Constraint Mode |
Bandwidth constraint model: · Prestandard DS-TE RDM. · IETF DS-TE RDM. · IETF DS-TE MAM. The IETF DS-TE RDM and MAM models are not supported in the current software version. |
|
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 Signalled Name : tunnel1
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 CRLSP Name : -
Static SRLSP Name : -
Bk Static SRLSP Name : -
Resv Style : SE
Tunnel mode : -
Reverse-LSP name : -
Reverse-LSP LSR ID : - Reverse-LSP Tunnel ID: -
Reverse-LSP BSID : -
Class Type : CT1 Tunnel Bandwidth : 100 kbps
Class Type : CT2 Tunnel Bandwidth : 100 kbps
Reserved Bandwidth : 0 kbps
Setup Priority : 7 Holding Priority : 7
Affinity Attr/Mask : 0/0
Explicit Path : ero1
Backup Explicit Path : ero2
Metric Type : TE
Record Route : Enabled Record Label : Enabled
FRR Flag : Disabled Bandwidth Protection : Disabled
Backup Bandwidth Flag: Disabled Backup Bandwidth Type: -
Backup Bandwidth : -
Bypass Tunnel : No Auto Created : No
Route Pinning : Disabled
Retry Limit : 3 Retry Interval : 2 sec
Reoptimization : Disabled Reoptimization Freq : -
Backup Type : Hot Standby Backup LSP ID : 49771
Backup Restore Time : 10 sec
Auto Bandwidth : Disabled Auto Bandwidth Freq : -
Min Bandwidth : - Max Bandwidth : -
Collected Bandwidth : - Service Class : -
Traffic Policy : Disable Reserved for binding : No
Path SetupType : -/-
Binding SID : - Binding SID State : -
Attribute Perfer : PCE/Local
PCEP Attributes :
Binding SID : - Binding SID State : -
Setup Priority : 7 Holding Priority : 7
Binding SID : 1000
Affinity Attribute :
Exclude Any : - Include Any : -
Include All : -
Path :
Hop 1 : 16030
Hop 2 : 10.1.1.2
Backup Path : -
Last Down Reason : Admin Down
Down Time : 2017-12-05 11:23:35:535
Table 31 Command output
Field |
Description |
Tunnel Name |
Name of the tunnel interface. |
Tunnel Signalled Name |
Name of the MPLS TE tunnel, in the format of tunneltunnel-id. |
Tunnel State |
Running state of the tunnel: Down or Up. Description information includes: · Main CRLSP being computed. · Main CRLSP down. · Main CRLSP up. · Main CRLSP being set up. · Main Shared-resource CRLSP being computed. · Main Shared-resource CRLSP down. · Main Shared-resource CRLSP up. · Main Shared-resource CRLSP being set up. · Main Shared-resource CRLSP being activated. · Main Shared-resource CRLSP switching to Main CRLSP. · Backup CRLSP being computed. · Backup CRLSP down. · Backup CRLSP up. · Backup CRLSP being set up. · Backup Shared-resource CRLSP being computed. · Backup Shared-resource CRLSP down. · Backup Shared-resource CRLSP up. · Backup Shared-resource CRLSP being set up. · Backup Shared-resource CRLSP being activated. · Backup Shared-resource CRLSP switching to Backup CRLSP. · Reverse CRLSP down. · Reverse CRLSP up. · Reverse 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, Segment-Routing, or Static. |
Static CRLSP Name |
Static CRLSP used by the tunnel. |
Static SRLSP Name |
Primary static SRLSP used by the tunnel. If no primary static SRLSP is specified for the tunnel, the primary static SRLSP name is displayed as a hyphen (-). |
Bk Static SRLSP Name |
Backup static SRLSP used by the tunnel. If no backup static SRLSP is specified for the tunnel, the backup static SRLSP name is displayed as a hyphen (-). |
Resv Style |
Resource reservation style for the CRLSPs. This field displays FF or SE for an MPLS TE tunnel that uses dynamic CRLSPs, and displays a hyphen (-) for an MPLS TE tunnel that uses static CRLSPs. |
Tunnel Mode |
Tunnel mode of the 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. If the tunnel is a unidirectional tunnel, this field displays a hyphen (-). |
Reverse-LSP Name |
Name of the associated reverse LSP. |
Reverse-LSP LSR ID |
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 |
Tunnel ID of the reverse LSP. This field has a value for an associated reverse LSP and the passive end of the co-routed bidirectional tunnel. For other LSPs, this field displays a hyphen (-). |
Reverse-LSP BSID |
BSID of the reverse LSP. This field has a value for an associated reverse LSP. For other LSPs, this field displays a hyphen (-). |
Class Type |
CT of the tunnel: CT0, CT1, CT2, CT3, CT4, CT5, CT6, or CT7. |
Tunnel Bandwidth |
Bandwidth required by the tunnel, in kbps. |
Reserved Bandwidth |
Bandwidth reserved for the tunnel, in kbps. |
Setup Priority |
Tunnel setup priority. |
Holding Priority |
Tunnel holding priority. |
Affinity Attr/Mask |
Tunnel affinity attribute and mask. |
Explicit Path Name |
Name of the explicit path used by the tunnel. If the path used by the tunnel is not an explicit path, this field displays a hyphen (-). |
Backup Explicit Path |
Name of the explicit path used by the backup tunnel. If the path used by the backup tunnel is not an explicit path, this field displays a hyphen (-). |
Metric Type |
Link metric type used for tunnel path selection, TE or IGP. |
Bandwidth Protection |
Whether FRR needs bandwidth protection: Enabled or Disabled. |
Backup Bandwidth Flag |
Whether the bandwidth and the type of CRLSPs that the bypass tunnel can protect have been configured (by using the mpls te backup bandwidth command): · 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, CT0, CT1, CT2, or CT3. |
Backup Bandwidth |
Bandwidth that the bypass tunnel can protect, in kbps. |
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—Hot-standby backup mode. · Ordinary—Ordinary backup mode. |
Backup LSP ID |
LSP ID of the backup tunnel. |
Backup Restore Time |
Recovery delay time, in seconds. This field is valid only when the value of the Backup Type field is Hot Standby. |
Auto Bandwidth |
This field is not supported in the current software version. State of the automatic bandwidth adjustment feature. |
Auto Bandwidth Freq |
This field is not supported in the current software version. Automatic bandwidth adjustment interval, in seconds. |
Min Bandwidth |
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 (-). |
Reserved for binding |
Whether the tunnel is reserved for tunnel policy destination binding: · Yes—This tunnel can only be used by a tunnel policy that has a binding destination. · No—This tunnel can be used by any types of tunnel policies. |
Path SetupType |
Setup type of the primary and backup tunnels: · CSPF—Uses the CSPF computed SRLSP to establish the tunnel. · PCE—Use the PCE computed SRLSP to establish the tunnel. · EXPLICITPATH—Uses the explicit-path SRLSP to establish the tunnel. This field has a value if the tunnel is established by using Segment Routing. In other cases, this field displays a hyphen (-). |
Binding SID |
BSID of the tunnel that uses an SRLSP. If the tunnel does not have a BSID, this field displays a hyphen (-). |
Binding SID State |
BSID state of the tunnel: · Available—The label has been allocated to the tunnel successfully and is available. · Idle—The label is not allocated to the tunnel. · Dup—The label has been occupied by others. If the label is not configured or the configured label is not in an available label range, this field displays a hyphen (-). |
Attribute Prefer |
Attribute source preferred for MPLS TE tunnel establishment: · PCE—Attributes received from the PCE. · Local—Locally configured attributes. The source displayed before the slash is the first preferred source and that after the slash is the second preferred source. |
PCEP Attributes |
Attributes carried in PCE messages. |
Affinity Attribute |
Affinity attribute of the tunnel. |
Exclude Any |
Excludes the links with any of the specified attributes. |
Include Any |
Includes the links with any of the specified attributes. |
Include All |
Includes the links with all of the specified attributes. |
Path |
Information about the primary path established by using PCE. |
Hop |
Next hop information. |
Backup Path |
Information about the backup path established by using PCE. If no backup path exists, this field displays a hyphen (-). |
Last Down Reason |
Reason for the last down event: · Admin Down—The tunnel interface was shut down administratively by using the shutdown command. · Configuration Change—The configuration changed. · Signal Error—An RSVP signaling error occurred. |
Down Time |
Last time when the tunnel went down. |
display ospf mpls te advertisement
Use display ospf mpls te advertisement to display link and node information in an OSPF TEDB.
Syntax
display ospf [ process-id ] [ area area-id ] mpls te advertisement [ originate-router advertising-router-id | self-originate ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.
area area-id: Specifies an area by its ID, an IP address or a decimal integer. The integer is in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.
originate-router advertising-router-id: Displays information originated from a router specified by its router ID.
self-originate: Displays information generated by the local router.
Examples
# Display link and node information for all processes in all areas.
<Sysname> display ospf mpls te advertisement
OSPF Process 1 with Router ID 2.2.2.2
Traffic Engineering Database
Area: 0.0.0.1
Adv Router ID : 1.1.1.1
MPLS LSR ID : 1.1.1.1
Flags : A/S/R
Router Address Count : 1
Router Address Index : 0
Instance ID : 0.0.0.0
MPLS LSR ID : 1.1.1.1
Link Count : 1
Link Index : 0
Link Type : Broadcast
Instance ID : 0.0.0.1
Link Flags : -/U/-
Link ID : 197.168.1.1
TE Metric : 1000
IGP Metric : 1000
Maximum Bandwidth : 12500000 bytes/sec
Maximum Reservable BW : 0 bytes/sec
Administrative Group : 0x0
Unreserved Bandwidth for each TE Class:
TE class 0 = 0 bytes/sec
TE class 1 = 0 bytes/sec
TE class 2 = 0 bytes/sec
TE class 3 = 0 bytes/sec
TE class 4 = 0 bytes/sec
TE class 5 = 0 bytes/sec
TE class 6 = 0 bytes/sec
TE class 7 = 0 bytes/sec
TE class 8 = 0 bytes/sec
TE class 9 = 0 bytes/sec
TE class 10 = 0 bytes/sec
TE class 11 = 0 bytes/sec
TE class 12 = 0 bytes/sec
TE class 13 = 0 bytes/sec
TE class 14 = 0 bytes/sec
TE class 15 = 0 bytes/sec
Bandwidth Constraint Model: Prestandard DS-TE RDM
Bandwidth Constraints:
BC [ 0] = 0 bytes/sec
BC [ 1] = 0 bytes/sec
SRLGs:
10 20 30
Local Interface Address : 197.168.1.1
Remote Interface Address : 197.168.1.11
Table 32 Command output
Field |
Description |
Adv Router ID |
ID of the router that advertised TE information. |
MPLS LSR ID |
MPLS LSR ID of the router that advertised TE information. |
Flags |
TE information flags: · A—Already synchronized information with CSPF. · S—Ready to synchronize information with CSPF. · R—The router that advertised information is reachable. |
Router Address Count |
Number of Router TLV messages in TEDB. |
Router Address Index |
Index of the current Router TLV message. |
Instance ID |
LSA instance ID. |
Link Count |
Number of Link TLV messages in TEDB. |
Link Index |
Index of the current Link TLV message. |
Link Type |
Link types: · Point to Point. · Point to Multi Point. · Broadcast. · NBMA. |
Link Flags |
Link information flags: · A—Already synchronized information with CSPF. · U—Ready to update information with CSPF again after the previous update failed. · D—Ready to delete information from CSPF again after the previous deletion failed. |
Link ID |
Link state ID. |
IGP Metric |
OSPF protocol metric. |
Administrative Group |
Link attributes. |
Bandwidth Constraint Model |
Bandwidth constraint model: Prestandard DS-TE RDM. |
Bandwidth Constraints |
This field takes effect only on DS-TEs. |
BC |
Bandwidth constraint value. The Prestandard mode supports two BCs, and the IETF mode supports four BCs. |
SRLGs |
SRLG membership (list of SRLG numbers) of the interface. |
display ospf mpls te network
Use display ospf mpls te network to display network information in an OSPF TEDB.
Syntax
display ospf [ process-id ] [ area area-id ] mpls te network [ originate-router advertising-router-id | self-originate ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.
area area-id: Specifies an area by its ID, an IP address or a decimal integer, in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.
originate-router advertising-router-id: Displays information originated from a router specified by its router ID.
self-originate: Displays information generated by the local router.
Examples
# Display network information for all processes in all areas.
<Sysname> display ospf mpls te network
OSPF Process 1 with Router ID 12.1.1.1
Traffic Engineering Network
Area: 0.0.0.0
Adv Router ID : 1.1.1.1
Designated Router : 197.168.1.1
Flags : -/U/-
Attached router 2.2.2.2
Attached router 1.1.1.1
Table 33 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 34 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 35 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 te link-management bandwidth-allocation
Use display te link-management bandwidth-allocation to display bandwidth information on MPLS TE-enabled interfaces.
Syntax
display 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: Specifies an interface by its type and number. If you do not specify an interface, this command displays bandwidth information about all TE-enabled interfaces.
Examples
# Display bandwidth information on all TE-enabled interfaces.
<Sysname> display te link-management bandwidth-allocation
Interface: Ten-GigabitEthernet3/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
# Display bandwidth information on all TE-enabled interfaces.
<Sysname> display te link-management bandwidth-allocation
Interface: Vlan-interface10
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 36 Command output
Field |
Description |
Interface |
Interface enabled with TE. |
Max Link Bandwidth |
Maximum link bandwidth for TE traffic. |
Allocated Bandwidth-Item Count |
Number of CRLSPs that have successfully obtained bandwidth. |
Physical Link Status |
Physical link status of the interface, Up or Down. |
BC |
Bandwidth constraint. |
TE Class |
Number of a TE class, which defines a CT and a priority. |
BW Reserved |
Bandwidth reserved for the TE class, in kbps. |
BW Available |
Bandwidth available for the TE class, in kbps. |
Related commands
te attribute enable
te max-link-bandwidth
te max-reservable-bandwidth
display te link-management srlg
Use display te link-management srlg to display the SRLGs of TE interfaces.
Syntax
display 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 the SRLGs for all TE interfaces.
Examples
# Display the SRLGs for all TE interfaces.
<Sysname> display te link-management srlg
Interface Ten-GigabitEthernet3/0/1:
SRLGs: 1, 2
Interface Ten-GigabitEthernet3/0/2:
SRLGs: 2, 3
Table 37 Command output
Field |
Description |
Interface |
Interface configured with SRLGs. |
SRLGs |
List of the SRLG numbers of the interface. |
Related commands
te attribute enable
te srlg
exclude-srlg
Use exclude-srlg to exclude the links that are in the same SRLG as the specified IP address from an explicit path.
Use undo exclude-srlg to cancel the SRLG-exclusion configuration for an explicit path.
Syntax
exclude-srlg [ index index-number ] ip-address
undo exclude-srlg [ index index-number ]
Default
Explicit path computation does not consider SRLG information.
Views
Explicit path view
Predefined user roles
network-admin
Parameters
index index-number: Specifies a node in the explicit path by the node index, in the range of 1 to 65535. If you do not specify a node index, this command calculates the node index automatically, which is the current maximum index plus 100.
ip-address: Specifies the IP address of an interface, in dotted decimal notation.
Usage guidelines
In the same explicit path, the node indexes configured by the exclude-srlg, nexthop, and nextsid commands cannot be the same.
Examples
# Exclude all links that are in the same SRLG as the interface with IP address 10.0.0.1.
<Sysname> system-view
[Sysname] explicit-path 1
[Sysname-explicit-path 1] exclude-srlg index 1 10.0.0.1
explicit-path
Use explicit-path to create an explicit path and enter its view, or enter the view of an existing explicit path.
Use undo explicit-path to remove an explicit path.
Syntax
explicit-path path-name
undo explicit-path path-name
Default
No explicit paths exist.
Views
System view
Predefined user roles
network-admin
Parameters
path-name: Specifies a name for the explicit path, a case-sensitive string of 1 to 31 characters.
Usage guidelines
In explicit path view, you can use the nexthop command to explicitly specify a node or link that a tunnel must or must not traverse.
Examples
# Create explicit path path1 and enter its view.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1]
Related commands
display explicit-path
mpls te backup-path
mpls te path
nexthop
fast-reroute timer
Use fast-reroute timer to set the interval for selecting an optimal bypass tunnel.
Use undo fast-reroute timer to restore the default.
Syntax
fast-reroute timer interval
undo fast-reroute timer
Default
The optimal bypass tunnel selection interval is 300 seconds.
Views
MPLS TE view
Predefined user roles
network-admin
Parameters
interval: Specifies the interval for selecting an optimal bypass tunnel, in the range of 0 to 604800 seconds. If you set the interval to 0 seconds, RSVP does not periodically select an optimal bypass tunnel.
Usage guidelines
If you have specified multiple bypass tunnels for a primary CRLSP, MPLS TE selects an optimal bypass tunnel to protect the primary CRLSP. Sometimes, a bypass tunnel might become better than the current optimal bypass tunnel because, for example, the reservable bandwidth changes. MPLS TE must poll the bypass tunnels periodically to update the optimal bypass tunnel.
After traffic is switched from the primary CRLSP to a bypass tunnel, MPLS TE no longer periodically selects optimal bypass tunnels for the primary CRLSP.
If the optimal bypass tunnel selection interval is set to less than 60 seconds, the interval of 60 seconds applies. As a best practice, use the default selection interval.
Examples
# Set the optimal bypass tunnel selection interval to 120 seconds.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] fast-reroute timer 120
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
log enable
Use log enable to enable MPLS TE logging.
Use undo log enable to disable MPLS TE logging.
Syntax
log enable { error | event | process }
undo log enable { error | event | process }
Default
MPLS TE event logging and MPLS TE error logging are enabled. MPLS TE process logging is disabled.
Views
MPLS TE view
Predefined user roles
network-admin
Parameters
error: Enables logging for errors of the MPLS TE module.
event: Enables logging for events of exchanges between the MPLS TE module and other modules.
process: Enables logging for internal processes of the MPLS TE module.
Usage guidelines
After MPLS TE logging is enabled, the device generates corresponding MPLS TE logs and saves them into the local file /var/log/te.log. To view the logs in the file, use the view command in probe view.
Examples
# Enable MPLS TE error logging.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] log enable error
mpls te
Use mpls te to enable MPLS TE for the device and enter MPLS TE view.
Use undo mpls te to disable MPLS TE on the device.
Syntax
mpls te
undo mpls te
Default
MPLS TE is disabled on the device.
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 device 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 configure an affinity for the primary CRLSP of a tunnel.
Use undo mpls te affinity-attribute to restore the default.
Syntax
mpls te affinity-attribute { attribute-value [ mask mask-value ] | { exclude | include-all | include-any } attribute-value }
undo mpls te affinity-attribute [ exclude | include-all | include-any ]
Default
No affinity constraints are configured for a primary CRLSP. A primary CRLSP 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.
exclude: The CRLSP can use a link only if the link attribute bits corresponding to the affinity's 1 bits are 0.
include-all: The CRLSP can use a link only if the link attribute bits corresponding to the affinity's 1 bits are 1.
include-any: The CRLSP can use a link if one or more of the link attribute bits corresponding to the affinity's 1 bits are 1.
Usage guidelines
The affinity for a primary CRLSP determines which links the primary CRLSP can use.
The affinity and mask for a primary CRLSP require a link to meet 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.
You can execute this command multiple times to configure exclude, include-all, and include-any affinities for the primary CRLSP of a tunnel. If you execute this command multiple times to configure the same affinity with different masks, the most recent configuration takes effect.
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-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 Ten-GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] mpls te auto-tunnel backup disable
Related commands
auto-tunnel backup
mpls te backup
Use mpls te backup to enable tunnel backup and specify the backup mode for a tunnel.
Use undo mpls te backup to disable tunnel backup.
Syntax
mpls te backup { hot-standby [ wtr delay-time ] | ordinary }
undo mpls te backup
Default
Tunnel backup is disabled.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
hot-standby: Enables hot-standby backup for the tunnel. In this mode, a backup CRLSP is established immediately after the primary CRLSP is established. When the primary CRLSP fails, MPLS TE immediately switches traffic to the backup CRLSP.
wtr delay-time: Sets the recovery delay time for hot-standby backup, in seconds. The value range for the delay-time argument is 0 to 2592000. The default value is 10. To avoid packet loss during tunnel switchover, do not set a recovery delay time that is smaller than the default value.
ordinary: Enables ordinary backup for the tunnel. In this mode, a backup CRLSP is established after the primary CRLSP fails.
Usage guidelines
After you execute this command for a tunnel, the record route flag is automatically set for the tunnel, regardless of whether the mpls te record-route command is executed.
In the same tunnel interface view, the mpls te backup command is mutually exclusive with the mpls te reoptimization command.
If both the mpls te backup and mpls te bidirectional commands are executed, only the mpls te bidirectional command takes effect.
Examples
# Enable hot-standby backup for Tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te backup hot-standby
Related commands
mpls te backup-path
mpls te backup affinity-attribute
Use mpls te backup affinity-attribute to set an affinity for the backup CRLSP of a tunnel.
Use undo mpls te backup affinity-attribute to restore the default.
Syntax
mpls te backup affinity-attribute { exclude | include-all | include-any } attribute-value
undo mpls te backup affinity-attribute [ exclude | include-all | include-any ]
Default
No affinity constraints are configured for a backup CRLSP. A backup CRLSP can use any link.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
exclude: The CRLSP can use a link only if the link attribute bits corresponding to the affinity's 1 bits are 0.
include-all: The CRLSP can use a link only if the link attribute bits corresponding to the affinity's 1 bits are 1.
include-any: The CRLSP can use a link if one or more of the link attribute bits corresponding to the affinity's 1 bits are 1.
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.
Usage guidelines
The affinity attributes for a backup CRLSP and the link attributes together determine which links the backup CRLSP can use.
You can execute this command multiple times to configure exclude, include-all, and include-any affinities for the backup CRLSP of a tunnel. If you execute this command multiple times to configure different affinity values of the same type (exclude, include-all, or include-any), the most recent configuration takes effect.
Examples
# Configure the affinity for the backup CRLSP of tunnel 0 as exclude 101.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te backup affinity-attribute exclude 101
Related commands
mpls te link-attribute
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
A bypass tunnel is not specified with the protection bandwidth.
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 100000000.
un-limited: Puts no limit on total protected bandwidth. This keyword means 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 tunnel 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 CT type changes.
· 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 provide protection for CRLSPs without constraining the protected bandwidth.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te backup bandwidth un-limited
[Sysname-Tunnel0] quit
Related commands
display mpls te tunnel-interface
mpls te fast-reroute
mpls te backup hop-limit
Use mpls te backup hop-limit to configure the maximum number of hops on the backup CRLSP of a tunnel.
Use undo mpls te backup hop-limit to restore the default.
Syntax
mpls te backup hop-limit hop-limit-value
undo mpls te backup hop-limit
Default
There is no limit on the number of hops on a backup CRLSP.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
hop-limit-value: Sets the maximum number of hops, in the range of 1 to 32.
Examples
# Set the maximum number of hops to 12 for the backup CRLSP of Tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te backup hop-limit 12
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> | no-cspf ] | explicit-path path-name [ no-cspf ] }
undo mpls te backup-path preference value
Default
MPLS TE uses the dynamically calculated path to establish the backup CRLSP.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
preference value: Specifies a preference value for a path, in the range of 1 to 10. A smaller value represents a higher preference.
dynamic: Uses the path dynamically calculated by CSPF to establish the backup CRLSP.
pce: Uses the path calculated by PCEs to establish the CRLSP. If you do not specify this keyword, the local LSR uses the path dynamically calculated by CSPF.
[ ip-address ]&<0-8>: Specifies a space-separated list of a maximum of eight PCE addresses. If you do not specify a PCE address, the system automatically selects a PCE from the discovered PCEs. If you specify more than one PCE address, a BRPC calculation will be performed on the specified PCEs in configuration order.
explicit-path path-name: Uses the specified explicit path to establish the backup CRLSP. The path-name argument specifies the name of an explicit path, a case-sensitive string of 1 to 31 characters.
no-cspf: Calculates the path by searching the routing table instead of using the CSPF algorithm.
Usage guidelines
You can specify a maximum of 10 backup paths for a tunnel interface. The backup paths must have different preferences.
When establishing a backup CRLSP, MPLS TE performs CSPF calculations using the specified paths in the descending order of preference until the backup CRLSP is established successfully. If the CSPF calculations for all paths are failed, the backup CRLSP cannot be established.
This command takes effect only when backup has been enabled for the tunnel by using the mpls te backup command.
If you specify PCE addresses in this command or in the mpls te path command, the local device establishes PCEP sessions to the specified PCEs. If you do not specify a PCE address, the local device establishes PCEP sessions to all discovered PCEs.
Examples
# Configure Tunnel 0 to use explicit path path1 and the path calculated by PCEs to establish a backup CRLSP. Set a higher preference for the path calculated by PCEs.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te backup-path preference 2 explicit-path path1
[Sysname-Tunnel0] mpls te backup-path preference 1 dynamic pce 1.1.1.9 2.2.2.9
Related commands
display mpls te tunnel-interface
mpls te backup
mpls te path
mpls te bandwidth
Use mpls te bandwidth to assign bandwidth to the MPLS TE tunnel and specify a class type (CT) for the tunnel.
Use undo mpls te bandwidth to restore the default.
Syntax
mpls te bandwidth { bandwidth | { ct0 ct0-bandwidth }
undo mpls te bandwidth
Default
No bandwidth (0 bps) is assigned to an MPLS TE tunnel and the tunnel is available for CT 0.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
bandwidth: Specifies the bandwidth required by the MPLS TE tunnel, in kbps. The value range for this argument is 1 to 100000000.
ct0 ct0-bandwidth: Specifies CT 0 for the tunnel. The ct0-bandwidth argument specifies the bandwidth for the tunnel traffic of CT 0. The value range for this argument is 1 to 100000000 kbps.
Usage guidelines
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.
For the configured bandwidth constraints to take effect on an MPLS TE tunnel, you must also enable outbound traffic policing for the tunnel. To enable the outbound traffic policing feature, execute the mpls te lsp-tp outbound command.
Examples
# Assign 1000 kbps bandwidth to MPLS TE Tunnel 0 and specify the CT of the tunnel as CT 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te bandwidth ct0 1000
Related commands
display mpls te tunnel-interface
mpls te max-link-bandwidth
mpls te max-reservable-bandwidth
mpls te 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 Ten-GigabitEthernet 3/0/1, configure the IGP to flood TE information when the link available bandwidth decreases by 100%.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] mpls te bandwidth change thresholds down 100
Related commands
link-management periodic-flooding timer
mpls te bidirectional
Use mpls te bidirectional to enable the bidirectional tunnel feature on an MPLS TE tunnel interface.
Use undo mpls te bidirectional to disable the bidirectional tunnel feature on an MPLS TE tunnel interface.
Syntax
mpls te bidirectional { associated reverse-lsp { binding-sid label label-value | | lsp-name lsp-name | lsr-id ingress-lsr-id tunnel-id tunnel-id } | co-routed { active | passive reverse-lsp lsr-id ingress-lsr-id tunnel-id tunnel-id } }
undo mpls te bidirectional
Default
The bidirectional tunnel feature is disabled on an MPLS TE tunnel interface. A tunnel established on an MPLS TE tunnel interface is a unidirectional MPLS TE tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
associated reverse-lsp binding-sid label label-value: Configures an associated bidirectional MPLS TE tunnel, and specifies the associated reverse SRLSP. The label-value argument specifies the BSID of the tunnel that uses the reverse SRLSP, in the range of 16 to 1048575.
associated reverse-lsp lsp-name lsp-name: Configures an associated bidirectional MPLS TE tunnel, and specifies the associated reverse CRLSP. The lsp-name argument specifies the name of a static CRLSP (the reverse CRLSP), a case-sensitive string of 1 to 67 characters.
associated reverse-lsp lsr-id ingress-lsr-id tunnel-id tunnel-id: Configures an associated bidirectional MPLS TE tunnel, and specifies the associated reverse CRLSP. The ingress-lsr-id argument specifies the LSR ID of the ingress node on the reverse CRLSP and the tunnel-id argument specifies the tunnel ID of the reverse CRLSP. The value range for the tunnel-id argument is 0 to 65535.
co-routed: Configures a co-routed bidirectional MPLS TE tunnel.
active: Specifies the local end as the active end of the co-routed bidirectional MPLS TE tunnel.
passive reverse-lsp lsr-id ingress-lsr-id tunnel-id tunnel-id: Specifies the local end as the passive end of the co-routed bidirectional MPLS TE tunnel, and specifies the associated reverse CRLSP. The ingress-lsr-id argument specifies the LSR ID of the ingress node on the reverse CRLSP and the tunnel-id argument specifies the tunnel ID of the reverse CRLSP. The value range for the tunnel-id argument is 0 to 65535. You must specify a reverse CRLSP on the passive end, so that the CRLSP and the reverse CRLSP are associated to form a bidirectional MPLS TE tunnel.
Usage guidelines
A bidirectional MPLS TE tunnel can be established in co-routed mode or associated mode.
· Co-routed mode uses the extended RSVP-TE protocol to establish a bidirectional MPLS TE tunnel. To establish a co-routed bidirectional MPLS TE tunnel, you must perform the following tasks:
¡ Specify the signaling protocol as RSVP-TE.
¡ Configure one end of the tunnel as the active end and the other as the passive end.
· In associated mode, you establish a bidirectional MPLS TE tunnel by binding two unidirectional CRLSPs in opposite directions. The two CRLSPs can be established in different modes and use different paths. For example, one CRLSP is established statically and the other CRLSP is established dynamically by RSVP-TE.
To create a bidirectional MPLS TE tunnel, you must disable the PHP feature on both ends of the tunnel to assign non-null labels to the penultimate hop.
If the mpls te bidirectional command is configured together with one of the following commands, only the mpls te bidirectional command takes effect:
· mpls te backup
· mpls te reoptimization
Examples
· Configure an MPLS TE bidirectional tunnel between Device A and Device B in co-routed mode:
# Configure Device A as follows:
¡ Enable the MPLS TE bidirectional tunnel feature on tunnel interface Tunnel 0.
¡ Configure Device A as the active end of the co-routed bidirectional tunnel.
<DeviceA> system-view
[DeviceA] interface tunnel 0 mode mpls-te
[DeviceA-Tunnel0] destination 10.0.0.2
[DeviceA-Tunnel0] mpls te bidirectional co-routed active
# Configure Device B as follows:
¡ Enable the MPLS TE bidirectional tunnel feature on tunnel interface Tunnel 1.
¡ Configure Device B as the passive end of the co-routed bidirectional tunnel.
¡ Specify the ingress node's LSR ID of the reverse CRLSP as 10.0.0.1—the LSR ID of Device A.
¡ Specify the tunnel ID of the reverse CRLSP as 0—the tunnel ID configured on Device A.
<DeviceB> system-view
[DeviceB] interface tunnel 1 mode mpls-te
[DeviceB-Tunnel1] destination 10.0.0.1
[DeviceB-Tunnel1] mpls te bidirectional co-routed passive reverse-lsp lsr-id 10.0.0.1 tunnel-id 0
· Configure an MPLS TE bidirectional tunnel between Device A and Device B in associated mode:
# Configure Device A as follows:
¡ Enable the MPLS TE bidirectional tunnel feature on tunnel interface Tunnel 0.
¡ Configure the tunnel establishment mode as associated.
¡ Specify the ingress node's LSR ID of the reverse CRLSP as 10.0.0.2—the LSR ID of Device B.
¡ Specify the tunnel ID of the reverse CRLSP as 1—the tunnel ID configured on Device B.
<DeviceA> system-view
[DeviceA] interface tunnel 0 mode mpls-te
[DeviceA-Tunnel0] destination 10.0.0.2
[DeviceA-Tunnel0] mpls te bidirectional associated reverse-lsp lsr-id 10.0.0.2 tunnel-id 1
# Configure Device B as follows:
¡ Enable the MPLS TE bidirectional tunnel feature on tunnel interface Tunnel 1.
¡ Configure the tunnel establishment mode as associated.
¡ Specify the ingress node's LSR ID of the reverse CRLSP as 10.0.0.1—the LSR ID of Device A.
¡ Specify the tunnel ID of the reverse CRLSP as 0—the tunnel ID configured on Device A.
<DeviceB> system-view
[DeviceB] interface tunnel 1 mode mpls-te
[DeviceB-Tunnel1] destination 10.0.0.1
[DeviceB-Tunnel1] mpls te bidirectional associated reverse-lsp lsr-id 10.0.0.1 tunnel-id 0
Related commands
display mpls te tunnel-interface
mpls te binding-sid
Use mpls te binding-sid to specify a BSID for an MPLS TE tunnel.
Use undo mpls te binding-sid to delete the BSID of an MPLS TE tunnel.
Syntax
mpls te binding-sid label label-value
undo mpls te binding-sid
Default
No BSID is specified for an MPLS TE tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
label label-value: Specifies a BSID label. The value range for the label is 16 to 1010152.
Usage guidelines
A binding SID (BSID) identifies an MPLS TE tunnel. You can configure a path to use an MPLS TE tunnel by specifying the BSID of the MPLS TE tunnel for the path.
You can specify only one BSID on a tunnel interface. You must specify different BSIDs on different tunnel interfaces.
If a BSID label is already used, for example, by a static CRLSP, you can specify the BSID for an MPLS TE tunnel, but the configuration does not take effect. In this case, the BSID state of the tunnel is Dup. To view the BSID state of a tunnel, see the Binding SID State field in the output from the display mpls te tunnel-interface command.
Examples
# Specify BSID 1000 for MPLS TE tunnel 1.
<Sysname> system-view
[Sysname] interface Tunnel 1 mode mpls-te
[Sysname-Tunnel1] mpls te binding-sid label 1000
Related commands
display mpls te binding-sid
nextsid
mpls te bit-error-detection
Use mpls te bit-error-detection to enable bit error detection on an MPLS TE tunnel interface.
Use undo mpls te bit-error-detection to disable bit error detection on an MPLS TE tunnel interface.
Syntax
mpls te bit-error-detection [ mode { bidirectional | unidirectional } ]
undo mpls te bit-error-detection
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
mode: Specifies the bit error protection switching mode. The default mode is bidirectional switching.
bidirectional: Specifies the bidirectional switching mode. When the bit error rate reaches or exceeds the threshold, the egress node performs a reverse CRLSP switchover. Meanwhile, the egress node notifies the ingress node to perform a forward CRLSP switchover.
unidirectional: Specifies the unidirectional switching mode. When the bit error rate reaches or exceeds the threshold, only the egress end of the tunnel performs a reverse CRLSP switchover.
Usage guidelines
Bit errors are digital signal bits received over a communication channel that have been altered due to wire aging, phase jitter, noise, interference, or other bit synchronization errors. Accumulated bit errors might cause degradation of the digital signal.
To reduce the bit error impact on services, you can configure the bit error detection feature. This feature detects bit errors and triggers primary/backup CRLSP switchovers when the bit error rate matches the thresholds, which are set by using the mpls te bit-error-detection threshold command.
Examples
# Enable bit error detection on MPLS TE tunnel interface Tunnel 0, and use the unidirectional switching mode.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te bit-error-detection mode unidirectional
Related commands
display mpls te bit-error-detection tunnel-interface
mpls te bit-error-detection threshold
mpls te bit-error-detection threshold
Use mpls te bit-error-detection threshold to configure the bit error detection switch threshold and the revert threshold for an MPLS TE tunnel.
Use undo mpls te bit-error-detection threshold to restore the default.
Syntax
mpls te bit-error-detection threshold switch switch-coe switch-pow resume resume-coe resume-pow
undo mpls te bit-error-detection threshold
Default
The switch threshold and revert threshold are both 0. Traffic is switched to the backup CRLSP immediately when bit errors are detected on nodes of the primary CRLSP. Traffic is switched back to the primary CRLSP after the bit errors are cleared on the primary CRLSP.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
switch switch-coe switch-pow: Sets the bit error upper threshold (the switch threshold). The switch-coe argument represents coefficient value for the threshold, in the range of 1 to 7. The switch-pow argument represents the power value for the threshold, in the range of 1 to 9. The switch threshold calculation formula is switch threshold = xE-y, where x is the coefficient value, y is the power value, and E is a constant value of 10.
resume resume-coe resume-pow: Sets the bit error lower threshold (the revert threshold). The resume-coe argument represents coefficient value for the threshold, in the range of 1 to 7. The resume-pow argument represents the power value for the threshold, in the range of 1 to 9. The revert threshold calculation formula is revert threshold = xE-y, where x is the coefficient value, y is the power value, and E is a constant value of 10.
Usage guidelines
The tunnel egress node detects bit errors on the primary CRLSP and triggers primary/backup CRLSP switchovers when the bit error rate matches the thresholds. If the bit error rate of the primary CRLSP reaches or exceeds the switch threshold, traffic is switched to the backup CRLSP. Traffic is switched back to the primary CRLSP after the bit error rate drops below the revert threshold.
As a best practice, set the revert threshold one order of magnitude smaller than the switch threshold.
Examples
# Enable bit error detection on MPLS TE tunnel interface Tunnel 0. Set both the coefficient and power values for the switch threshold to 1. Set the coefficient value and power value for the revert threshold to 1 and 2, respectively.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-tunnel0] mpls te bit-error-detection
[Sysname-tunnel0] mpls te bit-error-detection threshold switch 1 1 resume 1 2
Related commands
display mpls te bit-error-detection tunnel-interface
mpls te bit-error-detection
mpls te delegation
Use mpls te delegation to enable CRLSP/SRLSP delegation on a PCC.
Use undo mpls te delegation to restore the default.
Syntax
mpls te delegation [ disable ]
undo mpls te delegation
Default
The tunnel delegation setting in MPLS TE view applies.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
disable: Disables CRLSP/SRLSP delegation and report-only features.
Usage guidelines
After delegation is enabled on a PCC, the PCC performs the following operations:
1. Delegates CRLSPs/SRLSPs to a PCE in the descending order of delegation priority.
2. Accepts CRLSP/SRLSP update requests from the delegated PCE.
3. Updates CRLSPs/SRLSPs according to the configurations specified by the delegated PCE.
In the same tunnel interface view, the mpls te delegation disable command and the mpls te passive-delegate report-only command are mutually exclusive from each other.
Examples
# Enable CRLSP/SRLSP delegation on a PCC.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te delegation
Related commands
pce peer delegation-priority
mpls te detour
Use mpls te detour to enable the one-to-one backup feature of MPLS TE FRR.
Use undo mpls te detour to disable the one-to-one backup feature of MPLS TE FRR.
Syntax
mpls te detour
undo mpls te detour
Default
The one-to-one backup feature of MPLS TE FRR is disabled.
Views
Tunnel interface view
Predefined user roles
network-admin
Usage guidelines
Operating mechanism
MPLS TE FRR supports two modes: facility backup and one-to-one backup.
Execute this command on the ingress node of the primary CRLSP to enable the one-to-one backup feature. The ingress node will then automatically notify all nodes along the primary CRLSP (except the egress node) to create detour LSPs, protecting the links or nodes of the primary CRLSP.
A detour LSP can protect only one primary CRLSP.
Restrictions and guidelines
After the one-to-one backup feature is enabled for an MPLS TE tunnel, the device automatically enables the tunnel's label recording feature, regardless of whether the mpls te record-route label command is executed.
On the same tunnel interface, if both the mpls te detour and mpls te fast-reroute commands are configured, the most recent configuration takes effect.
If both the mpls te detour and mpls te bidirectional commands are configured, only the mpls te bidirectional command takes effect.
Examples
# Enable one-to-one backup on interface Tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te detour
Related commands
display mpls te tunnel-interface
mpls te fast-reroute
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 Ten-GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/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 facility backup fast reroute (FRR).
Use undo mpls te fast-reroute to disable facility backup FRR.
Syntax
mpls te fast-reroute [ bandwidth ]
undo mpls te fast-reroute
Default
Facility backup 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
Operating mechanism
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.
MPLS TE FRR supports two modes: facility backup and one-to-one backup.
To configure facility backup FRR, use this command to FRR on the ingress node of the primary CRLSP, and then configure a bypass tunnel on the PLR. Then, the PLR will protect the primary CRLSP by using the bypass 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.
Restrictions and guidelines
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 executed.
On the same tunnel interface, if both the mpls te detour and mpls te fast-reroute commands are executed, the most recent configuration takes effect.
If both the mpls te fast-reroute and mpls te bidirectional commands are executed, only the mpls te bidirectional command takes effect.
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 detour
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 32767.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 Ten-GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] mpls te fast-reroute bypass-tunnel tunnel 0
Related commands
fast-reroute timer
mpls te forced-forwarding
Use mpls te forced-forwarding to enable forced forwarding for an MPLS TE tunnel.
Use undo mpls te forced-forwarding to disable forced forwarding for an MPLS TE tunnel.
Syntax
mpls te forced-forwarding
undo mpls te forced-forwarding
Default
Forced forwarding is disabled for an MPLS TE tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Usage guidelines
Class Based Tunnel Selection (CBTS) compares the service class value of the traffic with the service class values of MPLS TE tunnels. If the traffic does not match any MPLS TE tunnels or the matching tunnel is down, CBTS randomly selects a tunnel from all tunnels with the lowest priority.
If you enable forced forwarding for a tunnel, CBTS will use the tunnel to forward the matching traffic regardless of whether the tunnel is up or down. Configure the forced forwarding feature as needed for users that do not require highly on forwarding reliability.
Examples
# Enable forced forwarding on Tunnel1 interface.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mpls-te
[Sysname-Tunnel1] mpls te forced-forwarding
mpls te hop-limit
Use mpls te hop-limit to configure the maximum number of hops on the primary CRLSP of a tunnel.
Use undo mpls te hop-limit to restore the default.
Syntax
mpls te hop-limit hop-limit-value
undo mpls te hop-limit
Default
There is no limit on the number of hops on a primary CRLSP.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
hop-limit-value: Sets the maximum number of hops, in the range of 1 to 32.
Examples
# Set the maximum number of hops to 12 for the primary CRLSP of Tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te hop-limit 12
mpls te igp advertise
Use mpls te igp advertise to enable forwarding adjacency for an MPLS TE tunnel, so IGP advertises the tunnel as a link in the IGP network.
Use undo mpls te igp advertise to disable forwarding adjacency.
Syntax
Tunnel interface view:
mpls te igp advertise [ hold-time value | include-ipv6-isis ] *
undo mpls te igp advertise
Default
Forwarding adjacency is disabled for an MPLS TE tunnel, and IGP does not advertise the tunnel as a link in the IGP network.
Views
Tunnel 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.
include-ipv6-isis: Enables IPv6 IS-IS forwarding adjacency, so the tunnel will be advertised as a link to both the IPv4 and IPv6 IS-IS routes. If you do not specify this keyword, IGP advertises the tunnel as a link only in the IPv4 IGP network.
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 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.
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.
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 equals its IGP metric.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
absolute value: Specifies an absolute metric, an integer in the range of 1 to 65535.
relative value: Specifies a relative metric, an integer in the range of –10 to +10. A relative metric is the assigned metric value plus the IGP metric.
Usage guidelines
When IGP shortcut is enabled for an MPLS TE tunnel, the tunnel is included in the IGP route calculation as a link. You can use this command to configure the metric of this link used for IGP route calculation.
Examples
# Assign MPLS TE tunnel interface Tunnel 0 a relative metric of –1 for route calculation in IGP shortcut mechanism.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te igp metric relative -1
Related commands
mpls te igp shortcut
mpls te igp shortcut
Use mpls te igp shortcut to enable IGP shortcut for an MPLS TE tunnel. 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
In tunnel interface view:
mpls te igp shortcut [ isis | ospf ] [ include-ipv6 ]
undo mpls te igp shortcut
Default
IGP shortcut is disabled for an MPLS TE tunnel. The ingress node does not include the tunnel in the IGP route calculation as a link.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
isis: Specifies IPv4 IS-IS as the IGP.
ospf: Specifies OSPF as the IGP.
include-ipv6: Includes the MPLS TE tunnel in IPv6 IS-IS route calculation. If you do not specify this keyword, only IPv4 IGP will include the MPLS TE tunnel in route calculation.
Usage guidelines
In the current software version, OSPFv3 cannot include the MPLS TE tunnel in route calculation.
If you do not specify the IGP in this command, both OSPF and IS-IS will include the MPLS TE tunnel 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 Ten-GigabitEthernet 3/0/1, set the link attribute to 0x00000101.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/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 lsp-tp outbound
Use mpls te lsp-tp outbound to enable outbound traffic policing for a tunnel.
Use undo mpls te lsp-tp outbound to disable outbound traffic policing for a tunnel.
Syntax
mpls te lsp-tp outbound
undo mpls te lsp-tp outbound
Default
Outbound traffic policing is disabled for a tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Usage guidelines
Execute this command on the ingress node of an MPLS TE tunnel.
This command does not take effect on bypass tunnels. That is, the device does not perform traffic policing for bypass tunnels.
Examples
# Enable outbound traffic policing for MPLS TE tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te lsp-tp outbound
mpls te max-link-bandwidth
Use mpls te max-link-bandwidth to set the maximum bandwidth for MPLS TE traffic on an interface.
Use undo mpls te max-link-bandwidth to restore the default.
Syntax
mpls te max-link-bandwidth { bandwidth-value | percent percent-bandwidth }
undo mpls te max-link-bandwidth
Default
The maximum link bandwidth for MPLS TE traffic is 0 kbps.
Views
Interface view
Predefined user roles
network-admin
Parameters
bandwidth-value: Specifies the maximum link bandwidth in the range of 1 to 4294967295 kbps.
percent percent-bandwidth: Specifies the percentage of the maximum link bandwidth out of the total interface bandwidth. The value range for the percent-bandwidth argument is 1 to 100.
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 Ten-GigabitEthernet 3/0/1, set the maximum link bandwidth for MPLS TE traffic to 1158 kbps.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/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 bandwidthof a link in prestandard DS-TE mode.
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 is 0 kbps.
Views
Interface view
Predefined user roles
network-admin
Parameters
bandwidth-value: Specifies the maximum reservable bandwidth of the link (the value of BC 0), in the range of 1 to 4294967295 kbps.
percent percent-bandwidth: Specifies the percentage of BC 0 out of the maximum link bandwidth. The value range for the percent-bandwidth argument is 1 to 100.
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 ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/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.
The maximum TE metric value that can take effect is 16777215. If you set a TE metric greater than 16777215, 16777215 takes effect.
Examples
# Assign a TE metric of 20 to the link on Ten-GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] mpls te metric 20
Related commands
mpls te path metric-type
path metric-type
mpls te passive-delegate report-only
Use mpls te passive-delegate report-only to configure a PCC to report CRLSP information of a tunnel to the PCE without delegating the CRLSP to the PCE.
Use undo mpls te passive-delegate report-only to restore the default.
Syntax
mpls te passive-delegate report-only
undo mpls te passive-delegate report-only
Default
A PCC does not report CRLSP information to the PCE.
Views
Tunnel interface view
Predefined user roles
network-admin
Usage guidelines
This command is applicable to MPLS TE tunnels that use PCE-computed paths to establish CRLSPs. If an ingress needs to delegate only part of its CRLSPs to the PCE, the PCE does not have complete CRLSP information to calculate global bandwidth information. In this case, you can use this command to configure the ingress to report information about the undelegated CRLSPs to the PCE without delegating the CRLSPs to the PCE.
If you execute both the mpls te passive-delegate report-only command and the mpls te delegation command for a tunnel interface, the mpls te passive-delegate report-only command takes effect.
Examples
# Configure the device to report CRLSP information of Tunnel 1 to the PCE without delegating the CRLSP to the PCE.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mpls-te
[Sysname-Tunnel1] mpls te passive-delegate report-only
Related commands
mpls te delegation
mpls te path
Use mpls te path to specify a path for the tunnel and set the preference of the path.
Use undo mpls te path to delete the specified path for the tunnel.
Syntax
mpls te path preference value { dynamic [ pce [ ip-address ]&<0-8> | no-cspf ] | explicit-path path-name [ no-cspf ] }
undo mpls te path preference value
Default
MPLS TE uses the dynamically calculated path to establish a CRLSP/SRLSP.
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 to establish the CRLSP/SRLSP.
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/SRLSP. 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/SRLSP, MPLS TE performs CSPF calculations according to the specified paths in a descending order of preference until the CRLSP/SRLSP is established successfully. If the CSPF calculations for all paths are failed, the CRLSP/SRLSP cannot be established.
If you specify PCE addresses in this command or in the mpls te backup-path command, the local device establishes PCEP sessions to the specified PCEs. If you do not specify a PCE address, the local device establishes PCEP sessions to all discovered PCEs.
Examples
# Configure Tunnel 0 to use explicit path path1 and the path calculated by PCEs for CRLSP establishment. Set a higher preference for the path calculated by PCEs.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te path preference 2 explicit-path path1
[Sysname-Tunnel0] mpls te path preference 1 dynamic pce 1.1.1.9 2.2.2.9
Related commands
display mpls te tunnel-interface
mpls te backup-path
mpls te path verification
Use mpls te path verification to configure path verification for an MPLS TE tunnel.
Use undo mpls te path verification to restore the default.
Syntax
mpls te path verification { enable | disable }
undo mpls te path verification
Default
The path verification configuration for an MPLS TE tunnel is the same as the global path verification configuration.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
enable: Enables path verification for the MPLS TE tunnel.
disable: Disables path verification for the MPLS TE tunnel.
Usage guidelines
After path verification is enabled for an MPLS TE tunnel, the system examines the label and route mapping for the corresponding SRLSP. If the configured label has been occupied or the corresponding route does not exist, the system sets the SRLSP's state to down to avoid traffic forwarding failure.
Examples
# Enable path verification on MPLS TE tunnel interface Tunnel 1.
<Sysname> system-view
[Sysname] interface Tunnel 1 mode mpls-te
[Sysname-Tunnel1] mpls te path verification enable
Related commands
path verification enable
mpls te path-metric-type
Use mpls te path-metric-type to specify the link metric type for path selection of a tunnel.
Use undo mpls te path-metric-type to restore the default.
Syntax
mpls te path-metric-type { igp | te }
undo mpls te path-metric-type
Default
No link metric type is specified for path selection of a tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
igp: Uses the IGP metric.
te: Uses the TE metric.
Usage guidelines
Each MPLS TE link has two metrics: IGP metric and TE metric. By using the two metrics, you can select different tunnels for different classes of traffic. For example, use the IGP metric to represent a link delay (a smaller IGP metric value indicates a lower link delay). Use the TE metric to represent a link bandwidth value (a smaller TE metric value indicates a bigger link bandwidth value).
You can establish two MPLS TE tunnels: Tunnel1 for voice traffic and Tunnel2 for video traffic. Configure Tunnel1 to use IGP metrics for path selection, and configure Tunnel2 to use TE metrics for path selection. As a result, the video traffic travels through the path that has larger bandwidth and the voice service travels through the path that has lower delay.
If you specify a metric type for a tunnel by using this command, the tunnel uses the specified metric type for path selection. If you do not specify a metric type, the tunnel uses the metric type specified by the path-metric-type command in MPLS TE view for path selection.
Examples
# Configure Tunnel 0 to use the IGP metric for path selection.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te path-metric-type igp
Related commands
display mpls te tunnel-interface
mpls te metric
path-metric-type
mpls te priority
Use mpls te priority to set a setup priority and a holding priority for an MPLS TE tunnel.
Use undo mpls te priority to restore the default.
Syntax
mpls te priority setup-priority [ hold-priority ]
undo mpls te priority
Default
The setup priority and the holding priority of an MPLS TE tunnel are both 7.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
setup-priority: Specifies the setup priority in the range of 0 to 7. A smaller number represents a higher priority.
hold-priority: Specifies the holding priority in the range of 0 to 7. A smaller number represents a higher priority. If you do not specify this argument, the holding priority is the same as the setup priority.
Usage guidelines
The setup priority and holding priority of an MPLS TE tunnel determines the importance of the tunnel. A tunnel that has a higher setup priority than the holding priority of another tunnel can preempt the resources of the second.
The setup priority and holding priority can be applied to the following scenarios:
· Multiple MPLS TE tunnels use the same path but the path does not have enough bandwidth for all the tunnels. You can configure different setup and holding priorities for different tunnels to make sure important tunnels can be established first.
· Before an important tunnel is established, multiple less-important MPLS TE tunnels have existed on the network, occupying the bandwidth resources and the optimal path. You can assign a higher setup priority to the import tunnel, so the tunnel can preempt the resources of the existing tunnels and use the optimal path.
The setup priority of a tunnel must not be higher than its holding priority. Configure the setup priority value to be equal to or greater than the holding priority value.
Examples
# Set both the setup priority and holding priority of Tunnel 0 to 1.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te priority 1 1
Related commands
display mpls te tunnel-interface
mpls te record-route
Use mpls te record-route to enable route recording and label recording for a tunnel.
Use undo mpls te record-route to disable route recording and label recording for a tunnel.
Syntax
mpls te record-route [ label ]
undo mpls te record-route
Default
Route recording or label recording is disabled for a tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
label: Enables both route recording and label recording. If you do not specify this keyword, the command enables only route recording.
Usage guidelines
Route recording records the nodes that an MPLS TE tunnel traverses. Label recording records the label assigned by each node. The recorded information helps you know about the path used by the MPLS TE tunnel and the label distribution information. When the tunnel fails, the recorded information helps you locate the fault.
Examples
# Enable route recording for MPLS TE tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te record-route
Related commands
display mpls te tunnel-interface
mpls te reoptimization (tunnel interface view)
Use mpls te reoptimization to enable tunnel reoptimization.
Use undo mpls te reoptimization to disable tunnel reoptimization.
Syntax
mpls te reoptimization [ frequency seconds ]
undo mpls te reoptimization
Default
Tunnel reoptimization is disabled.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
frequency seconds: Specifies the tunnel reoptimization frequency in the range of 1 to 604800 seconds. The default is 3600 seconds. If you set the tunnel reoptimization frequency to a value smaller than 60, MPLS TE performs tunnel reoptimization at intervals of 60 seconds.
Usage guidelines
MPLS TE uses the tunnel reoptimization feature to implement dynamic CRLSP optimization. For example, if a link on the optimal path does not have enough reservable bandwidth during tunnel setup, MPLS TE sets up the tunnel on another path. When the link has enough bandwidth, tunnel optimization can automatically switch the tunnel to the optimal path.
You can configure the ingress to perform tunnel reoptimization periodically. Or, you can use the mpls te reoptimization command in user view to trigger the ingress to perform a tunnel reoptimization at any time.
On the same tunnel interface, the mpls te reoptimization command is mutually exclusive with the following commands:
· mpls te route-pinning.
· mpls te backup ordinary.
If both the mpls te reoptimization and mpls te bidirectional commands are configured, only the mpls te bidirectional command takes effect.
Examples
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te reoptimization frequency 43200
Related commands
display mpls te tunnel-interface
mpls te reoptimization (user view)
mpls te reoptimization (user view)
Use mpls te reoptimization to reoptimize all reoptimization-enabled MPLS TE tunnels.
Syntax
mpls te reoptimization
Views
User view
Predefined user roles
network-admin
Usage guidelines
After this command is executed in tunnel interface view, you can execute it in user view to trigger the ingress node to immediately reselect an optimal path for a tunnel.
Examples
# Reoptimize all reoptimization-enabled MPLS TE tunnels.
<Sysname> mpls te reoptimization
Related commands
mpls te reoptimization (tunnel interface view)
mpls te resv-style
Use mpls te resv-style to configure the resource reservation style for the MPLS TE tunnel.
Use undo mpls te resv-style to restore the default.
Syntax
mpls te resv-style { ff | se }
undo mpls te resv-style
Default
The resource reservation style is SE.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
ff: Specifies the resource reservation style as fixed filter (FF). In FF style, resources are reserved for individual senders and cannot be shared among senders on the same session.
se: Specifies the resource reservation style as shared explicit (SE). In SE style, resources are reserved for senders on the same session and shared among them.
Usage guidelines
This command applies only to MPLS TE tunnels established by RSVP-TE.
A tunnel always uses the SE style when the tunnel is enabled with tunnel reoptimization, fast reroute, and tunnel backup. A tunnel always uses the FF style if the tunnel is a co-routed bidirectional MPLS TE tunnel.
Examples
# Use the FF reservation style to establish MPLS TE tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te resv-style ff
Related commands
display mpls te tunnel-interface
mpls te signaling
mpls te retry
Use mpls te retry to set the maximum number of tunnel setup attempts.
Use undo mpls te retry to restore the default.
Syntax
mpls te retry retries
undo mpls te retry
Default
The maximum number of tunnel setup attempts is 3.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
retries: Specifies the number of tunnel setup attempts, in the range of 1 to 4294967295.
Usage guidelines
After failing to establish an MPLS TE tunnel, the tunnel ingress node waits for the tunnel setup retry interval (configured by the mpls te timer retry command). Then it tries to set up the tunnel until the tunnel is established successfully. If the tunnel cannot be established when the number of attempts reaches the maximum, the ingress waits for a longer period and then repeats the previous process.
Examples
# Set the maximum number of tunnel setup attempts to 20.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te retry 20
Related commands
display mpls te tunnel-interface
mpls te timer retry
mpls te route-pinning
Use mpls te route-pinning to enable route pinning.
Use undo mpls te route-pinning to restore the default.
Syntax
mpls te route-pinning
undo mpls te route-pinning
Default
Route pinning is disabled.
Views
Tunnel interface view
Predefined user roles
network-admin
Usage guidelines
When route pinning is enabled, an established CRLSP does not re-select an optimal path even if the optimal route has changed.
Use this feature to avoid CRLSPs from changing frequently on an unstable network. This feature ensures that the established CRLSPs are not re-established as long as they are available.
In the same tunnel interface view, the mpls te route-pinning command cannot be used together with the mpls te reoptimization command.
Examples
# Enable route pinning for Tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te route-pinning
Related commands
display mpls te tunnel-interface
mpls te service-class
Use mpls te service-class to set a service class value for an MPLS TE tunnel.
Use undo mpls te service-class to delete the service class value of an MPLS TE tunnel.
Syntax
mpls te service-class service-class-value
undo mpls te service-class
Default
No service class value is set for an MPLS TE tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
service-class-value: Specifies a service class value for an MPLS TE tunnel. The value range for the service class is 1 to 15.The smaller the service class value, the lower the tunnel priority. If you do not specify a service class value for an MPLS TE tunnel, the tunnel uses service class value 255, which has the lowest priority.
Usage guidelines
Class Based Tunnel Selection (CBTS) compares the service class value of the traffic with the service class values of MPLS TE tunnels. CBTS uses the following rules to select a tunnel to forward the traffic:
· If the traffic matches an MPLS TE tunnel, CBTS uses this tunnel.
· If the traffic matches multiple MPLS TE tunnels, CBTS selects a tunnel based on the flow forwarding mode set on the tunnel interface:
¡ If there is only one flow and flow-based forwarding is set, CBTS randomly selects a matching tunnel for packets of the flow.
¡ If there are multiple flows or if there is one flow but packet-based forwarding is set, CBTS uses all matching tunnels to load share the packets.
· If the traffic does not match any MPLS TE tunnels, CBTS randomly selects a tunnel from all tunnels with the smallest service class value.
To set a service class value for traffic, use the remark service-class command in traffic behavior view. For information about the remark service-class command, see QoS commands in ACL and QoS Command Reference.
Examples
# Set the service class value of Tunnel 0 to 5.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te service-class 5
Related commands
remark service-class (ACL and QoS Command Reference)
mpls te signaled-name
Use mpls te signaled-name to configure the tunnel name for an MPLS TE tunnel.
Use undo mpls te signaled-name to restore the default.
Syntax
mpls te signaled-name name
undo mpls te signaled-name
Default
The tunnel name of an MPLS TE tunnel is tunneltunnel-id.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
name: Name of the MPLS TE tunnel, a case-sensitive string of 1 to 63 characters.
Usage guidelines
The name of a PCE-initiated MPLS TE tunnel is the name carried in the symbolic-path-name TLV in the PCE-Initiated-LSP packet. Such an MPLS TE tunnel name cannot be changed by using this command.
Execute this command for an MPLS TE tunnel before you establish the tunnel. Executing this command for an existing MPLS TE tunnel will cause the tunnel to be re-established.
After you execute this command on a PCC to modify the name of an MPLS TE tunnel, you must also modify the tunnel name on the PCE if the PCE cannot learn MPLS TE tunnel names dynamically. Otherwise, the PCE cannot update the MPLS TE tunnel or send error messages for the tunnel.
You must configure different names for different MPLS TE tunnels, and a configured tunnel name cannot use the tunneltunnel-id format.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Configure the tunnel name for MPLS TE tunnel 1 as red.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mpls-te
[Sysname-Tunnel1] mpls te signaled-name red
mpls te signaling
Use mpls te signaling to configure the signaling protocol for an MPLS TE tunnel interface.
Use undo mpls te signaling to restore the default.
Syntax
mpls te signaling { rsvp-te | static | segment-routing }
undo mpls te signaling
Default
MPLS TE uses RSVP-TE to establish tunnels.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
rsvp-te: Uses the RSVP-TE signaling protocol to establish a tunnel.
static: Uses a static CRLSP or SRLSP to establish a tunnel.
segment-routing: Uses the Segment Routing (SR) protocol 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 Ten-GigabitEthernet 3/0/1 to SRLG 45.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] mpls te srlg 45
mpls te stateful-pce
Use mpls te stateful-pce to globally configure delegation for MPLS TE tunnels.
Use undo mpls te stateful-pce to restore the default.
Syntax
mpls te stateful-pce { delegation | report-only }
undo mpls te stateful-pce
Default
Delegation and report-only features are disabled MPLS TE tunnels globally.
Views
MPLS TE view
Predefined user roles
network-admin
Parameters
delegation: Delegates MPLS TE tunnels to PCEs.
report-only: Reports MPLS TE tunnel information to PCEs without delegating MPLS TE tunnels to the PCEs.
Usage guidelines
This command takes effect only on the MPLS TE tunnels established by using RSVP-TE and Segment Routing.
MPLS TE tunnel delegation can be configured in MPLS TE view by using the mpls te stateful-pce command and in tunnel interface view by using the mpls te delegation command and the mpls te passive-delegate report-only command. The MPLS TE tunnel delegation setting configured in MPLS TE view takes effect on all MPLS TE tunnels and that in tunnel interface view takes effect only on that tunnel interface.
A tunnel interface prefers to use the delegation setting configured in tunnel interface view, and uses the setting in MPLS TE view if the delegation setting is not configured in tunnel interface view.
Examples
# Globally enable the device to delegate MPLS TE tunnels to PCEs.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te]mpls te stateful-pce delegation
Related commands
mpls te delegation
mpls te delegation disable
mpls te passive-delegate report-only
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 67 characters.
Usage guidelines
This command takes effect only when the mpls te signaling static command has been configured in tunnel interface view.
Execute this command on the ingress node. The static CRLSP specified must have been created by using the static-cr-lsp ingress command.
Examples
# Configure tunnel 0 to use static CRLSP static-te-3.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te static-cr-lsp static-te-3
Related commands
display mpls te tunnel-interface
mpls te signaling
static-cr-lsp egress
static-cr-lsp ingress
static-cr-lsp transit
mpls te statistics
Use mpls te statistics to enable MPLS TE tunnel traffic statistics.
Use undo mpls te statistics to disable MPLS TE tunnel traffic statistics.
Syntax
mpls te statistics [ service-class ]
undo mpls te statistics
Default
MPLS TE tunnel traffic statistics is disabled.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
service-class: Enables tunnel traffic statistics on a per-service class basis.
Usage guidelines
After you enable tunnel traffic statistics on a per-service class basis, the system collects total traffic statistics on the tunnel interface and traffic statistics for each service class.
MPLS TE tunnel traffic statistics is automatically enabled for an SR-MPLS TE tunnel established by using PCE.
Examples
# Enable tunnel traffic statistics on a per-service class basis for tunnel interface 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te statistics service-class
Related commands
mpls te service-class
mpls te statistics service-class interval
mpls te statistics service-class interval
Use mpls te statistics service-class interval to set the service class-based traffic statistics interval for MPLS TE tunnels.
Use undo mpls te statistics service-class interval to restore the default.
Syntax
mpls te statistics service-class interval interval
undo mpls te statistics service-class interval
Default
The service class-based traffic statistics interval for MPLS TE tunnels is 30 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the service class-based traffic statistics interval for MPLS TE tunnels, in the range of 5 to 65535 seconds.
Usage guidelines
This command takes effect on an MPLS TE tunnel after you set a service class for the tunnel and enable tunnel traffic statistics on a per-service class basis.
Examples
# Set the service class-based traffic statistics interval for MPLS TE tunnels to 30 seconds.
<Sysname> system-view
[Sysname] mpls te statistics service-class interval 30
Related commands
mpls te service-class
mpls te statistics
mpls te timer retry
Use mpls te timer retry to set the tunnel setup retry interval.
Use undo mpls te timer retry to restore the default.
Syntax
mpls te timer retry seconds
undo mpls te timer retry
Default
The retry interval is 2 seconds.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
seconds: Specifies the interval at which MPLS TE tries to re-establish the tunnel, in the range of 1 to 604800 seconds.
Usage guidelines
After failing to establish an MPLS TE tunnel, the tunnel ingress node waits for the tunnel setup retry interval. Then, it tries to set up the tunnel until the tunnel is established successfully. If the tunnel cannot be established when the number of attempts reaches the maximum (configured by the mpls te retry command), the ingress waits for a longer period. Then, it repeats the previous process.
Examples
# Set the setup retry interval to 20 seconds for tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te timer retry 20
Related commands
display mpls te tunnel-interface
mpls te retry
mpls te tunnel-attribute prefer
Use mpls te tunnel-attribute prefer to configure the attribute usage preference for MPLS TE tunnel setup.
Use undo mpls te tunnel-attribute prefer to restore the default.
Syntax
mpls te tunnel-attribute prefer { local | pce } *
undo mpls te tunnel-attribute prefer
Default
The attribute usage preference configured in MPLS TE view applies.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
pce: Uses the attributes carried in Update or Initial messages received from a PCE to establish the MPLS TE tunnel.
local: Uses the locally configured attributes to establish the MPLS TE tunnel.
Usage guidelines
If only the local or pce keyword is specified, the device obtains the attributes from the attribute source specified by the keyword. For attributes that cannot be obtained the specified attribute source, the device uses the default values of the attributes.
If both the local and pce keywords are specified, the device prefers to use the attribute source indicated by the first keyword in the command. For attributes that cannot be obtained from that attribute source, the device obtains the attributes from the attribute source specified by the second keyword. For attributes that cannot be obtained from neither the local nor the PCE attribute source, the device uses the default values of the attributes.
This command applies to the following attributes: bandwidth, affinity, setup and holding priorities, explicit path, link metric type, TE metric of a link, and BSID. For other attributes, the device always uses the locally configured attribute values.
The attribute usage preference can be configured in both tunnel interface view and MPLS TE view. The configuration in MPLS TE view applies to all MPLS TE tunnels. The configuration in tunnel interface view applies only to the current MPLS TE tunnel. For an MPLS TE tunnel, the configuration in tunnel interface view has a higher priority than the configuration in MPLS TE view.
Examples
# Configure interface Tunnel 1 to use the locally configured attributes to establish the MPLS TE tunnel.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mpls-te
[Sysname-Tunnel1] mpls te tunnel-attribute prefer local
Related commands
tunnel-attribute prefer
nexthop
Use nexthop to add or modify a node in an explicit path, and configure the attributes of the node.
Use undo nexthop to delete a node in an explicit path.
Syntax
nexthop [ index index-number ] ip-address [ exclude | include [ [ loose | strict ] | [ incoming | outgoing ] ] * ]
undo nexthop index index-number
Default
An explicit path does not include any nodes.
Views
Explicit path view
Predefined user roles
network-admin
Parameters
index index-number: Specifies an index for the node in the explicit path, in the range of 1 to 65535. If you do not specify an index, MPLS TE automatically calculates an index for the node, the value of which is the current maximum index value plus 100.
ip-address: Specifies a node by its IP address in dotted decimal notation.
exclude: Excludes the specified node from the explicit path.
include: Includes the specified node on the explicit path.
loose: Specifies the node as a loose node, which means the specified node and its previous hop can be indirectly connected.
strict: Specifies the node as a strict node, which means the node and its previous hop must be directly connected.
incoming: Uses the interface with the specified IP address as the packet incoming interface of the node.
outgoing: Uses the interface with the specified IP address as the packet outgoing interface of the node.
Usage guidelines
The IP address specified in this command can be one of the following:
· Link IP address—IP address of an interface on the device, identifying a link.
· Device LSR ID—Identifies the device.
The address of a strict node must be a link IP address. The address of a loose node can be a link IP address or the device LSR ID.
CSPF excludes the links or devices specified by exclude from path calculation, and uses the links specified by include in ascending order of indexes to establish a CRLSP.
When you execute the nexthop command, follow these guidelines:
· If you specify an existing index, the command modifies the IP address or attribute of the node identified by that index.
· If you specify neither include nor exclude, the include keyword is used by default.
· If you specify neither loose nor strict, the strict keyword is used by default.
· If you specify neither incoming nor outgoing, the incoming keyword is used by default.
· The incoming and outgoing keywords are supported only for explicit paths of MPLS TE tunnels signaled by using Segment Routing.
Examples
# Exclude IP address 10.0.0.125 from MPLS TE explicit path path1.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1] nexthop 10.0.0.125 exclude
Related commands
display explicit-path
nextsid
nextsid
Use nextsid to add or modify a label node in an explicit path, and configure the attributes of the label node.
Use undo nextsid to delete a label node in an explicit path.
Syntax
nextsid [ index index-number ] label label-value type { adjacency | binding-sid | prefix }
undo nextsid index index-number
Default
An explicit path does not include any label nodes.
Views
Explicit path view
Predefined user roles
network-admin
Parameters
index index-number: Specifies an index for the node in the explicit path, in the range of 1 to 65535. If you do not specify an index, MPLS TE automatically calculates an index for the node, the value of which is the current maximum index value plus 100.
label label-value: Specifies the label value for the node, in the range of 0, 3, and 16 to 1048575.
type: Specifies the type of the node.
adjacency: Specifies the node as an adjacency SID node.
binding-sid: Specifies the node as a node that uses a BSID.
prefix: Specifies the node as a prefix SID node.
Usage guidelines
In the same explicit path view, do not set the same index value for a node added by the nextsid command and a node added by the nexthop command. If you do so, the command executed later will fail.
If you specify an existing node index, the nextsid command modifies the attributes of the node.
Examples
# In explicit path path1, add an adjacency SID node whose label value is 100.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1] nextsid index 1 label 100 type adjacency
Related commands
display explicit-path
nexthop
nhop-only
Use nhop-only to configure the PLR to create only link-protection bypass tunnels.
Use undo nhop-only to restore the default.
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 exclude overload-node
Use path exclude overload-node to exclude IS-IS overloaded nodes from CSPF path calculation for establishment of CRLSPs.
Use undo path exclude overload-node to restore the default.
Syntax
path exclude overload-node
undo path exclude overload-node
Default
The device does not exclude IS-IS overloaded nodes from CSPF path calculation.
Views
MPLS TE view
Predefined user roles
network-admin
Usage guidelines
When a node carries heavy service load, you can mark the node as an overloaded node by using the set-overload command. For MPLS TE traffic to bypass such overloaded nodes, you can execute the path exclude overload-node command on the ingress node for MPLS TE. Then, the established CRLSPs will not traverse the overloaded nodes. This mechanism can reduce the burden on the overloaded nodes and improve the reliability of the CRLSP.
After the path exclude overload-node command is executed, CSPF excludes overloaded nodes (if any) from path calculation for new CRLSPs. For CRLSPs that are already established, CSPF recalculates paths for the CRLSPs to bypass the overloaded nodes.
This command takes effect only when the device uses RSVP-TE to establish MPLS TE tunnels.
Examples
# Configure the device to exclude IS-IS overloaded nodes from CSPF path calculation.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] path exclude overload-node
Related commands
set-overload (Layer 3—IP Routing Command Reference)
path verification enable
Use path verification enable to enable global path verification.
Use undo path verification enable to disable global path verification.
Syntax
path verification enable
undo path verification enable
Default
Global path verification is enabled.
Views
MPLS TE view
Predefined user roles
network-admin
Usage guidelines
After global path verification is enabled, the system examines the label and route mappings for all SRLSPs. If the label configured for an SRLSP has been occupied or the corresponding route does not exist, the system sets the SRLSP's state to down to avoid traffic forwarding failure.
The mpls te path verification command in tunnel interface view has a higher priority than the global path verification configuration.
Examples
# Enable global path verification.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] path verification enable
Related commands
mpls te path verification enable
path-metric-type
Use path-metric-type to specify the link metric type to be used for path selection when a metric type is not explicitly specified for a tunnel.
Use undo path-metric-type to restore the default.
Syntax
path-metric-type { igp | te }
undo path-metric-type
Default
A tunnel uses TE metrics of links for path selection when no metric type is specified for the tunnel.
Views
MPLS TE view
Predefined user roles
network-admin
Parameters
igp: Uses the IGP metric.
te: Uses the TE metric.
Usage guidelines
Each MPLS TE link has two metrics: IGP metric and TE metric. By correctly planning the two metrics, you can select different tunnels for different classes of traffic. For example, use the IGP metric to represent a link delay (a smaller IGP metric value indicates a lower link delay). Use the TE metric to represent a link bandwidth value (a smaller TE metric value indicates a bigger link bandwidth value).
You can establish two MPLS TE tunnels: Tunnel1 for voice traffic and Tunnel2 for video traffic. Configure Tunnel1 to use IGP metrics for path selection, and configure Tunnel2 to use TE metrics for path selection. As a result, the video traffic travels through the path that has larger bandwidth and the voice traffic travels through the path that has lower delay.
If you specify a metric type for a tunnel by using the mpls te path-metric-type command, the tunnel uses the specified metric type for path selection. If you do not specify a metric type, the tunnel uses the metric type specified by the path-metric-type command for path selection.
Examples
# Configure MPLS TE tunnels that are not explicitly specified with a metric type to use the IGP metric for path selection.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] path-metric-type igp
Related commands
mpls te metric
mpls te path-metric-type
pce-client
Use pce-client to enable the PCC capability and enter PCC view.
Use undo pce-client to disable the PCC capability.
Syntax
pce-client
undo pce-client
Default
The PCC capability is disabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the PCC capability and enter PCC view.
<Sysname> system-view
[Sysname] pce-client
[Sysname-pcc]
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 PCC device.
Use undo pce capability segment-routing to disable the SR capability for a PCC device.
Syntax
pce capability segment-routing
undo pce capability segment-routing
Default
A PCC device does not have the SR capability.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Usage guidelines
To establish an SR-capable PCEP session, you need to enable the SR capability on both peers of the PCEP session. An SR-capable active PCEP session supports computation, report, delegation, and update of SR-based LSPs.
In the current software version, a PCE device does not have the segment routing capability.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Enable the SR capability for the PCC 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
PCC 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.
You can execute this command in either the MPLS TE view or the PCC view.
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
PCC view
Predefined user roles
network-admin
Parameters
interval: Specifies the keepalive interval in the range of 0 to 255 seconds. Value 0 indicates that no keepalive messages will be sent once the PCEP session is established.
Usage guidelines
If the keepalive interval for the local device is less than the min-keepalive setting on the peer device, the local device uses the peer's min-keepalive setting as the keepalive interval.
If the keepalive interval is set to 0 on the local device, configure the min-keepalive value as 0 on the peer device to avoid session establishment failure.
For more information about the min-keepalive setting, see the pce tolerance command.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Set the keepalive interval to 60 seconds.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce keepalive 60
Related commands
display mpls te pce peer
pce deadtimer
pce tolerance
pce multi-delegate enable
Use pce multi-delegate enable to enable the multi-delegation feature on a PCC to delegate LSPs to all PCEs.
Use undo pce multi-delegate enable to disable the multi-delegation feature.
Syntax
pce multi-delegate enable
undo pce multi-delegate enable
Default
The multi-delegation feature is disabled.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Usage guidelines
If multi-delegation is enabled on a PCC, the PCC can delegate delegation-enabled dynamic CRLSPs and SRLSPs to all the PCEs that have established active-stateful PCEP sessions with the PCC. The PCC updates the CRLSPs and SRLSPs according to the update requests received from any of the PCEs.
You can execute this command in either the MPLS TE view or the PCC view.
Example
# Enable the PCC to delegate LSPs to all its PCEs.
<Sysname> system-view
[Sysname] mpls te
[System-te] pce multi-delegate enable
Related commands
display mpls te pce peer
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
PCC 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.
You can execute this command in either the MPLS TE view or the PCC view.
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 keychain authentication for the PCEP session with a peer PCC or PCE.
Use undo pce peer keychain to remove the keychain 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
PCC 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 key string on both devices.
This command and the pce peer md5 command are mutually exclusive. A PCEP session supports only one type of security authentication.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Configure the device to use keychain test for authentication with peer PCE or PCC 10.10.10.10.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce peer 10.10.10.10 keychain test
Related commands
display keychain (Security Command Reference)
keychain (Security Command Reference)
pce peer md5
Use pce peer md5 to configure MD5 authentication for the PCEP session with a peer PCC or PCE.
Use undo pce peer md5 to remove the MD5 authentication configuration for a peer PCC or PCE.
Syntax
pce peer ip-address md5 { cipher | plain } string
undo pce peer ip-address md5
Default
PCEP session authentication is not configured.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address of a PCC or PCE.
cipher: Specifies a key in encrypted form.
plain: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.
string: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 32 characters. Its encrypted form is a case-sensitive string of 1 to 73 characters.
Usage guidelines
For two devices to establish a PCEP session, you must configure MD5 authentication and specify the same key string on both devices.
This command and the pce peer keychain command are mutually exclusive. A PCEP session supports only one type of security authentication.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Configure the device to perform MD5 authentication with peer PCE or PCC 10.10.10.10. Set the authentication key as test in plain text.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce peer 10.10.10.10 md5 plain test
pce peer source
Use pce peer source to configure the source address for a PCEP session.
Use undo pce peer source to restore the default.
Syntax
pce peer ip-address source { interface interface-type interface-number | ip ip-address }
undo pce peer ip-address source
Default
The source address of a PCEP session is the device LSR ID.
Views
PCC view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the peer IP address of the PCEP session.
ip ip-address: Specifies the source IP address of the PCEP session.
interface interface-type interface-number: Specifies the source interface of the PCEP session by the interface type and number. The PCEP session will use the IP address of the specified interface as the session source address.
Usage guidelines
You can execute this command multiple times to specify different source addresses for different PCEP sessions. If you specify different source addresses for the same PCEP session peer, the most recent configuration takes effect.
Examples
# Configure the source address of the PCEP session with peer 192.168.56.1 as 10.0.0.1.
<Sysname> system-view
[Sysname] pce-client
[Sysname-pcc] pce peer 192.168.56.1 source ip 10.0.0.1
Related commands
pce address
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
PCC 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 a lower delegation priority.
The redelegation timeout interval must not be greater than the CRLSP state timeout interval (configured by the pce state-timeout command).
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Set the redelegation timeout interval to 20 seconds.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce redelegation-timeout 20
Related commands
mpls te delegation
pce state-timeout
pce request-timeout
Use pce request-timeout to set the path calculation request timeout time.
Use undo pce request-timeout to restore the default.
Syntax
pce request-timeout value
undo pce request-timeout
Default
The request timeout time is 10 seconds.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Parameters
value: Specifies the request timeout time in the range of 5 to 100 seconds.
Usage guidelines
In EPC calculation, if a PCC does not receive a calculation reply within the configured timeout time, it resends calculation requests to the PCE until it receives a reply.
In BRPC calculation, if a PCC does not receive a calculation reply from the PCE within the configured timeout time, the PCC does not resend a request. If a PCE does not receive a calculation reply from its downstream PCE within the timeout time, it sends the local calculation result to its upstream device as a reply. The PCE does not wait for a reply from its downstream PCE.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Set the request timeout time to 20 seconds.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce request-timeout 20
Related commands
display mpls te pce peer
pce retain initiated-lsp
Use pce retain initiated-lsp to configure the PCC to retain PCE-initiated LSPs.
Use undo pce retain initiated-lsp to restore the default.
Syntax
pce retain initiated-lsp
undo pce retain initiated-lsp
Default
A PCC deletes PCE-initiated LSPs when the state timeout interval expires.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Usage guidelines
After an active-stateful PCE establishes a connection with a PCC, the PCE can send an initiate message to the PCC to create an LSP. After the PCE is disconnected from the PCC, the PCC deletes the PCE-initiated LSPs when the state timeout interval (set by using the pce state-timeout command) expires. If the pce retain initiated-lsp command is executed, the PCC will retain these PCE-initiated LSPs.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Configure the PCC to retain PCE-initiated LSPs.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce retain initiated-lsp
Related commands
pce state-timeout
pce retain lsp-state
Use pce retain lsp-state to configure the PCC to retain PCE-updated LSP states.
Use undo pce retain lsp-state to restore the default.
Syntax
pce retain lsp-state
undo pce retain lsp-state
Default
A PCC restores the original LSP states (the states before PCE updates) when the state timeout interval expires.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Usage guidelines
After an active-stateful PCE establishes a connection with a PCC, the PCE can update the states of the delegated LSPs on the PCC. After the PCE is disconnected from the PCC, the PCC sets the PCE-updated LSPs to their original states when the state timeout interval (set by using the pce state-timeout command) expires. If the pce retain lsp-state command is executed, the PCC will retain the updated states for the LSPs.
The pce retain lsp-state command does not take effect on PCE-initiated LSPs.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Configure the PCC to retain PCE-updated LSP states.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce retain lsp-state
Related commands
mpls te delegation
pce state-timeout
pce state-timeout
Use pce state-timeout to set the state timeout interval on a PCC.
Use undo pce state-timeout to restore the default.
Syntax
pce state-timeout value
undo pce state-timeout
Default
The state timeout interval is 60 seconds.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Parameters
value: Specifies the state timeout interval in the range of 0 to 65535 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).
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Set the state timeout interval to 100 seconds.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pce state-timeout 100
Related commands
pce redelegation-timeout
pce static
Use pce static to specify a PCE as a peer on a PCC or PCE.
Use undo pce static to delete the specified PCE peer.
Syntax
pce static ip-address
undo pce static ip-address
Default
No PCE peers exist.
Views
MPLS TE view
PCC view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address of a PCE peer.
Usage guidelines
You can execute this command in either the MPLS TE view or the PCC view.
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
PCC 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.
You can execute this command in either the MPLS TE view or the PCC view.
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 log enable
Use pcep log enable to enable logging for PCEP messages.
Use undo pcep log enable to disable logging of PCEP messages.
Syntax
pcep log enable { error | initiate | reply | report | request | update } *
undo pcep log enable
Default
Logging is enabled for PCEP Error messages, LSP Initiate Request messages, and Path Computation Update Request messages.
Logging is disabled for Path Computation Reply messages, Path Computation State Report messages, and Path Computation Request messages.
Views
PCC view
Predefined user roles
network-admin
Parameters
error: Enables logging for PCEP Error messages.
initiate: Enables logging for LSP Initiate Request messages.
reply: Enables logging for Path Computation Reply messages.
report: Enables logging for Path Computation State Report messages.
request: Enables logging for Path Computation Request messages.
update: Enables logging for Path Computation Update Request messages.
Usage guidelines
After PCEP message logging is enabled, the device generates logs for the PCEP messages exchanged between the PCC and the PCE and saves them into the local file /var/log/pcecp.log. To view the logs in the file, use the view command in probe view.
If you do not specify a keyword when you execute this command, the device does not log for the PCEP messages indicated by the keyword.
Examples
# Enable logging for PCEP Error messages.
<Sysname> system-view
[Sysname] pce-client
[Sysname-pcc] pcep log enable error
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
PCC 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.
You can execute this command in either the MPLS TE view or the PCC view.
Examples
# Specify the PCEP device type as active-stateful.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] pcep type active-stateful
Related commands
display mpls te pce peer
reset mpls statistics tunnel-interface
Use reset mpls statistics tunnel-interface to clear MPLS TE tunnel traffic statistics.
Syntax
reset mpls statistics tunnel-interface number
Views
User view
Predefined user roles
network-admin
Parameters
number: Specifies a tunnel interface by its number. The value range for this argument is 0 to 32767.
Examples
# Clear MPLS TE traffic statistics for tunnel interface 0.
<Sysname> reset mpls statistics tunnel-interface 0
Related commands
display mpls statistics tunnel-interface
reset mpls te 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 pcep-private
Use snmp-agent trap enable pcep-private to enable private SNMP notifications for PCEP.
Use undo snmp-agent trap enable pcep-private to disable private SNMP notifications for PCEP.
Syntax
snmp-agent trap enable pcep-private [ pcep-redelegation | pcepsess-up-down ]
undo snmp-agent trap enable pcep-private [ pcep-redelegation | pcepsess-up-down ]
Default
Private SNMP notifications for PCEP are disabled.
Views
System view
Predefined user roles
network-admin
Parameters
pcep-redelegation: Enables notifications for canceling CRLSP or SRLSP delegations.
pcepsess-up-down: Enables notifications for PCEP session state changes.
Usage guidelines
This command enables generating SNMP notifications when PCEP cancels CRLSP/SRLSP delegations or PCEP session state changes. These notifications are not defined in an RFC and are private PCEP notifications supported by the device. For SNMP to output the private PCEP notifications correctly, you must also configure parameters for sending SNMP notifications. For more information about SNMP configuration, see Network Management and Monitoring Configuration Guide.
If you do not specify a parameter, this command enables all private SNMP notifications for PCEP.
Examples
# Enable all private SNMP notifications for PCEP.
<Sysname> system-view
[Sysname] snmp-agent trap enable pcep-private
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
snmp-agent trap enable te-private
Use snmp-agent trap enable te-private to enable private SNMP notifications for MPLS TE.
Use undo snmp-agent trap enable te-private to disable private SNMP notifications for MPLS TE.
Syntax
snmp-agent trap enable te-private [ auto-tunnel-mainlsp-up | auto-tunnel-up | hsb-switch | hsblsp-up-down | lspbfd-up-down | mainlsp-up-down | ob-switch | oblsp-up-down | p2mp-sublsp-down | p2mp-tunnel-up-down | rsvpauth-fail | rsvpfrr-protect | rsvpfrr-switch | rsvpnbr-lost | scrlsp-up-down | tunnel-delete | tunnelbw-change ] *
undo snmp-agent trap enable te-private [ auto-tunnel-mainlsp-up | auto-tunnel-up | hsb-switch | hsblsp-up-down | lspbfd-up-down | mainlsp-up-down | ob-switch | oblsp-up-down | p2mp-sublsp-down | p2mp-tunnel-up-down | rsvpauth-fail | rsvpfrr-protect | rsvpfrr-switch | rsvpnbr-lost | scrlsp-up-down | tunnel-delete | tunnelbw-change ] *
Default
Private SNMP notifications for MPLS TE are disabled.
Views
System view
Predefined user roles
network-admin
Parameters
auto-tunnel-mainlsp-up: Sends a notification when the primary LSP in MPLS TE auto FRR comes up.
auto-tunnel-up: Sends a notification when a bypass tunnel in MPLS TE auto FRR comes up.
hsb-switch: Sends a notification for a switchover between a primary CRLSP/SRLSP and its hot-standby backup CRLSP/SRLSP.
hsblsp-up-down: Sends a notification when the state of a hot-standby CRLSP/SRLSP changes.
lspbfd-up-down: Sends a notification when BFD detected a CRLSP/SRLSP state change.
mainlsp-up-down: Sends a notification when the state of a primary CRLSP/SRLSP changes.
ob-switch: Sends a notification for a switchover between a primary CRLSP/SRLSP and its ordinary backup CRLSP/SRLSP.
oblsp-up-down: Sends a notification when the state of an ordinary backup CRLSP/SRLSP changes.
p2mp-sublsp-down: Sends a notification when the sub-LSP of a P2MP TE tunnel becomes down.
p2mp-tunnel-up-down: Sends a notification when the state of a P2MP TE tunnel changes.
rsvpauth-fail: Sends a notification when the RSVP authentication state changes.
rsvpnbr-lost: Sends a notification when the RSVP neighbor state changes.
rsvpfrr-protect: Sends a notification when the binding between an FRR primary tunnel and its bypass tunnels changes.
rsvpfrr-switch: Sends a notification for a switchover between an FRR primary tunnel and a bypass tunnel.
scrlsp-up-down: Sends a notification when the state of a static CRLSP changes.
tunnel-delete: Sends a notification when an MPLS TE tunnel is deleted.
tunnelbw-change: Sends a notification when the bandwidth of an MPLS TE tunnel changes.
Usage guidelines
This command enables generating SNMP notifications for the specified MPLS TE events. These notifications are not defined in an RFC and are private MPLS TE event notifications supported by the device. For SNMP to output the private MPLS TE notifications correctly, you must also configure parameters for sending SNMP notifications. For more information about SNMP configuration, see Network Management and Monitoring Configuration Guide.
If you do not specify a parameter, this command enables all types of private SNMP notifications for MPLS TE.
Examples
# Enable all private SNMP notifications for MPLS TE.
<Sysname> system-view
[Sysname] snmp-agent trap enable te-private
switch-delay
Use switch-delay to set the time that MPLS TE must wait before switching the traffic to the new path.
Use undo switch-delay to restore the default.
Syntax
switch-delay time-value
undo switch-delay
Default
MPLS TE must wait 10000 milliseconds before switching the traffic to the new path.
Views
MPLS TE view
Predefined user roles
network-admin
Parameters
time-value: Specifies the time that MPLS TE must wait before switching the traffic to the new path, in the range of 0 to 65535000 milliseconds.
Usage guidelines
When TE attributes (bandwidth and priority, for example) of an MPLS TE tunnel change, MPLS TE establishes a new CRLSP/SRLSP compliant with the new attributes. MPLS TE uses the make-before-break mechanism to make sure the new CRLSP/SRLSP is established to take over traffic forwarding before deleting the old CRLSP/SRLSP. The mechanism starts a switching delay timer after the new CRLSP/SRLSP is established and does not switch the traffic to the new LSP until the timer expires.
When the upstream is idle but the downstream is busy, the new CRLSP/SRLSP might not be able to come up on every LSR within the switching delay time. If the upstream switches traffic to the new CRLSP/SRLSP but the CRLSP/SRLSP is not up at the downstream, traffic forwarding is interrupted. To prevent this problem, use this command to tune the switching delay time. A proper switching delay time ensures that the new CRLSP/SRLSP has enough time to come up on the entire path before traffic is switched to it.
The configured switching delay time also applied to tunnel backup and FRR. When the primary path recovers, MPLS TE waits the configured delay time before switching the traffic back to the primary path.
Examples
# Configure MPLS TE to wait 100000 milliseconds before switching the traffic to the new path.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] switch-delay 100000
te-subtlv
Use te-subtlv to specify the types of the sub-TLVs for carrying DS-TE parameters.
Use undo te-subtlv to restore the default.
Syntax
te-subtlv { bw-constraint value | unreserved-subpool-bw value } *
undo te-subtlv { bw-constraint | unreserved-subpool-bw } *
Default
The bw-constraint parameter is carried in sub-TLV 252, and the unreserved-subpool-bw parameter is carried in sub-TLV 251.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
bw-constraint value: Specifies the type value of the sub-TLV that carries the bandwidth constraints, in the range of 23 to 254.
unreserved-subpool-bw value: Specifies the type value of the sub-TLV that carries the unreserved subpool bandwidth, in the range of 23 to 254.
Usage guidelines
In prestandard mode, no standard sub-TLV type values are defined to carry DS-TE parameters. Different vendors might use different type values. To communicate with devices from other vendors, use this command to specify the sub-TLV type values.
This command takes effect when the DS-TE mode is prestandard. It does not take effect when the DE-TE mode is IETF.
Examples
# For IS-IS process 1, specify the sub-TLV type value 200 for bw-constraint, and 202 for unreserved-subpool-bw.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] te-subtlv bw-constraint 200 unreserved-subpool-bw 202
Related commands
display isis mpls te configured-sub-tlvs
te attribute enable
Use te attribute enable to enable TE for the device.
Use undo te attribute enable to disable TE on the device.
Syntax
te attribute enable [ ds-te ietf [ mam ] ]
undo te attribute enable
Default
TE is disabled on the device.
Views
System view
Predefined user roles
network-admin
Parameters
ds-te ietf: Specifies the DS-TE mode as IETF. If you do not specify this option, the DS-TE mode is prestandard.
mam: Specifies the BC model as MAM for the IETF DS-TE mode. If you do not specify this keyword, the BC model of the IETF DS-TE mode is RDM.
Usage guidelines
After TE is enabled on the device, TE can use the TE attributes configured in interface view, including the bandwidth change threshold for IGP flooding of TE information, link attribute, maximum link bandwidth, maximum reservable bandwidth of the link, TE metric of the link, and SRLGs of the interface.
In interface view, you can configure TE attributes by using the following forms of commands:
· The mpls te commands, which start with the mpls te keywords, for example, the mpls te metric command.
¡ The mpls te commands can be used only after MPLS TE is enabled on the device.
¡ When you disable MPLS TE, if TE is also disabled on the device, the mpls te commands configured in interface view are deleted; if TE is enabled, the mpls te commands configured in interface view are displayed as the corresponding te commands.
· The te commands, which start with the te keyword, for example, the te metric command.
¡ The te commands can be used only after TE is enabled for the device.
¡ When you disable TE, if MPLS TE is also disabled on the device, the te commands configured in interface view are deleted; if MPLS TE is enabled on the device, the te commands configured in interface view are displayed as the corresponding mpls te commands.
The mpls te commands and te commands have the same configuration results.
If te commands are available for configuring MPLS TE attributes, only the te commands are displayed no matter you configure the MPLS TE attributes by using the mpls te or te commands.
You can configure the DS-TE mode in both system view and MPLS TE view. MPLS TE prefers to use the configuration in MPLS TE view. It uses the configuration in system view only when no DS-TE mode is configured in MPLS TE view.
Examples
# Enable TE for the device.
<Sysname> system-view
[Sysname] te attribute enable
Related commands
mpls te
te bandwidth change thresholds
Use te bandwidth change thresholds to set the bandwidth up/down threshold for the IGP to flood TE information.
Use undo te bandwidth change thresholds to restore the default.
Syntax
te bandwidth change thresholds { down | up } percent
undo 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: Bandwidth change threshold for IGP flooding, 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.
Before you execute this command, enable the TE capability by using the te attribute enable command.
Examples
# On Ten-GigabitEthernet 3/0/1, configure the IGP to flood TE information when the link available bandwidth decreases by 100%.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] te bandwidth change thresholds down 100
Related commands
link-management periodic-flooding timer
te attribute enable
te link-attribute
Use te link-attribute to set the link attribute for TE.
Use undo te link-attribute to restore the default.
Syntax
te link-attribute attribute-value
undo te link-attribute
Default
The link attribute for TE is 0x00000000.
Views
Interface view
Predefined user roles
network-admin
Parameters
attribute-value: Attribute value of the link, a hexadecimal number in the range of 0 to ffffffff. In binary, the link attribute is a 32-bit binary number. Each bit of the value represents an attribute, which takes a value of 0 or 1.
Usage guidelines
The TE information advertised by IGP for a link includes the link attribute set by this command. When the ingress node of a tunnel receives the TE link attribute information, it compares the link attribute with the affinity attribute configured for the tunnel to determine whether the link can be used to establish the MPLS TE tunnel.
The affinity and mask for a tunnel require a link to meet the following requirements:
· The link attribute bits corresponding to the affinity'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'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.
Before you execute this command, enable the TE capability by using the te attribute enable command.
Examples
# On interface Ten-GigabitEthernet 3/0/1, set the link attribute for TE to 0x00000101.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] te link-attribute 101
Related commands
mpls te affinity-attribute
te attribute enable
te max-link-bandwidth
Use te max-link-bandwidth to set the maximum bandwidth for TE traffic on an interface.
Use undo te max-link-bandwidth to restore the default.
Syntax
te max-link-bandwidth { bandwidth-value | percent percent-bandwidth }
undo te max-link-bandwidth
Default
The maximum link bandwidth for 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 100.
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.
Before you execute this command, enable the TE capability by using the te attribute enable command.
Examples
# On Ten-GigabitEthernet 3/0/1, set the maximum link bandwidth for TE traffic to 1158 kbps.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] te max-link-bandwidth 1158
Related commands
display te link-management bandwidth-allocation
mpls te bandwidth
te attribute enable
te max-reservable-bandwidth
te max-reservable-bandwidth
Use te max-reservable-bandwidth to set the maximum reservable bandwidth of the link in prestandard DS-TE RDM model.
Use undo te max-reservable-bandwidth to restore the default.
Syntax
te max-reservable-bandwidth { bandwidth-value | percent percent-bandwidth }
undo 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 (the value of BC 0), in the range of 1 to 4294967295 kbps.
percent percent-bandwidth: Specifies the percentage of BC 0 out of the maximum link bandwidth. The value range is 1 to 100.
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 te max-link-bandwidth command.
The bandwidth values configured by this command are only for TE traffic.
Before you execute this command, enable the TE capability by using the te attribute enable command.
Examples
# Set the link maximum reservable bandwidth to 1158 kbps for TE traffic in prestandard DS-TE RDM model.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] te max-reservable-bandwidth 1158
Related commands
display te link-management bandwidth-allocation
mpls te bandwidth
te attribute enable
te max-link-bandwidth
te metric
Use te metric to assign a TE metric to the link.
Use undo te metric to restore the default.
Syntax
te metric value
undo 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.
Before you execute this command, enable the TE capability by using the te attribute enable command.
Examples
# Assign a TE metric of 20 to the link on Ten-GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] te metric 20
Related commands
mpls te path metric-type
path metric-type
te attribute enable
te srlg
Use te srlg to configure the SRLG membership of an interface.
Use undo te srlg to remove an interface from an SRLG.
Syntax
te srlg srlg-number
undo 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.
Before you execute this command, enable the TE capability by using the te attribute enable command.
Examples
# Add interface Ten-GigabitEthernet 3/0/1 to SRLG 45.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] te srlg 45
Related commands
te attribute enable
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 route-static
Use tunnel route-static to configure automatic static route advertisement.
Use undo tunnel route-static to restore the default.
Syntax
tunnel route-static [ preference preference-value ]
undo tunnel route-static
Default
Automatic static route advertisement is not configured.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
preference preference-value: Specifies a preference for the static route to be advertised, in the range of 1 to 255. The default value is 60.
Usage guidelines
IGP shortcut or forwarding adjacency is usually configured to direct traffic to an MPLS TE tunnel. On a network that contains multiple IGP areas, however, configuring IGP shortcut and forwarding adjacency causes route convergence failure. As a result, traffic cannot be forwarded over the MPLS TE tunnel. To direct traffic to an MPLS TE tunnel in this scenario, you can execute the tunnel route-static command on the ingress node of the MPLS TE tunnel. This command creates a static route whose destination address and output interface are the tunnel destination address and the tunnel interface, respectively.
Examples
# Configure automatic static route advertisement on Tunnel 1 and set the preference to 3.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mpls-te
[Sysname-Tunnel1] tunnel route-static preference 3
Related commands
mpls te igp advertise
mpls te igp shortcut
tunnel-attribute prefer
Use tunnel-attribute prefer to configure the global attribute usage preference for MPLS TE tunnel setup.
Use undo tunnel-attribute prefer to restore the default.
Syntax
tunnel-attribute prefer { local | pce } *
undo tunnel-attribute prefer
Default
The device uses the attributes received from a PCE to establish MPLS TE tunnels.
Views
MPLS TE view
Predefined user roles
network-admin
Parameters
pce: Uses the attributes carried in the Update or Initial messages received from a PCE to establish MPLS TE tunnels.
local: Uses the locally configured attributes to establish MPLS TE tunnels.
Usage guidelines
If only the local or pce keyword is specified, the device obtains the attributes from the attribute source specified by the keyword. For attributes that cannot be obtained the specified attribute source, the device uses the default values of the attributes.
If both the local and pce keywords are specified, the device prefers to use the attribute source indicated by the first keyword in the command. For attributes that cannot be obtained from that attribute source, the device obtains the attributes from the attribute source specified by the second keyword. For attributes that cannot be obtained from neither the local nor the PCE attribute source, the device uses the default values of the attributes.
This command applies to the following attributes: bandwidth, affinity, setup and holding priorities, explicit path, link metric type, TE metric of a link, and BSID. For other attributes, the device always uses the locally configured values.
The attribute usage preference can be configured in both tunnel interface view and MPLS TE view. The configuration in MPLS TE view applies to all MPLS TE tunnels. The configuration in tunnel interface view applies only to the current MPLS TE tunnel. For an MPLS TE tunnel, the configuration in tunnel interface view has a higher priority than the configuration in MPLS TE view.
Examples
# Configure the device to use locally configured attributes to establish MPLS TE tunnels.
<Sysname> system-view
[Sysname] mpls te
[Sysname-te] tunnel-attribute prefer local
Related commands
mpls te tunnel-attribute prefer
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 range is 0 to 32767 for both the min-number and max-number arguments.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