Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

switch-options (VLANs)

Syntax (EX Series, MX Series, QFX Series and NFX Series)

Syntax (SRX Series)

Hierarchy Level (EX Series, MX Series, QFX Series and NFX Series)

Hierarchy Level (SRX Series)

Description

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

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement modified in Junos OS Release 9.5.

Statement introduced in Junos OS Release 12.3R2.

Statement (mac-pinning) introduced in Junos OS 16.2 for MX Series routers.

mac-ip-table-size statement introduced in Junos OS 17.4 Release for MX Series routers and EX9200 switches.