Specifications

Table Of Contents
Multiprotocol Label Switching Commands
affinity (LSP Attributes)
MP-4
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
affinity (LSP Attributes)
To specify attribute flags for links of a label switched path (LSP) in an LSP attribute list, use the affinity
command in LSP Attributes configuration mode. To remove the specified attribute flags, use the no form
of this command.
affinity va
lue [mask value]
no aff
inity
Syntax Description
Command Default Attribute values are not checked.
Command Modes LSP Attributes configuration (config-lsp-attr)
Command History
Usage Guidelines Use this command to set the affinity and affinity mask values for an LSP in an LSP attribute list.
The affinity value determines the attribute flags for links that make up the LSP, either 0 or 1. The attribute
m
ask determines which attribute value 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 LSP for that bit must match.
An LSP can use a link if the link affinity equals the attribute flag value and the affinity mask value.
Any value set to 1 in the affinity should also be set to 1 in the mask.
To associate the LSP affinity attribute and the LSP attribute list with a path option for an LSP, you must
co
nfigure the tunnel mpls traffic-eng path option command with the attributes string keyword and
argument, where string is the identifier for the specific LSP attribute list.
value Attribute flag value required for links that make up an LSP. Values of the bits
a
re either 0 or 1.
mask va
lue (Optional) Indicates which attribute values should be checked. If a bit in the
mask is 0, an attribute value of the link or that bit is irrelevant. If a bit in the
mask is 1, the attribute value of that link and the required affinity of the
tunnel for that bit must match.
Release Modification
12.0(26)S This command was introduced.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.
12.4(20)T This command was integrated into Cisco IOS Release 12.4(20)T.