105
Figure 31 Network diagram
Table 6 Interface and IP address assignment
Switch A Loop0 1.1.1.9/32 Switch D
Loop0
4.4.4.9/32
Vlan-int1 10.1.1.1/24 Vlan-int4 30.1.1.2/24
Vlan-int4 30.1.1.1/24 Vlan-int3 40.1.1.1/24
Switch B Loop0 2.2.2.9/32 Switch C
Loop0
3.3.3.9/32
Vlan-int1 10.1.1.2/24 Vlan-int2 20.1.1.2/24
Vlan-int2 20.1.1.1/24 Vlan-int3 40.1.1.2/24
Configuration procedure
1. Configure IP addresses and masks for interfaces. (Details not shown.)
2. Configure IS-IS to advertise interface addresses, including the loopback interface address.
(Details not shown.)
3. Configure an LSR ID, and enable MPLS, MPLS TE, and RSVP-TE:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] mpls lsr-id 1.1.1.9
[SwitchA] mpls te
[SwitchA-te] quit
[SwitchA] rsvp
[SwitchA-rsvp] quit
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] mpls enable
[SwitchA-Vlan-interface1] mpls te enable
[SwitchA-Vlan-interface1] rsvp enable
[SwitchA-Vlan-interface1] quit
[SwitchA] interface vlan-interface 4
[SwitchA-Vlan-interface4] mpls enable
[SwitchA-Vlan-interface4] mpls te enable
Switch A
Loop0
Vlan-int1
Switch B Switch C
Switch D
Loop0
Loop0
Vlan-int1
Vlan-int2
Vlan-int2
Vlan-int4 Vlan-int3
Vlan-int4 Vlan-int3
Loop0