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

ethernet-switching-options

date_range 19-Nov-23

EX Series

content_copy zoom_out_map
ethernet-switching-options {
    analyzer  {
        name {
            loss-priority priority;
            ratio number;
            input {
                ingress {
                    interface (all | interface-name);
                    vlan (vlan-id | vlan-name);
                }
                egress {
                    interface (all | interface-name);
                }
            }
            output {
                interface interface-name;
                vlan (vlan-id | vlan-name) {
                no-tag;
                }
            }
        }
    }
     bpdu-block {
         disable-timeout timeout;
        interface (all | [interface-name]) {
            (disable | drop | shutdown);
            }
    }
    dot1q-tunneling {
        ether-type (0x8100 | 0x88a8 | 0x9100);
    }
     interfaces interface-name {
        no-mac-learning;
        no-mac-notification;
    }
    mac-lookup-length number-of-entries;
}
    mac-notification {
        notification-interval seconds;
    }
    mac-table-aging-time seconds;
    nonstop-bridging;
    port-error-disable {
        disable-timeout timeout;
    }
    redundant-trunk-group {
        group name {
            interface interface-name <primary>;
            interface interface-name;
        }
    }
    secure-access-port {
        dhcp-snooping-file {
            location local_pathname | remote_URL;
            timeout seconds;
            write-interval seconds;
        }
        dhcpv6-snooping-file {
            location local_pathname | remote_URL;
            timeout seconds;
            write-interval seconds;
        }
        interface (all | interface-name) {
            allowed-mac {
                mac-address-list;
            }
            (dhcp-trusted | no-dhcp-trusted);
            fcoe-trusted;
            mac-limit limit action (drop | log | none | shutdown);
            no-allowed-mac-log;
            persistent-learning;
            static-ip ip-address {
                vlan  vlan-name;
                mac mac-address; 
            }
            static-ipv6 ip-address {
                vlan  vlan-name;
                mac mac-address; 
            }
        }
         vlan (all | vlan-name) {
            (arp-inspection | no-arp-inspection) [
                forwarding-class class-name;
            }
             dhcp-option82 {
                 circuit-id {
                     prefix hostname;
                     use-interface-description;
                     use-vlan-id;
                }
                 remote-id {
                     prefix hostname | mac | none;
                     use-interface-description;
                     use-string string;
                }
                 vendor-id [string];
            }
            (examine-dhcp | no-examine-dhcp) {
                forwarding-class class-name;
            }
            (examine-dhcpv6 | no-examine-dhcpv6) {
                forwarding-class class-name;
            }
            examine-fip {
            fc-map fc-map-value;
            }
            (ip-source-guard | no-ip-source-guard);
            (ipv6-source-guard | no-ipv6-source-guard);
             mac-move-limit limit action (drop | log | none | shutdown);
            }
            (neighbor-discovery-inspection | no-neighbor-discovery-inspection);
        no-option-37;
        static { 		
            vlan name { 			
                mac  mac-address 				 { 
                    next-hop interface-name; 		
                } 
            } 
        } 
        storm-control {
            action-shutdown;
            interface (all | interface-name) {
                bandwidth bandwidth;
                level level;
                multicast;
                no-broadcast;
                no-multicast;
                no-registered-multicast;
                no-unknown-unicast;
                no-unregistered-multicast;
            }
        }
        traceoptions {
            file filename <files number> <no-stamp> <replace> <size size> <world-readable | no-world-readable>;
            flag flag <disable>;
        }
        unknown-unicast-forwarding {
            vlan (all | vlan-name) {
                interface interface-name;
            }
        }
        voip {
            interface (all | [interface-name | access-ports]) {
                forwarding-class forwarding-class;
                vlan vlan-name;
            }
        }
    }

QFX Series, QFabric, EX4600

content_copy zoom_out_map
ethernet-switching-options {
    analyzer  {
        name {
            input {
                egress {
                    interface (all | interface-name);
                }
                ingress {
                    interface (all | interface-name);
                    vlan (vlan-id | vlan-name);
                }
            output {
                interface interface-name;
                 ip-address ip-address;
                vlan (vlan-id | vlan-name);
            }
        }
    }
    bpdu-block {
        interface (all | [interface-name]);
        disable-timeout timeout;
    }
    dot1q-tunneling {
        ether-type (0x8100 | 0x88a8 | 0x9100)
    }
    interfaces interface-name {
        no-mac-learning;
    }
     mac-table-aging-time seconds {
    }
    port-error-disable {
        disable-timeout timeout;
    }
    secure-access-port {
        dhcp-snooping-file {
            location local_pathname | remote_URL;
            timeout seconds;
            write-interval seconds;
        }
        interface (all | interface-name) {
            allowed-mac {
                mac-address-list;
            }
            (dhcp-trusted | no-dhcp-trusted);
            fcoe-trusted;
            mac-limit limit action action;
            no-allowed-mac-log;
        }
        vlan (all | vlan-name) {
            (arp-inspection | no-arp-inspection) [
                forwarding-class (for DHCP Snooping or DAI Packets) class-name;
            }
            dhcp-option82 {
                circuit-id {
                    prefix (Circuit ID for Option 82) hostname;
                    use-interface-description;
                    use-vlan-id;
                }
                 remote-id {
                    prefix (Remote ID for Option 82) hostname | mac | none;
                    use-interface-description;
                    use-string                                 string;
                }
                vendor-id <string>;
            }
            (examine-dhcp | no-examine-dhcp) {
                forwarding-class (for DHCP Snooping or DAI Packets) class-name;
            }
            examine-fip {
                examine-vn2vn {
                    beacon-period milliseconds;
                }
                fc-map fc-map-value;
            }
            mac-move-limit limit <fabric-limit limit action action;
        }
    }
    static {
        vlan vlan-id {
            mac mac-address next-hop interface-name;
        }
    }
    storm-control {
        interface (all | interface-name) {
            bandwidth bandwidth;
            no-broadcast;
            no-multicast;
            no-unknown-unicast;
        }
    }
    traceoptions {
        file filename <files number> <no-stamp> <replace> <size size> <world-readable | no-world-readable>;
        flag flag <disable>;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit]

Description

Configure Ethernet switching options.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.0.

footer-navigation