Configuring MAC Pinning for All Pseudowires of the VPLS Routing Instance (LDP and BGP) for Logical Systems
A MAC move occurs when a MAC address frequently appears on a different physical interface than the one it was learned on. Frequent MAC moves indicate the presence of loops. To avoid loops across interfaces in virtual switches in logical systems, you can configure MAC pinning. A set of logical systems within a single router can handle the functions previously handled by several small routers.
This topic describes how to configure MAC pinning for all pseudowires of the VPLS routing instance for logical systems.
To configure MAC pinning for all pseudowires of the VPLS routing instance for logical systems:
- Configure the interface by specifying the encapsulation.[edit interfaces]user@host# set interfacetype-fpc/pic/port flexible-vlan-tagginguser@host# set interfacetype-fpc/pic/port encapsulation flexible-ethernet-services
- Create the logical system by specifying the name and the
trunk interface on the logical unit.[edit]user@host# set logical-systems logical-system-name interfaces interfacetype-fpc/pic/port unit logical-unit-number encapsulation vlan-vpls family bridge interface-mode trunk vlan-id-list vlan-id-numbers
- Configure the VPLS routing instance.[edit routing-instances]user@host# set routing-instance-name instance-type vplsuser@host# set routing-instance-name interface interfacetype-fpc/pic/portuser@host# set routing-instance-name protocols vpls mac-pinning
- In configuration mode, verify the configuration.user@host# show interfaces
interfaces { interfacetype-fpc/pic/port { flexible-vlan-tagging; encapsulation flexible-ethernet-services; } }
user@host# show logical-systemslogical-systems { logical-system-name { interfaces { interfacetype-fpc/pic/port { unit logical-unit-number { encapsulation vlan-vpls; family bridge { interface-mode trunk; vlan-id-list vlan-id-numbers; } } } }
user@host# show routing-instancesrouting-instances { routing-instance-name { instance-type vpls; interface interfacetype-fpc/pic/port; protocols { vpls { mac-pinning; } } } } } }