Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configuring Static MAC Addresses for Logical Interfaces in a VLAN


You can manually add static MAC entries for the logical interfaces in a VLAN. You can specify one or more static MAC addresses for each logical interface.

To add a static MAC address for a logical interface in a VLAN, include the static-mac mac-address statement at the [edit vlans vlan-name switch-options interface interface-name] hierarchy level.

You can optionally specify a VLAN identifier for the static MAC address by using the vlan-id statement. To specify a VLAN identifier for a static MAC address, you must use the all option when configuring a VLAN identifier for the VLAN.


If a static MAC address you configure for a logical interface appears on a different logical interface, packets sent to that interface are dropped.