Supported Platforms
Related Documentation
- EX, MX Series, QFabric System, QFX Series standalone switches
- Layer 2 Learning and Forwarding for VLANs Overview
- MX Series
- Configuring EVPN Routing Instances
- Layer 2 Learning and Forwarding for Bridge Domains Overview
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.
Support for EVPNs added in Junos OS Release 13.2 for MX 3D Series routers. The vlan-id option is not available for EVPNs.
[edit vlans vlan-name switch-options interface interface name] hierarchy level introduced in Junos OS Release 13.2 for the QFX Series.
Description
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.
Related Documentation
- EX, MX Series, QFabric System, QFX Series standalone switches
- Layer 2 Learning and Forwarding for VLANs Overview
- MX Series
- Configuring EVPN Routing Instances
- Layer 2 Learning and Forwarding for Bridge Domains Overview
Published: 2014-07-23
Supported Platforms
Related Documentation
- EX, MX Series, QFabric System, QFX Series standalone switches
- Layer 2 Learning and Forwarding for VLANs Overview
- MX Series
- Configuring EVPN Routing Instances
- Layer 2 Learning and Forwarding for Bridge Domains Overview