R3303-HP HSR6800 Routers MPLS Configuration Guide

59
Configuring CSPF
With CSPF enabled, a node uses CSPF to calculate the shortest path that satisfies TE requirements.
To configure CSPF:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS view.
mpls N/A
3. Enable CSPF on your device.
mpls te cspf Disabled by default.
Configuring OSPF TE
Configure OSPF TE if the routing protocol is OSPF and a dynamic signaling protocol is used for MPLS TE
tunnel setup.
The OSPF TE extension uses Opaque Type 10 LSAs to carry TE attributes of links. Before configuring
OSPF TE, you must enable the opaque capability of OSPF. In addition, for TE LSAs to be generated, at
least one neighbor must be in full state. For more information about OSPF opaque LSA, see Layer 3—IP
routing Configuration Guide.
MPLS TE cannot reserve resources and distribute labels on OSPF virtual links. MPLS TE cannot establish
an LSP tunnel through an OSPF virtual link. Make sure no virtual links exist in the OSPF routing domain
when configuring OSPF TE.
To configure OSPF TE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter OSPF view.
ospf [ process-id ] N/A
3. Enable the opaque LSA
capability.
opaque-capability enable Disabled by default.
4. Enter OSPF area view.
area area-id N/A
5. Enable MPLS TE in the OSPF
area.
mpls-te enable Disabled by default.
6. Exit to OSPF view.
quit N/A
Configuring IS-IS TE
Configure IS-IS TE if the routing protocol is IS-IS and a dynamic signaling protocol is used for MPLS TE
tunnel setup. If both OSPF TE and IS-IS TE are available, OSPF TE takes priority.
The IS-IS TE extension uses the sub-TLV of IS reachability TLV (type 22) to carry TE attributes. Before
configuring IS-IS TE, configure the IS-IS wide metric style, which can be wide, compatible, or
wide-compatible.
According to RFC 3784, the length of the IS reachability TLV (type 22) might reach the maximum of 255
bytes. For an IS-IS LSP to carry this type of TLV and to be flooded correctly on all IS-IS enabled interfaces,
the MTU of any of the interfaces cannot be less than 284 bytes (including 27 bytes of LSP header and two
bytes of TLV header). If an LSP must also carry the authentication information, the minimum MTU needs
to be recalculated according to the packet structure. Because of these reasons, when TE is configured, set