beautypg.com

Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 285

background image

274

[PE2-xcg-vpn1-svc] ac interface ten-gigabitethernet1/0/1 service-instance 1000

# Create a static PW for the cross-connect to bind the AC to the PW.

[PE2-xcg-vpn1-svc] peer 192.4.4.4 pw-id 1000 in-label 200 out-label 100

[PE2-xcg-vpn1-svc-192.4.4.4-1000] quit

[PE2-xcg-vpn1-svc] quit

[PE2-xcg-vpn1] quit

5.

Configure CE 2:

system-view

[CE2] vlan 10

[CE2-vlan10] quit

[CE2] interface vlan-interface 10

[CE2-Vlan-interface10] ip address 100.1.1.2 24

[CE2-Vlan-interface10] quit

[CE2] interface ten-gigabitethernet 1/0/1

[CE2-Ten-GigabitEthernet1/0/1] port link-type trunk

[CE2-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10

[CE2-Ten-GigabitEthernet1/0/1] quit

Verifying the configuration

# Display L2VPN PW information on P. The output shows that two PWs have been created to form a
multi-segment PW.

[P] display l2vpn pw

Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon

Total number of PWs: 2, 2 up, 0 blocked, 0 down, 0 defect

Xconnect-group Name: vpn1

Peer PW ID In/Out Label Proto Flag Link ID State

192.2.2.2 1000 65669/65655 LDP M 0 Up

192.3.3.3 1000 100/200 Static M 1 Up

# Display L2VPN PW information on PE 1. The output shows that a PW has been created.

[PE1] display l2vpn pw

Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon

Total number of PWs: 1, 1 up, 0 blocked, 0 down, 0 defect

Xconnect-group Name: vpn1

Peer PW ID In/Out Label Proto Flag Link ID State

192.4.4.4 1000 65655/65669 LDP M 1 Up

# Display L2VPN PW information on PE 2. The output shows that a PW has been created.

[PE2] display l2vpn pw

Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon

Total number of PWs: 1, 1 up, 0 blocked, 0 down, 0 defect

Xconnect-group Name: vpn1

Peer PW ID In/Out Label Proto Flag Link ID State

192.4.4.4 1000 200/100 Static M 1 Up

# CE 1 and CE 2 can ping each other.