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

Page 308

Advertising
background image

297

[PE3-Vlan-interface40] quit

# Configure OSPF on PE 3 for LDP to create LSPs.

[PE3] ospf

[PE3-ospf-1] area 0

[PE3-ospf-1-area-0.0.0.0] network 30.1.1.0 0.0.0.255

[PE3-ospf-1-area-0.0.0.0] network 40.1.1.0 0.0.0.255

[PE3-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0

[PE3-ospf-1-area-0.0.0.0] quit

[PE3-ospf-1] quit

# Create a VSI on PE 3 and configure the peer PEs.

[PE3] vsi svc

[PE3-vsi-svc] pwsignaling static

[PE3-vsi-svc-static] peer 1.1.1.9 pw-id 3 in-label 200 out-label 200

[PE3-vsi-svc-static-1.1.1.9-3] quit

[PE3-vsi-svc-static] peer 2.2.2.9 pw-id 3 in-label 300 out-label 300

[PE3-vsi-svc-static-2.2.2.9-3] quit

[PE3-vsi-svc-static] quit

[PE3-vsi-svc] quit

# Create service instance 10 on Ten-GigabitEthernet 1/0/1 to match all packets.

[PE3] interface ten-gigabitethernet1/0/1

[PE3-Ten-GigabitEthernet1/0/1] service-instance 10

[PE3-Ten-GigabitEthernet1/0/1-srv10] encapsulation default

# Bind service instance 10 to the VSI svc.

[PE3-Ten-GigabitEthernet1/0/1-srv10] xconnect vsi svc

Verifying the configuration

# Execute the display l2vpn pw verbose command on PE 1. The output shows that two static PWs in up

state have been established.

[PE1] display l2vpn pw verbose

VSI Name: svc

Peer: 2.2.2.9 PW ID: 3

Signaling Protocol : Static

Link ID : 8 PW State : Up

In Label : 100 Out Label: 100

MTU : 1500

PW Attributes : Main

VCCV CC : -

VCCV BFD : -

Tunnel Group ID : 0x1800000760000005

Tunnel NHLFE IDs : 131

Peer: 3.3.3.9 PW ID: 3

Signaling Protocol : Static

Link ID : 9 PW State : Up

In Label : 200 Out Label: 200

MTU : 1500

PW Attributes : Main

VCCV CC : -

VCCV BFD : -

Advertising