ESR series service routers.ESR-Series. User manual
•
•
•
12.5.2 L2VPN VPWS configuration example
Objective:
Configure l2vpn so that ge1/0/2.100 interface of the CE1 router and ge1/0/2.100 interface of the CE2 router
operate within the same broadcast domain.
Solution:
Pre-requisite:
Enable Jumbo frames support with the 'system jumbo-frames' command (the device must be rebooted
for the changes to take effect);
Сonfigure IP addresses on interfaces according to the network structure shown in the figure above;
Organize the exchange of routes between PE1 and PE2 using IGP (OSPF, IS-IS, RIP).
On the PE1 router create a sub-interface from which traffic from CE1 will be received:
PE1# configure
PE1(config)# interface gigabitethernet 1/0/4.100
PE1(config-subif)# exit
Set the MTU value on the interface towards PE2 to 9600 to avoid MTU overrun after encapsulating the MPLS
header and disable the firewall:
PE1#(config)# interface gigabitethernet 1/0/1
PE1(config-if-gi)# mtu 9600
PE1(config-if-gi)# ip firewall disable
PE1(config-if-gi)# exit
Allow packets with an MPLS header to be received on the interface towards the MPLS network (in this
example, the interface towards PE2):
PE1(config)# mpls
PE1(config-mpls)# forwarding interface gigabitethernet 1/0/1
Configure the LDP protocol and enable neighbor detection on the interface towards PE2:
PE1(config-mpls)# ldp
PE1(config-ldp)# router-id 1.1.1.1
PE1(config-ldp)# address-family ipv4
PE1(config-ldp-af-ipv4)# interface gigabitethernet 1/0/1
PE1(config-ldp-af-ipv4-if)# exit
PE1(config-ldp-af-ipv4)# transport-address 1.1.1.1
PE1(config-ldp-af-ipv4)# exit
PE1(config-ldp)# enable
PE1(config-ldp)# exit