7
peers
router ldp
targeted-peer ipv4 <peer device IP>
show ldp targeted-peers
configure interface ethernet 6/0 mpls ip
configure interface ethernet 7/0 mpls ip
configure l2vpn forwarding enable
configure l2vpn cable-mac 1
configure l2vpn cm capability optional
configure mpls ldp router-id loopback 0
configure mpls ldp vc description "vc from
%M on Host %H"
configure mpls ldp neighbor <IPv4>
targeted
configure mpls ldp shutdown no
instance as neighbors
router bgp 64512
neighbor <neighbor IP address>
remote-as 64512
neighbor <neighbor IP address>
configure vrf <name> auto-import disable
configure router bgp neighbor <neighbor
IP address> remote-as 64512
configure router bgp neighbor <neighbor
IP address> update-source loopback 1
add routers to your L2VPN
address family
address-family l2vpn vpls
neighbor <neighbor ip address>
activate
neighbor <neighbor ip address>
send-community extended
configure router bgp 64512 address-
family vpnv4 enable
configure router bgp 64512 address-
family ipv4 neighbor <neighbor ip
address> activate
configure router bgp 64512
address-family vpnv4 neighbor
<neighbor ip address> activate
establish your VPLS name
and instance identifier
mpls vpls casalab_vpls 1000
configure vrf casalab_vpls auto-import
disable
signaling protocol
signaling bgp ve-id <ve-id>
signaling bgp route-distinguisher
<rd>
signaling bgp route-target <rt>
show this
configure vrf casalab_vpls rd 100:1
configure vrf
casalab_vpls route-
target export 100:1
configure vrf
casalab_vpls address-
family ipv4 redistribute
connected
configure vrf
casalab_vpls address-
family ipv4 redistribute static
add a BPI-enabled cable
modem to the VPLS
cable modem <cm MAC address>
mpls vpnid casalabs_vpls
configure interface cable-mac 101.2 ip
address 195.168.217.254 255.255.255.0