
111
[RouterA] ip route-static 30.1.1.2 24 tunnel 2 preference 1
Execute the
display ip routing-table
command on Router A. You can see a static route entry
with Tunnel2 as the outgoing interface.
CR-LSP backup configuration example
Network requirements
Set up an MPLS TE tunnel from Router A to Router C. Use CR-LSP hot backup for it.
Figure 30 Network diagram
Device
Interface
IP address
Device
Interface
IP address
Router A
Loop0
1.1.1.9/32
Router D
Loop0
4.4.4.9/32
GE
2/1/1
10.1.1.1/24
POS
5/1/0
30.1.1.2/24
POS
5/1/1
30.1.1.1/24
POS
5/1/1
40.1.1.1/24
Router B
Loop0
2.2.2.9/32
Router C
Loop0
3.3.3.9/32
GE
2/1/1
10.1.1.2/24
GE
2/1/1
20.1.1.2/24
GE
2/1/2
20.1.1.1/24
POS
5/1/1
40.1.1.2/24
Configuration procedure
1.
Configure IP addresses and masks for the interfaces according to
shown.)
2.
Enable IS-IS to advertise host routes with LSR IDs as destinations on each node. (Details not
shown.)
Execute the
display ip routing-table
command on each router. You can see that all nodes
have learned the host routes of other nodes with LSR IDs as destinations.
3.
Configure basic MPLS TE, and enable RSVP-TE and CSPF:
<RouterA> system-view
[RouterA] mpls lsr-id 1.1.1.9
[RouterA] mpls
[RouterA-mpls] mpls te
[RouterA-mpls] mpls rsvp-te
[RouterA-mpls] mpls te cspf
[RouterA-mpls] quit