Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

static-mac

Syntax

static-mac mac-address {vlan-id number;}

Hierarchy Level

[edit bridge-domains bridge-domain-name bridge-options interface interface-name],[edit logical-systems logical-system-namebridge-domains bridge-domain-name bridge-options interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name], [edit vlans vlan-name switch-options interface interface-name]

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.

Published: 2013-04-03