Scenario
This shows a manual VPLS configuration whereby incoming vlan 500 is matched and then mapped to a pseudowire will id 555.
IOS Config
hostname R1 ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface GigabitEthernet0/0 service instance 500 ethernet encapsulation dot1q 500 ! l2vpn vfi context VFI_CUST_1 !The vpn id must match on both ends vpn id 555 member 2.2.2.2 encapsulation mpls ! ! bridge domain numbers have local significance bridge-domain 500 member GigabitEthernet0/0 service-instance 500 member vfi VFI_CUST_1 |
XR Config
hostname R1 ! interface Loopback0 ipv4 address 1.1.1.1/32 ! interface GigabitEthernet0/0/0/0.500 l2transport encapsulation dot1q 500 ! l2vpn ! bridge group and domains names have local significance bridge group BRIDGE_GROUP_1 bridge-domain BRIDGE_DOMAIN_1 interface GigabitEthernet0/0/0/0.500 ! vfi VFI_CUST_1 !The pw-id must match on both ends neighbor 2.2.2.2 pw-id 555 |