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 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 on access
interfaces of a logical system.
To configure MAC pinning on access interfaces in logical
systems:
- Configure the access interface.
[edit interfaces]
user@host# set interfacetype-fpc/pic/port encapsulation ethernet-vpls
- Create the logical system by specifying the name of the
logical system, and specify the access interface and list of VLAN
IDs associated with the interface.
[edit]
user@host# set logical-systems logical-system-name interfaces interfacetype-fpc/pic/port unit logical-unit-number family bridge interface-mode access vlan-id vlan-id
- Configure MAC pinning on the access interface by including
the [
mac-pinning
] statement in the [edit bridge-domains
] hierarchy. [edit bridge-domains]
user@host# set bridge-domain-name bridge-options interface interfacetype-fpc/pic/port mac-pinning
- In configuration mode, verify the configuration.
user@host# show interfaces
interfaces {
interfacetype-fpc/pic/port {
encapsulation ethernet-vpls;
}
}
user@host# show logical-systems
logical-systems {
logical-system-name {
interfaces {
interfacetype-fpc/pic/port {
unit logical-unit-number {
family bridge {
interface-mode access;
vlan-id vlan-id;
}
}
}
}
user@host# show bridge-domains
bridge-domains {
bridge-domain-name {
bridge-options {
interface interfacetype-fpc/pic/port {
mac-pinning;
}
}
}
}
}
}