Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

static-mac

Syntax

Hierarchy Level

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.

Release Information

Statement introduced in Junos OS Release 8.4.

Statement modified in Junos OS Release 9.5.

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.