beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 386

background image

375

[PE1-GigabitEthernet4/1/2] ipv6 address 2001:2::2 96

[PE1-GigabitEthernet4/1/2] quit

# Configure PE 2.

[PE2] ip vpn-instance vpn1

[PE2-vpn-instance-vpn1] route-distinguisher 200:1

[PE2-vpn-instance-vpn1] vpn-target 111:1

[PE2-vpn-instance-vpn1] quit

[PE2] ip vpn-instance vpn2

[PE2-vpn-instance-vpn2] route-distinguisher 200:2

[PE2-vpn-instance-vpn2] vpn-target 222:2

[PE2-vpn-instance-vpn2] quit

[PE2] interface GigabitEthernet 4/1/1

[PE2-GigabitEthernet4/1/1] ip binding vpn-instance vpn1

[PE2-GigabitEthernet4/1/1] ipv6 address 2001:3::2 96

[PE2-GigabitEthernet4/1/1] quit

[PE2] interface GigabitEthernet 4/1/2

[PE2-GigabitEthernet4/1/2] ip binding vpn-instance vpn2

[PE2-GigabitEthernet4/1/2] ipv6 address 2001:4::2 24

[PE2-GigabitEthernet4/1/2] quit

# Configure IP addresses for the CEs as required in

Figure 87

. (Details not shown)

After completing the configurations, issue the display ip vpn-instance command on the PEs to view
information about the VPN instances. Use the ping command to test connectivity between the PEs

and their attached CEs. The PEs can ping their attached CEs. The following takes PE 1 and CE 1

as an example:

[PE1] display ip vpn-instance

Total VPN-Instances configured : 2

VPN-Instance Name RD Create Time

vpn1 100:1 2006/08/13 09:32:45

vpn2 100:2 2006/08/13 09:42:59

[PE1] ping ipv6 -vpn-instance vpn1 2001:1::1

PING 2001:1::1 : 56 data bytes, press CTRL_C to break

Reply from 2001:1::1

bytes=56 Sequence=1 hop limit=64 time = 1 ms

Reply from 2001:1::1

bytes=56 Sequence=2 hop limit=64 time = 1 ms

Reply from 2001:1::1

bytes=56 Sequence=3 hop limit=64 time = 1 ms

Reply from 2001:1::1

bytes=56 Sequence=4 hop limit=64 time = 1 ms

Reply from 2001:1::1

bytes=56 Sequence=5 hop limit=64 time = 1 ms

--- 2001:1::1 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/1/1 ms