Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

switch-options

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
switch-options {
    interface interface-name {
        mac-pinning;
        mac-learning-priority value packet-action action;
        interface-mac-limit limit;
    }
    interface-mac-limit limit {
        packet-action drop;
    }
    mac-statistics;
    mac-table-size limit {
        packet-action drop;
    }
    no-mac-learning;
    route-distinguisher (as-number:id | ip-address:id);
     service-id number; number;
    vrf-target {
        community;
        auto
        import community-name;
        export community-name;
    }
    vrf-import[ policy-names ]; 
    vrf-export[ policy-names ]; 
}

Hierarchy Level

content_copy zoom_out_map
[edit],
[edit logical-systems logical-system-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name],
[edit routing-instances routing-instance-name]

Description

Configure Layer 2 learning and forwarding properties for a set of bridge domains.

Options

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 introduced in Junos OS Release 9.2.

Support for logical systems added in Junos OS Release 9.6.

14.1x53-D10

footer-navigation