ESR service routers. ESR-Series. Functionality description. Version 1.12.0
199
1.
2.
And not assigned to 192.168.2.0/24
6.5 L2VPN Martini mode configuration
L2VPN allows you to organize ethernet frames transmission through the MPLS domain. Allocation and
distribution of tunnel labels, in this mode, is carried out by means of the LDP. In the implementation of L2VPN
can be divided into two cases:
P2P — "point-to-point" tunnel
VPLS — "point-to-multipoint" tunnel
In both cases, a virtual channel (pseudo-wire) is created to transmit ethernet frames between routers. To
negotiate pseudo-wire parameters, as well as to allocate and transfer tunnel labels between routers, an LDP
session is established in the targeted mode.
6.5.1 L2VPN VPWS configuration algorithm
Step
Description
Command
Keys
1
Configure the LDP (see section
2
Create pw-class in the system and
switch to the pw-class configuration
mode.
esr(config-l2vpn)# pw-
class <WORD>
<WORD> -
Имя
pw-class
длинной
[1..31]
символов
.
3
Add a description for pw-class
(optional).
esr(config-l2vpn-pw-
class)# description <LINE>
<LINE> -
Описание
.
Задается
в виде строки длинной
[1..255]
символов
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,
принимает значение в
диапазоне
[552..10000]
Значение по умолчанию
:
1500.
5
Disable status-tlv messaging (optional).
esr(config-l2vpn-pw-
class)# encapsulation
mpls status-tlv disable
Значение по умолчанию
:
status-tlv enable
6
Create p2p-class in the system and
switch to the p2p-class configuration
mode.
esr(config-l2vpn)# p2p
<NAME>
<NAME> -
Имя
p2p
сервиса
,
задается строкой до
31
символа
.
esr# sh mpls ldp bindings 192.168.2.0/24
192.168.2.0/24:
local label: --
remote label: imp-null lsr: 172.16.0.1