R3303-HP HSR6800 Routers MPLS Configuration Guide

136
Figure 33 Network diagram
Device Interface IP address
Device
Interface
IP address
Router A Loop0 1.1.1.1/32 Router E Loop0 5.5.5.5/32
GE2/1
/
1 2.1.1.1/24
POS5/1/0 3.2.1.2
/
24
Router B Loop0 2.2.2.2/32
POS5/1/1 3.3.1.1/24
GE2/1/1 2.1.1.2/24 Router C Loop0 3.3.3.3/32
GE2/1/2 3.1.1.1/24
GE2/1
/
1 4.1.1.1/24
POS5/1/0 3.2.1.1/24
GE2/1/2 3.1.1.2/24
Router D Loop0 4.4.4.4/32 POS5/1/1 3.3.1.2/24
GE2/1/1 4.1.1.2/24
Configuration procedure
1. Configure IP addresses and masks for the interfaces according to Figure 33. (Details not shown.)
2. Enable OSPF on each router to advertise subnets to which interfaces belong and the host routes
with LSR IDs as destinations. (Details not shown.)
3. Configure MPLS LDP basic settings on Router A and Router D. (Details not shown.)
4. Configure basic MPLS TE and enable RSVP-TE and CSPF on Router B, Router C and Router E:
# Configure Router B.
<RouterB> system-view
[RouterB] mpls lsr-id 2.2.2.2
[RouterB] mpls
[RouterB-mpls] mpls te
[RouterB-mpls] mpls rsvp-te
[RouterB-mpls] mpls te cspf
[RouterB-mpls] quit
[RouterB] interface pos 5/1/0
[RouterB-POS5/1/0] mpls
[RouterB-POS5/1/0] mpls te
[RouterB-POS5/1/0] mpls rsvp-te
[RouterB-POS5/1/0] quit
# Configure Router E.
<RouterE> system-view
[RouterE] mpls lsr-id 5.5.5.5