This MPLS (Multiprotocol Label Switching) VPLS network configuration shown MPLS VPLS Configuration Example, builds upon the routed MPLS network configuration example shown in MPLS Configuration Example.
Assuming that the routed MPLS network has already been configured as in the previous example, the commands used to create the VPLS on LSR1 and LSR4 follow. The nc-university-vpn is a point-to-point VPLS, since only two peers are participating.
The following command creates the VPLS with VPN ID 35. This command must be issued on both LSR1 and LSR4:
create l2vpn vpls nc-university-vpn fec-id-type pseudo-wire 35
enable l2vpn [vpls [ vpls_name | all ]
On LSR1, configure the local VLAN (Virtual LAN) service and the VPLS peer:
configure l2vpn vpls nc-university-vpn add service vlan unc-charlotte configure l2vpn vpls nc-university-vpn add peer 192.168.0.4
On LSR4, configure the local VLAN service and the VPLS peer:
configure l2vpn vpls nc-university-vpn add service vlan unc-wilmington configure l2vpn vpls nc-university-vpn add peer 192.168.0.1