Specifications

Table Of Contents
tunnel mpls traffic-eng affinity
MP-851
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
tunnel mpls traffic-eng affinity
To configure an affinity (the properties the tunnel requires in its links) for a Multiprotocol Label
Switching (MPLS) traffic engineering tunnel, use the tunnel mpls traffic-eng affinity command in
interface configuration mode. To disable the MPLS traffic engineering tunnel affinity, use the no form
of this command.
tunnel mpls traffic-eng affinity p
roperties [mask mask value]
no tunnel mpls traffic-eng affinity p
roperties [mask mask value]
Syntax Description
Defaults properties:
0X00000000
mask value:
0X0000FFFF
Command Modes Interface configuration
Command History
Usage Guidelines The affinity determines the attributes of the links that this tunnel will use (that is, the attributes for which
th
e tunnel has an affinity). The attribute mask determines which link attribute the router should check.
If a bit in the mask is 0, an attribute value of a link or that bit is irrelevant. If a bit in the mask is 1, the
attribute value of a link and the required affinity of the tunnel for that bit must match.
A tunnel can use a link if the tunnel affinity equals the link attributes and the tunnel affinity mask.
Any properties set to 1 in the affinity should also be 1 in the mask. In other words, affinity and mask
sh
ould be set as follows:
tunnel_affinity = (tunnel_affinity and tunnel_affinity_mask)
properties Attribute values required for links carrying this tunnel. A 32-bit decimal
number. Valid values are from 0x0 to 0xFFFFFFFF, representing 32
attributes (bits), where the value of an attribute is 0 or 1.
mask ma
sk value (Optional) Link attribute to be checked. A 32-bit decimal number. Valid
values are from 0x0 to 0xFFFFFFFF, representing 32 attributes (bits),
where the value of an attribute is 0 or 1.
Release Modification
12.0(5)S This command was introduced.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.