R2511-HP MSR Router Series MPLS Configuration Guide(V5)

416
[PE1-POS5/1] mpls te
[PE1-POS5/1] mpls rsvp-te
[PE1-POS5/1] quit
# Configure PE 2.
[PE2] mpls lsr-id 3.3.3.3
[PE2] mpls
[PE2-mpls] lsp-trigger all
[PE2-mpls] mpls te
[PE2-mpls] mpls rsvp-te
[PE2-mpls] mpls te cspf
[PE2-mpls] quit
[PE2] interface pos 5/1
[PE2-POS5/1] mpls
[PE2-POS5/1] mpls te
[PE2-POS5/1] mpls rsvp-te
[PE2-POS5/1] quit
3. Enable OSPF TE:
# Configure PE 1.
[PE1] ospf
[PE1-ospf-1] opaque-capability enable
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] mpls-te enable
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure PE 2.
[PE2] ospf
[PE2-ospf-1] opaque-capability enable
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] mpls-te enable
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
4. Configure an MPLS TE tunnel:
# Create a TE tunnel with PE 1 as the ingress node and PE 2 as the egress node. The signaling
protocol is RSVP-TE.
[PE1] interface tunnel 1
[PE1-Tunnel1] ip address 12.1.1.1 255.255.255.0
[PE1-Tunnel1] tunnel-protocol mpls te
[PE1-Tunnel1] destination 3.3.3.3
[PE1-Tunnel1] mpls te tunnel-id 10
[PE1-Tunnel1] mpls te signal-protocol RSVP-TE
[PE1-Tunnel1] mpls te commit
[PE1-Tunnel1] quit
# Execute the display interface tunnel command on PE 1. The output shows that the tunnel interface
is up.
5. Configure the VPN instance on each PE, and bind it to the interface connected to the CE:
# Configure CE 1.
<CE1> system-view