Supported Platforms
Related Documentation
static-mac
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 8.4.
Support for logical systems added in Junos OS Release 9.6.
[edit vlans vlan-name switch-options interface interface name] hierarchy level introduced in Junos OS Release 12.3R2 for EX Series switches.
Description
(MX Series routers and EX Series switches only) Configure a static MAC address for a logical interface in a bridge domain or VLAN.
The vlan-id option can be specified for static-macs only if vlan-id all is configured for the bridging domain or VLAN.
Options
mac-address—MAC address
vlan-id number—(Optional) VLAN identifier to associate with static MAC address.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.