3Com Router 3000 Ethernet Family
Configuration Guide
[CE1-Ethernet1] ip address 168.1.1.2 255.255.0.0
[CE1-Ethernet1] quit
# Configure a VPN instance on PE1 and bind it to the interface connecting to CE1.
[PE1] ip vpn-instance vpna
[PE1-vpn-vpn-vpna] route-distinguisher 100:2
[PE1-vpn-vpn-vpna] vpn-target 100:1 both
[PE1-vpn-vpn-vpna] quit
[PE1] interface ethernet 2/0/0
[PE1-Ethernet2/0/0] ip binding vpn-instance vpna
[PE1-Ethernet2/0/0] ip address 168.1.1.1 255.255.0.0
[PE1-Ethernet2/0/0] quit
# Configure CE2.
[CE2] interface ethernet 1
[CE2-Ethernet1] ip address 168.2.2.2 255.255.0.0
[CE2-Ethernet1] quit
# Configure a VPN instance on PE2 and bind it to the interface connecting to CE2.
[PE2] ip vpn-instance vpna
[PE2-vpn-instance] route-distinguisher 200:2
[PE2-vpn-instance] vpn-target 100:1 both
[PE2-vpn-instance] quit
[PE2] interface ethernet 2/0/0
[PE2-Ethernet2/0/0] ip binding vpn-instance vpna
[PE2-Ethernet2/0/0] ip address 168.2.2.1 255.255.0.0
[PE2-Ethernet2/0/0] quit
After the configuration, you can see the VPN instance configuration by executing the
display ip vpn-instance verbose command on PEs. CEs can be pinged successfully
on PEs.
When pinging CE on PE, you need to specify the VPN to which the destination address
belongs.
For example, ping CE1 on PE1:
[PE1] ping -vpn-instance vpna 168.1.1.2
4)
Configuring MP-BGP, establishing IBGP peer relationship between PEs, and
establishing EBGP peer relationship between PE and CE
Chapter 3 BGP/MPLS VPN Configuration
3Com Corporation
3-94