[PE1] bgp 200
[PE1-bgp] ip vpn-instance vpn1
[PE1-bgp-vpn1] peer 30.1.1.1 as-number 100
[PE1-bgp-vpn1] address-family ipv4
[PE1-bgp-ipv4-vpn1] peer 30.1.1.1 enable
[PE1-bgp-ipv4-vpn1] quit
[PE1-bgp-vpn1] quit
[PE1-bgp] quit
# Use similar procedures to configure VPN 2 settings on MCE and PE 1. (Details not shown.)
Verifying the configuration
# Display the routing information for VPN 1 on PE 1.
[PE1] display ip routing-table vpn-instance vpn1
Destinations : 13
Destination/Mask
0.0.0.0/32
30.1.1.0/24
30.1.1.0/32
30.1.1.2/32
30.1.1.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32
192.168.0.0/24
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32
# Display the routing information for VPN 2 on PE 1.
[PE1] display ip routing-table vpn-instance vpn2
Destinations : 13
Destination/Mask
0.0.0.0/32
40.1.1.0/24
40.1.1.0/32
40.1.1.2/32
40.1.1.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32
192.168.10.0/24
224.0.0.0/4
224.0.0.0/24
Routes : 13
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
BGP
255
3
Direct 0
0
Direct 0
0
Direct 0
0
Routes : 13
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
BGP
255
3
Direct 0
0
Direct 0
0
23
NextHop
Interface
127.0.0.1
InLoop0
30.1.1.2
Vlan30
30.1.1.2
Vlan30
127.0.0.1
InLoop0
30.1.1.2
Vlan30
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
30.1.1.1
Vlan30
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0
NextHop
Interface
127.0.0.1
InLoop0
40.1.1.2
Vlan40
40.1.1.2
Vlan40
127.0.0.1
InLoop0
40.1.1.2
Vlan40
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
40.1.1.1
Vlan40
0.0.0.0
NULL0
0.0.0.0
NULL0