Step Description Command Keys
2 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.
3 Add a description for pw-class
(optional).
esr(config-l2vpn-pw-class)#
description <LINE>
<LINE> – description. Set by
the string [1..255] characters
long.
4 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.
5 Disable status-tlv messaging (optional). esr(config-l2vpn-pw-class)#
encapsulation
mpls status-tlv disable
Default value: status-tlv enable
6 Create p2p-class in the system and
switch to the p2p-class configuration
mode.
esr(config-l2vpn)# p2p <NAME> <NAME> — name of the p2p
service, set by the string of up
to 31 characters.
7 Specify Attached Circuit interface. esr(config-l2vpn-p2p)# interface
{ <IF> | <TUN> }
<IF> – an interface's name,
specified in the form described
in Section Types and naming
order of router interfaces;
<TUN> – the name of the
tunnel is specified as described
in section Types and naming
order of router tunnels.
8 Enable p2p tunnel. esr(config-l2vpn-p2p)# enable
9 Specify transport mode (optional). esr(config-l2vpn-p2p)# 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