R211x-HP Flexfabric 11900 MPLS Configuration Guide

307
# Enable L2VPN.
[PE3] l2vpn enable
# Configure the VSI aaa to use BGP to discover remote PEs and use LDP to establish LDP PWs to
PE 1 and PE 2.
[PE3] vsi aaa
[PE3-vsi-aaa] auto-discovery bgp
[PE3-vsi-aaa-auto] route-distinguisher 1:1
[PE3-vsi-aaa-auto] vpn-target 1:1
[PE3-vsi-aaa-auto] signaling-protocol ldp
[PE3-vsi-aaa-auto-ldp] vpls-id 100:100
[PE3-vsi-aaa-auto-ldp] quit
[PE3-vsi-aaa-auto] quit
[PE3-vsi-aaa] 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 aaa.
[PE3-Ten-GigabitEthernet1/0/1-srv10] xconnect vsi aaa
Verifying the configuration
# Execute the display l2vpn pw verbose command on PE 1. The output shows that two LDP PWs have
been established.
[PE1] display l2vpn pw verbose
VSI Name: aaa
Peer: 2.2.2.9 VPLS ID: 100:100
Signaling Protocol : LDP
Link ID : 8 PW State : Up
In Label : 131153 Out Label: 131255
MTU : 1500
PW Attributes : Main
VCCV CC : -
VCCV BFD : -
Tunnel Group ID : 0x1800000860000006
Tunnel NHLFE IDs : 131
Peer: 3.3.3.9 VPLS ID: 100:100
Signaling Protocol : LDP
Link ID : 9 PW State : Up
In Label : 131160 Out Label: 131256
MTU : 1500
PW Attributes : Main
VCCV CC : -
VCCV BFD : -
Tunnel Group ID : 0x1800000860000007
Tunnel NHLFE IDs : 132
# Execute the display l2vpn ldp verbose command on PE 1 to display LDP PW label information.
[PE1] display l2vpn ldp verbose
Peer: 2.2.2.9 VPLS ID: 100:100