
31
Figure 13 Network diagram
Configuration considerations
•
On an LSP, the outgoing label of an upstream LSR must be identical with the incoming label of
its downstream LSR.
•
Configure an LSP for each direction on the forwarding path.
•
Configure a static route to the destination address of the LSP on each ingress node. Such a
route is not required on the transit and egress nodes. You do not need to configure any routing
protocol on the routers.
Configuration procedure
1.
Configure IP addresses for the interfaces, according to
. (Details not shown.)
2.
Configure a static route to the FEC destination address on each ingress node:
# Configure a static route to network 21.1.1.0/24 on Router A.
<RouterA> system-view
[RouterA] ip route-static 21.1.1.0 24 10.1.1.2
# Configure a static route to network 11.1.1.0/24 on Router C.
<RouterC> system-view
[RouterC] ip route-static 11.1.1.0 255.255.255.0 20.1.1.1
3.
Enable MPLS:
# Configure MPLS on Router A.
[RouterA] mpls lsr-id 1.1.1.9
[RouterA] mpls
[RouterA-mpls] quit
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] mpls
[RouterA-Serial2/1/0] quit
# Configure MPLS on Router B.
[RouterB] mpls lsr-id 2.2.2.9
[RouterB] mpls
[RouterB-mpls] quit
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] mpls
[RouterB-Serial2/1/0] quit
[RouterB] interface serial 2/1/1
[RouterB-Serial2/1/1] mpls
[RouterB-Serial2/1/1] quit
# Configure MPLS on Router C.