278
Figure 70
Network diagram
Device Interface
IP
address
Device
Interface IP
address
PE 1
Loop0
2.2.2.9/32
PE 2
Loop0
5.5.5.9/32
Vlan-int1
30.0.0.1/8
Vlan-int1 20.0.0.1/8
Vlan-int2
1.1.1.2/8
Vlan-int2 9.1.1.2/8
ASBR-PE 1
Loop0
3.3.3.9/32
ASBR-PE 2
Loop0
4.4.4.9/32
Vlan-int1
1.1.1.1/8
Vlan-int1 9.1.1.1/8
Vlan-int2
11.0.0.2/8
Vlan-int2 11.0.0.1/8
Configuration procedure
1.
Configure PE 1.
# Run IS-IS on PE 1.
<PE1> system-view
[PE1] isis 1
[PE1-isis-1] network-entity 10.1111.1111.1111.1111.00
[PE1-isis-1] quit
# Configure LSR ID, enable MPLS and LDP.
[PE1] mpls lsr-id 2.2.2.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
# Configure interface VLAN-interface 2, start IS-IS and enable MPLS and LDP on the interface.
[PE1] interface vlan-interface 2
[PE1-Vlan-interface2] ip address 1.1.1.2 255.0.0.0
[PE1-Vlan-interface2] isis enable 1
[PE1-Vlan-interface2] mpls
[PE1-Vlan-interface2] mpls ldp
[PE1-Vlan-interface2] quit