68
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an IS-IS process and
enter IS-IS view.
isis
[
process-id
]
By default, no IS-IS process exists.
3.
Specify a metric style.
cost-style
{
wide
|
wide-compatible
|
compatible
[
relax-spf-limit
] }
By default, only narrow metric style
packets can be received and sent.
For more information about this
command, see
Layer 3—IP Routing
Command Reference
.
4.
Enable MPLS TE for the IS-IS
process.
mpls te enable
[
Level-1
|
Level-2
]
By default, an IS-IS process does not
support MPLS TE.
5.
Specify the types of the
sub-TLVs for carrying DS-TE
parameters.
te-subtlv
{
bw-constraint
value
|
unreserved-bw-sub-pool
value
} *
By default, the
bw-constraint
parameter is carried in sub-TLV 252,
and the
unreserved-bw-sub-pool
parameter is carried in sub-TLV 251.
Configuring MPLS TE tunnel constraints
Perform this task on the ingress node of the MPLS TE tunnel.
Configuring bandwidth constraints for an MPLS TE tunnel
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS TE tunnel interface
view.
interface tunnel
tunnel-number
[
mode
mpls-te
]
N/A
3.
Configure bandwidth
required for the tunnel, and
specify a CT for the tunnel's
traffic.
mpls te bandwidth
[
ct0
|
ct1
|
ct2
|
ct3
]
bandwidth
By default, no bandwidth is
assigned, and the class type is CT
0.
Configuring the affinity attribute for an MPLS TE tunnel
The associations between the link attribute and the affinity attribute might vary by vendor. To ensure the
successful establishment of a tunnel between two devices from different vendors, correctly configure their
respective link attribute and affinity attribute.
To configure the affinity attribute for an MPLS TE tunnel:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS TE tunnel interface
view.
interface tunnel
tunnel-number
[
mode
mpls-te
]
N/A
3.
Configure an affinity for the
MPLS TE tunnel.
mpls te affinity-attribute
attribute-value
[
mask
mask-value
]
By default, the affinity is
0x00000000, and the mask is
0x00000000. The default affinity
matches all link attributes.