3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-35
Note:
The configuration on VPN-B is similar to that on VPN-A and only VPN-A configuration is
detailed here.
[PE1] ip vpn-instance vpna
[PE1-vpn-vpna] route-distinguisher 100:1
[PE1-vpn-vpna] vpn-target 100:1 both
[PE1-vpn-vpna] quit
Bind the VLAN interface connecting PE 1 and CE-1 to VPN-A.
[PE1] vlan 10
[PE1-vlan10] interface vlan-interface 10
[PE1-vlan-interface10] ip binding vpn-instance vpna
[PE1-vlan-interface10] ip address 20.1.1.2 255.255.255.0
[PE1-vlan-interface10] quit
Configure a basic IP ACL to allow redirection of all IP packets on CE.
[PE1] acl number 2000
[PE1-acl-basic-2000] rule 0 permit source any
[PE1-acl-basic-2000] quit
[PE1] interface Ethernet 2/1/1
[PE1-Ethernet2/1/1] traffic-redirect inbound ip-group 2000 rule 0 interface
GigabitEthernet 3/3/3 10 l3-vpn
Create EBGP neighborhood between PE 1 and CE-1 and import the direct routes of the
VPN-instance.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpna
[PE1-bgp-af-vpn-instance] group 20 external
[PE1-bgp-af-vpn-instance] peer 20.1.1.1 group 20 as-number 65410
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] quit
[PE1-bgp] quit
Create MP-IBGP neighborhood between PE 1 and PE 2 to exchange VPN routing
information between them, enable the IBGP peer in VPNv4 address family view.
[PE1] bgp 100
[PE1-bgp] group 2
[PE1-bgp] peer 2.2.2.9 group 2
[PE1-bgp] peer 2.2.2.9 connect-interface loopback0
[PE1-bgp] ipv4-family vpnv4
[PE1-bgp-af-vpn] peer 2 enable
[PE1-bgp-af-vpn] peer 2.2.2.9 group 2