R3303-HP HSR6800 Routers MPLS Command Reference

144
Examples
# Configure tunnel 0 to provide protection for LSPs of CT 0 without constraining the bandwidth to be
protected. Configure tunnel 1 to provide protection for LSPs of CT 1 and protect up to 1000 kbps
bandwidth.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te backup bandwidth ct0 un-limited
[Sysname-Tunnel0] quit
[Sysname] interface tunnel 1
[Sysname-Tunnel1] mpls te backup bandwidth ct1 1000
mpls te bandwidth
Use mpls te bandwidth to assign bandwidth to the MPLS TE tunnel and specify the service class type to
which the tunnel's traffic belong.
Use undo mpls te bandwidth to restore the default.
Syntax
mpls te bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth
undo mpls te bandwidth
Default
The bandwidth assigned to an MPLS TE tunnel is 0 and the tunnel's traffic belongs to CT 0.
Views
Tunnel interface view
Default command level
2: System level
Parameters
ct0: Specifies the tunnel traffic's CT as CT 0.
ct1: Specifies the tunnel traffic's CT as CT 1.
ct2: Specifies the tunnel traffic's CT as CT 2.
ct3: Specifies the tunnel traffic's CT as CT 3.
bandwidth: Bandwidth needed by the MPLS TE tunnel, in the range of 1 to 32000000 kbps.
Usage guidelines
If no CT is specified, the tunnel's traffic belongs to CT 0.
If an MPLS TE tunnel needs a bandwidth greater than 1024 kbps, set the bandwidth value to a multiple
of 1024 kbps.
Examples
# Assign 1000 Kbps bandwidth to MPLS TE tunnel 0 and specify the CT of the tunnel's traffic as CT 1.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te bandwidth ct1 1000