Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

switch-options

Syntax

switch-options {interface interface-name {interface-mac-limit limit {packet-action drop;}no-mac-learning; static-mac static-mac-address {vlan-id number;}}interface-mac-limit limit {packet-action drop;}mac-statistics;mac-table-size limit {packet-action drop;}no-mac-learning;service-id number; }

Hierarchy Level

[edit number],[edit vlans vlan--name],[edit logical-systems logical-system-name routing-instances routing-instance-name vlans vlan-name],[edit routing-instances routing-instance-name vlans vlan-name]

Release Information

Statement introduced in Junos OS Release 12.3R2 for EX Series switches and MX Series routers.

Statement introduced in Junos OS Release 13.2 for the QFX Series.

Description

Configure Layer 2 learning and forwarding properties for a VLAN or a virtual switch.

The remaining statements are explained separately.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23