290
[CE1-Pos1/1/0] isis enable 2
[CE1-Pos1/1/0] mpls enable
[CE1-Pos1/1/0] mpls ldp enable
[CE1-Pos1/1/0] quit
An LDP session and IS-IS neighbor relationship can be established between PE 3 and CE 1.
# Configure PE 4 and CE 2 in the same way that PE 3 and CE 1 are configured. (Details not
shown.)
3.
Connect CE 1 and CE 2 to service provider PEs:
# Configure PE 1.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 200:1
[PE1-vpn-instance-vpn1] vpn-target 1:1
[PE1-vpn-instance-vpn1] quit
[PE1] interface pos 1/1/0
[PE1-Pos1/1/0] ip binding vpn-instance vpn1
[PE1-Pos1/1/0] ip address 11.1.1.2 24
[PE1-Pos1/1/0] mpls enable
[PE1-Pos1/1/0] quit
[PE1] bgp 100
[PE1-bgp-default] ip vpn-instance vpn1
[PE1-bgp-default-vpn1] peer 11.1.1.1 as-number 200
[PE1-bgp-default-vpn1] address-family ipv4
[PE1-bgp-default-ipv4-vpn1] peer 11.1.1.1 enable
[PE1-bgp-default-ipv4-vpn1] quit
[PE1-bgp-default-vpn1] quit
[PE1-bgp-default] quit
# Configure CE 1.
[CE1] interface pos 1/1/1
[CE1-Pos1/1/1] ip address 11.1.1.1 24
[CE1-Pos1/1/1] mpls enable
[CE1-Pos1/1/1] quit
[CE1] bgp 200
[CE1-bgp-default] peer 11.1.1.2 as-number 100
[CE1-bgp-default-vpn1] address-family ipv4
[CE1-bgp-default-ipv4-vpn1] peer 11.1.1.2 enable
[CE1-bgp-default-ipv4-vpn1] quit
[CE1-bgp-default] quit
# Configure PE 2 and CE 2 in the same way that PE 1 and CE 1 are configured. (Details not
shown.)
4.
Connect sub-VPN CEs to the customer VPN PEs:
# Configure CE 3.
<CE3> system-view
[CE3] interface gigabitethernet 1/1/1
[CE3-GigabitEthernet1/1/1] ip address 100.1.1.1 24
[CE3-GigabitEthernet1/1/1] quit
[CE3] bgp 65410
[CE3-bgp-default] peer 100.1.1.2 as-number 200
[CE3-bgp-default] address-family ipv4 unicast