beautypg.com

Verifying the configuration – H3C Technologies H3C S6800 Series Switches User Manual

Page 440

background image

427

[PE3-xcg-vpna-ldp] ac interface vlan-interface 10

[PE3-xcg-vpna-ldp] peer 1.1.1.1 pw-id 30

[PE3-xcg-vpna-ldp-1.1.1.1-30] quit

[PE3-xcg-vpna-ldp] quit

[PE3-xcg-vpna] quit

5.

Configure CE 2.

system-view

[CE2] interface vlan-interface 10

[CE2-Vlan-interface10] ip address 100.1.1.2 24

[CE2-Vlan-interface10] quit

Verifying the configuration

# Display L2VPN PW information on PE 1. The output shows that two PWs (one primary and one backup)

have been established.

display l2vpn pw

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

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

Xconnect-group Name: vpna

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

2.2.2.2 20 65651/65779 LDP M 1 Up

3.3.3.3 30 65650/65779 LDP B 1 Blocked

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

[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: vpna

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

1.1.1.1 20 65779/65651 LDP M 1 Up

# Display L2VPN PW information on PE 3. The output shows that a PW has been established.

[PE3] 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: vpna

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

1.1.1.1 30 65779/65650 LDP M 1 Up

# Execute the display l2vpn pw bfd command on PE 1 and PE 2. The output shows that a BFD session in
up state has been established between PE 1 and PE 2 to verify the PW connectivity between 1.1.1.1/32
and 3.3.3.3/32. Take PE 1 as an example:

[PE1] display l2vpn pw bfd

Total number of sessions: 1, 1 up, 0 down, 0 init

FEC Type: PW FEC-128

FEC Info:

Peer IP: 3.3.3.3