Technical Documentation



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);}}} bpdu-block { disable-timeout timeout; interface (all | [interface-name]);}dot1q-tunneling {ether-type (0x8100 | 0x88a8 | 0x9100);} interfaces interface-name {no-mac-learning;}mac-notification {notification-interval seconds;}mac-table-aging-time seconds;port-error-disable {disable-timeout timeout;}redundant-trunk-group {group-name name {interface interface-name <primary>;interface interface-name;}}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);mac-limit limit action action;no-allowed-mac-log;static-ip ip-address {vlan vlan-name;mac mac-address; }} vlan (all | vlan-name) {(arp-inspection | no-arp-inspection); 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);(ip-source-guard | no-ip-source-guard); mac-move-limit limit action action;}}storm-control {action-shutdown;interface (all | interface-name) {bandwidth bandwidth;no-broadcast;no-unknown-unicast;}}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]) {vlan vlan-name ;forwarding-class <assured-forwarding | best-effort | expedited-forwarding | network-control>;}}}

Hierarchy Level


Release Information

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Support for storm control and BPDU protection added in JUNOS Release 9.1 for EX Series switches.

Option ip-source-guard added in JUNOS Release 9.2 for EX Series switches.

Options dhcp-option82, dot1q-tunneling, and no-allowed-mac-log added in JUNOS Release 9.3 for EX Series switches.

Options dhcp-snooping-file and mac-table-aging-time introduced in JUNOS Release 9.4 for EX Series switches.

Options bandwidth, interfaces, and no-mac-learning introduced in JUNOS Release 9.5 for EX Series switches.

Options action-shutdown, disable-timeout, mac-notification, and port-error-disable introduced in JUNOS Release 9.6 for EX Series switches.


Configure Ethernet switching options.

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: 2010-04-01