ESR service routers. ESR-Series. Functionality description. Version 1.12.0
207
Create a new l2vpn of vpls type and add pw to routers PE2 and PE3, take the pw identifier as VID for
convenience (in this case = 100):
PE1(config-l2vpn)# vpls vpls1
PE1(config-l2vpn-vpls)# bridge-group
10
PE1(config-l2vpn-vpls)# pw
100
2.2
.
2.2
PE1(config-l2vpn-pw)# pw-
class
for_vpls1
PE1(config-l2vpn-pw)# enable
PE1(config-l2vpn-pw)# exit
PE1(config-l2vpn-vpls)# pw
100
3.3
.
3.3
PE1(config-l2vpn-pw)# pw-
class
for_vpls1
PE1(config-l2vpn-pw)# enable
PE1(config-l2vpn-pw)# exit
PE1(config-l2vpn-vpls)# enable
PE1(config-l2vpn-vpls)# end
Apply the created configuration:
PE1# commit
PE1# confirm
Configure PE2 and PE3 routers in the same way as PE1:
PE2# configure
PE2(config)# bridge
10
PE2(config-bridge)# enable
PE2(config-bridge)# exit
PE2(config)#
interface
gigabitethernet
1
/
0
/
4.100
PE2(config-subif)# bridge-group
10
PE2(config-subif)# exit
PE2(config)#
interface
gigabitethernet
1
/
0
/
2
PE2(config-
if
-gi)# mtu
9600
PE2(config-
if
-gi)# ip firewall disable
PE2(config-
if
-gi)# exit
PE2(config)# mpls
PE2(config-mpls)# forwarding
interface
gigabitethernet
1
/
0
/
1
PE2(config-mpls)# forwarding
interface
gigabitethernet
1
/
0
/
2
PE2(config-mpls)# ldp
PE2(config-ldp)# enable
PE2(config-ldp)# router-id
2.2
.
2.2
PE2(config-ldp)# address-family ipv4
PE2(config-ldp-af-ipv4)# transport-address
2.2
.
2.2
PE2(config-ldp-af-ipv4)#
interface
gigabitethernet
1
/
0
/
1
PE2(config-ldp-af-ipv4-
if
)# exit
PE2(config-ldp-af-ipv4)#
interface
gigabitethernet
1
/
0
/
2
PE2(config-ldp-af-ipv4-
if
)# exit