R3303-HP HSR6800 Routers MPLS Configuration Guide
137
[RouterE] mpls
[RouterE-mpls] mpls te
[RouterE-mpls] mpls rsvp-te
[RouterE-mpls] mpls te cspf
[RouterE-mpls] quit
[RouterE] interface pos 5/1/0
[RouterE-POS5/1/0] mpls
[RouterE-POS5/1/0] mpls te
[RouterE-POS5/1/0] mpls rsvp-te
[RouterE-POS5/1/0] quit
[RouterE] interface pos 5/1/1
[RouterE-POS5/1/1] mpls
[RouterE-POS5/1/1] mpls te
[RouterE-POS5/1/1] mpls rsvp-te
[RouterE-POS5/1/1] quit
# Configure Router C.
<RouterC> system-view
[RouterC] mpls lsr-id 3.3.3.3
[RouterC] mpls
[RouterC-mpls] mpls te
[RouterC-mpls] mpls rsvp-te
[RouterC-mpls] mpls te cspf
[RouterC-mpls] quit
[RouterC] interface pos 5/1/0
[RouterC-POS5/1/0] mpls
[RouterC-POS5/1/0] mpls te
[RouterC-POS5/1/0] mpls rsvp-te
[RouterC-POS5/1/0] quit
5. Create an MPLS TE tunnel on Router B:
{ Configure IGP shortcut or a static route for the MPLS TE tunnel, so that IP routing prefers the
MPLS TE tunnel interface as the outgoing interface.
{ Enable MPLS on the MPLS TE tunnel interface.
{ Configure the LSR ID of the tunnel egress node as the tunnel destination.
# Configure an MPLS TE tunnel.
[RouterB] interface tunnel 4
[RouterB-Tunnel4] ip address 10.1.1.1 255.255.255.0
[RouterB-Tunnel4] tunnel-protocol mpls te
[RouterB-Tunnel4] destination 3.3.3.3
[RouterB-Tunnel4] mpls te tunnel-id 10
# Configure IGP shortcut.
[RouterB-Tunnel4] mpls te igp shortcut
[RouterB-Tunnel4] mpls te igp metric relative -1
[RouterB-Tunnel4] mpls te commit
# Enable MPLS.
[RouterB-Tunnel4] mpls
[RouterB-Tunnel4] quit