Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

ethernet-switch-profile

Syntax

ethernet-switch-profile {ethernet-policer-profile {input-priority-map {ieee802.1p premium [values];}output-priority-map {classifier {premium {forwarding-class class-name {loss-priority (high | low);}}}}policer cos-policer-name {aggregate {bandwidth-limit bps;burst-size-limit bytes;}premium {bandwidth-limit bps;burst-size-limit bytes;}}tag-protocol-id tpid;}mac-learn-enable;}

Hierarchy Level

[edit interfaces interface-name gigether-options],[edit interfaces interface-name aggregated-ether-options],[edit interfaces interface-name aggregated-ether-options],[edit interfaces interface-name ether-options]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 12.2 for ACX Series Universal Access Routers.

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

Statement introduced in Junos OS Release 13.2X50-D15 for the EX Series switches.

Description

Note: On QFX Series standalone switches, the ethernet-policer-profile CLI hierarchy and the mac-learn-enable statement are supported only on the Enhanced Layer 2 Switching CLI.

For Gigabit Ethernet IQ, 10-Gigabit Ethernet IQ2 and IQ2-E, and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC, aggregated Ethernet with Gigabit Ethernet IQ interfaces, the built-in Gigabit Ethernet port on the M7i router); 100-Gigabit Ethernet Type 5 PIC with CFP; and Gigabit Ethernet, 10-Gigabit Ethernet, 40-Gigabit Ethernet, and aggregated Ethernet interfaces on EX Series switches, configure VLAN tag and MAC address accounting and filtering properties.

The remaining statements are explained separately.

Note: When you gather interfaces into a bridge domain, the no-mac-learn-enable statement at the [edit interfaces interface-name gigether-options ethernet-switch-profile] hierarchy level is not supported. You must use the no-mac-learning statement at the [edit bridge-domains bridge-domain-name bridge-options interface interface-name] hierarchy level to disable MAC learning on an interface in a bridge domain. For information on disabling MAC learning for a bridge domain, see the MX Series Layer 2 Configuration Guide.

Default

If the ethernet-switch-profile statement is not configured, Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i router) behave like Gigabit Ethernet interfaces.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2014-08-04