R3303-HP HSR6800 Routers MPLS Configuration Guide
120
GE 2/1/1 4.1.1.2/24
Configuration procedure
1. Configure IP addresses and masks for the interfaces according to Figure 31. (Details not shown.)
2. Configure the IGP protocol:
# 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. Take Router A for example:
<RouterA> display ip routing-table
Routing Tables: Public
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
2.1.1.0/24 Direct 0 0 2.1.1.1 GE2/1/1
2.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.2/32 ISIS 15 10 2.1.1.2 GE2/1/1
3.1.1.0/24 ISIS 15 20 2.1.1.2 GE2/1/1
3.2.1.0/24 ISIS 15 20 2.1.1.2 GE2/1/1
3.3.1.0/24 ISIS 15 30 2.1.1.2 GE2/1/1
3.3.3.3/32 ISIS 15 20 2.1.1.2 GE2/1/1
4.1.1.0/24 ISIS 15 30 2.1.1.2 GE2/1/1
4.4.4.4/32 ISIS 15 30 2.1.1.2 GE2/1/1
5.5.5.5/32 ISIS 15 20 2.1.1.2 GE2/1/1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
3. Configure basic MPLS TE, and enable RSVP-TE and CSPF:
# Configure Router A.
<RouterA> system-view
[RouterA] mpls lsr-id 1.1.1.1
[RouterA] mpls
[RouterA-mpls] mpls te
[RouterA-mpls] mpls rsvp-te
[RouterA-mpls] mpls te cspf
[RouterA-mpls] quit
[RouterA] interface giabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] mpls
[RouterA-GigabitEthernet2/1/1] mpls te
[RouterA-GigabitEthernet2/1/1] mpls rsvp-te
[RouterA-GigabitEthernet2/1/1] quit
# 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