3Com Switch 8800 Family Configuration Guide
Typical BGP/MPLS VPN Configuration Example 593
[cust_pe2-bgp] ipv4-family vpnv4
[cust_pe2-bgp-af-vpn] peer ebgp enable
[cust_pe2-bgp-af-vpn] peer 2.1.1.2 group ebgp
4 On each Customer PE, configure the sub-VPN that accesses the network through
the Customer PE.
# Configure cust_pe1.
[cust_pe1] ip vpn-instance vpn1
[cust_pe1-vpn-instance] route-distinguisher 1:1
[cust_pe1-vpn-instance] vpn-target 1:1
[cust_pe1-vpn-instance] quit
[cust_pe1] interface vlan 510
[cust_pe1-Vlan-interface510] ip binding vpn-instance vpn1
[cust_pe1- Vlan-interface510] ip address 15.1.1.2 255.0.0.0
[cust_pe1-Vlan-interface510] quit
[cust_pe1] bgp 600
[cust_pe1-bgp] undo peer ebgp enable
[cust_pe1-bgp] ipv4-family vpn-instance vpn1
[cust_pe1-bgp-af-vpn-instance] group cegroup external
[cust_pe1-bgp-af-vpn-instance] peer 15.1.1.1 group cegroup as-number 50001
[cust_pe1-bgp-af-vpn-instance] quit
[cust_pe1-bgp] quit
# Configure cust_pe2
[cust_pe2] ip vpn-instance vpn1
[cust_pe2-vpn-instance] route-distinguisher 1:1
[cust_pe2-vpn-instance] vpn-target 1:1
[cust_pe2] interface vlan 610
[cust_pe2-Vlan-interface610] ip binding vpn-instance vpn1
[cust_pe2-Vlan-interface610] ip address 16.1.1.2 255.0.0.0
[cust_pe2-Vlan-interface510] quit
[cust_pe2] bgp 500
[cust_pe2-bgp] undo peer ebgp enable
[cust_pe2-bgp] ipv4-family vpn-instance vpn1
[cust_pe2-bgp-af-vpn-instance] group cegroup external
[cust_pe2-bgp-af-vpn-instance] peer 16.1.1.1 group cegroup as-number 50002
[cust_pe2-bgp-af-vpn-instance] quit
[cust_pe2-bgp] quit
OSPF Multi-instance CE
Configuration Example
Network requirements
CE router in a VPN achieves service isolation by configuring multiple VPN
instances.
Network diagram
Figure 143 Network diagram for OSPF multi-instance CE configuration
MPLS Network
PE
vpn2
vpn1
Multi-VPN-Instance CE
ospf 100
vpn1
ospf 300
vpn2
VLAN201
10.1.1.2/24
VLAN204
20.2.1.2/24
VLAN202
10.2.1.2/24
VLAN203
20.1.1.2/24
MPLS Network
PE
vpn2
vpn1
Multi-VPN-Instance CE
ospf 100
vpn1
ospf 300
vpn2
VLAN201
10.1.1.2/24
VLAN204
20.2.1.2/24
VLAN202
10.2.1.2/24
VLAN203
20.1.1.2/24