1616
C
96: MPLS TE C
HAPTER
mpls te affinity property
Syntax
View
Parameter
Description
Related command:
Example
mpls te auto-bandwidth
Syntax
View
Parameter
C
ONFIGURATION
OMMANDS
mpls te affinity property properties [ mask mask-value ]
undo mpls te affinity property
Tunnel interface view
properties: Link properties affinity attribute of the tunnel, a 32-bit integer in the
range 0x0 to 0xFFFFFFFF. Each affinity bit represents a property with a value of 1 or
0.
mask-value: 32-bit mask comprising 0s and 1s, in the range 0x0 to 0xFFFFFFFF.
This mask is used when ANDing the link affinity attribute with the link
administrative group attribute. The affinity bits corresponding to the 1s in the
mask are "do care" bits which must be considered while those corresponding to
the 0s in the mask are "don't care" bits.
Use the
mpls te affinity property
attribute of the tunnel.
Use the
undo mpls te affinity property
The default affinity attribute of the tunnel is 0x00000000 and the mask is
0x00000000.
The affinity attribute of an MPLS TE tunnel identifies the properties of the links
that the tunnel can use.
mpls te link administrative group.
# Configure the link affinity attribute of tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te affinity property 101 mask 303
mpls te auto-bandwidth { adjustment | collect-bw } [ frequency seconds ] [ max-bw
max-bandwidth | min-bw min-bandwidth ] *
undo mpls te auto-bandwidth
Tunnel interface view
adjustment: Automatically adjusts the bandwidth of the tunnel.
collect-bw: Collects output rates of the tunnel without tuning bandwidth.
command to configure the link affinity
command to restore the default.