R3303-HP HSR6800 Routers MPLS Command Reference

159
Usage guidelines
The value of BC 0 (bandwidth-value) must be greater than or equal to that of BC 1 (bc1-bandwidth). The
value of BC 1 (bc1-bandwidth) must be greater than or equal to that of BC 2 (bc2-bandwidth). The value
of BC 2 (bc2-bandwidth) must be greater than or equal to that of BC 3 (bc3-bandwidth).
The bandwidth constraints configured by this command are used only for MPLS TE traffic.
Examples
# Set BC 0 in IETF RDM model to 500 kbps, BC 1 to 400 kbps, BC 2 to 300 kbps, and BC 3 to 100 kbps.
<Sysname> system-view
[Sysname] interface giabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls te max-reservable-bandwidth rdm 500 bc1 400 bc2 300
bc3 100
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
The link uses its IGP metric as its TE metric.
Views
Interface view
Default command level
2: System level
Parameters
value: TE metric of the link, in the range of 0 to 4294967295.
Examples
# Assign a TE metric of 20 to the link on interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface giabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls te metric 20
Related commands
mpls te path metric-type
mpls te path
Use mpls te path to specify a path for the tunnel to use and set the preference of the path.
Use undo mpls te path to remove a path used by the tunnel.