The LDP neighborhood is established, pseudowire has moved to 'UP' status. The l2vpn p2p type configuration
is now complete.
12.5.3 L2VPN VPLS configuration algorithm
Step Description Command Keys
1 Configure the LDP (see section LDP configuration).
2 Create a network bridge in the system without specifying an IP address (see section Bridge configuration).
3 Create pw-class in the system and
switch to the pw-class configuration
mode.
esr(config-l2vpn)# pw-class
<WORD>
<WORD> — pw-class name
[1..31] characters long.
4 Add a description for pw-class
(optional).
esr(config-l2vpn-pw-class)#
description <LINE>
<LINE> — description. Set by
the string [1..255] characters
long.
5 Set the MTU value for the pseudo-wire
included in the pw-class (optional).
esr(config-l2vpn-pw-class)#
encapsulation
mpls mtu <MTU>
<MTU> — MTU value, takes
values in the range of
[552..10000]
Default value: 1500.
6 Disable status-tlv messaging (optional). esr(config-l2vpn-pw-class)#
encapsulation
mpls status-tlv disable
Default value: status-tlv enable
7 Create VPLS domain in the system and
switch to the VPLS domain
configuration mode.
esr(config-l2vpn)# vpls <NAME> <NAME> — name of the p2p
service, set by the string of up
to 31 characters.
8 Enable VPLS tunnel. esr(config-l2vpn-vpls)# enable
9 Add bridge domain. esr (config-l2vpn-vpls)# bridge-
group <ID>
<ID> — bridge domain identifier,
specified in the range [1..250]
10 Specify transport mode (optional). esr(config-l2vpn-vpls)# transport-
mode
{ ethenet | vlan }
<ethernet> — mode in which the
802.1Q tag is removed from the
header when entering pseudo-
wire;
<vlan> — mode in which the
802.1Q tag can be saved when
transmitted over pseudo-wire.
Default value: ethernet