87
Step Command
Remarks
4.
Set the maximum
reservable bandwidth.
•
Configure the maximum reservable
bandwidth of the link (BC 0) and BC 1
in RDM model of the prestandard
DS-TE:
mpls te max-reservable-bandwidth
bandwidth-value
[
bc1
bc1-bandwidth
]
•
Configure the maximum reservable
bandwidth of the link and the BCs in
MAM model of the IETF DS-TE:
mpls te max-reservable-bandwidth
mam
bandwidth-value
{
bc0
bc0-bandwidth
|
bc1
bc1-bandwidth
|
bc2
bc2-bandwidth
|
bc3
bc3-bandwidth
} *
•
Configure the maximum reservable
bandwidth of the link and the BCs in
RDM model of the IETF DS-TE:
mpls te max-reservable-bandwidth
rdm
bandwidth-value
[
bc1
bc1-bandwidth
] [
bc2
bc2-bandwidth
]
[
bc3
bc3-bandwidth
]
Use one command according
to the DS-TE mode and BC
model configured in
"
."
By default, the maximum
reservable bandwidth of a
link is 0 kbps and each BC is
0 kbps.
In RDM model, BC 0 is the
maximum reservable
bandwidth of a link.
5.
Set the link attribute.
mpls te link-attribute
attribute-value
By default, the link attribute
value is 0x00000000.
Advertising link TE attributes by using IGP TE extension
Both OSPF and IS-IS are extended to advertise link TE attributes. The extensions are called OSPF
TE and IS-IS TE. If both OSPF TE and IS-IS TE are available, OSPF TE takes precedence.
Configuring OSPF TE
OSPF TE uses Type-10 opaque LSAs to carry the TE attributes for a link. Before you configure
OSPF TE, you must enable opaque LSA advertisement and reception by using the
opaque-capability enable
command. For more information about opaque LSA advertisement and
reception, see
Layer 3—IP Routing Configuration Guide
.
MPLS TE cannot reserve resources and distribute labels for an OSPF virtual link, and cannot
establish a CRLSP through an OSPF virtual link. Therefore, make sure no virtual link exists in an
OSPF area before you configure MPLS TE.
To configure OSPF TE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
]
N/A
3.
Enable opaque LSA
advertisement and
reception.
opaque-capability enable
By default, opaque LSA
advertisement and reception are
enabled.
For more information about this
command, see
Layer 3—IP Routing
Command Reference
.
4.
Enter area view.
area
area-id
N/A
5.
Enable MPLS TE for the
OSPF area.
mpls te enable
By default, MPLS TE is disabled for
an OSPF area.