show ethernet-switching interfaces
Syntax
Release Information
Command introduced in JUNOS Release 9.0 for EX Series switches.
In JUNOS Release 9.6 for EX Series switches, the following updates were made:
- Blocking field output updated.
- The default view updated to include information about 802.1Q-tags.
- The detail view updated to include information VLAN mapping.
Description
Display information about switched Ethernet interfaces.
Options
none — (Optional) Display brief information for Ethernet switching interfaces.
brief | detail | summary — (Optional) Display the specified level of output.
interface interface-name — (Optional) Display Ethernet switching information for a specific interface.
Required Privilege Level
view
List of Sample Output
show ethernet-switching interfacesshow ethernet-switching interfaces ge-0/0/15 brief
show ethernet-switching interfaces ge-0/0/2 detail (Blocked by RTG rtggroup)
show ethernet-switching interfaces ge-0/0/15 detail (Blocked by STP)
show ethernet-switching interfaces ge-0/0/17 detail (Disabled by bpdu-control)
show ethernet-switching interfaces detail (C-VLAN to S-VLAN Mapping)
Output Fields
Table 1 lists the output fields for the show ethernet-switching interfaces command. Output fields are listed in the approximate order in which they appear.
Table 1: show ethernet-switching interfaces Output Fields
Sample Output
show ethernet-switching interfaces
user@switch> show ethernet-switching interfaces
Interface State VLAN members Tag Tagging Blocking ae0.0 up default untagged unblocked ge-0/0/2.0 up vlan300 300 untagged blocked by RTG (rtggroup)
ge-0/0/3.0 up default blocked by STP
ge-0/0/4.0 down default MAC limit exceeded ge-0/0/5.0 down default MAC move limit exceeded ge-0/0/6.0 down default Storm control in effect ge-0/0/7.0 down default unblocked ge-0/0/13.0 up default untagged unblocked ge-0/0/14.0 up vlan100 100 tagged unblocked vlan200 200 tagged unblocked ge-0/0/15.0 up vlan100 100 tagged blocked by STP vlan200 200 tagged blocked by STP ge-0/0/16.0 down default untagged unblocked ge-0/0/17.0 down vlan100 100 tagged Disabled by bpdu-control vlan200 200 tagged Disabled by bpdu-control
show ethernet-switching interfaces ge-0/0/15 brief
user@switch> show ethernet-switching interfaces
ge-0/0/15 brief
Interface State VLAN members Tag Tagging Blocking ge-0/0/15.0 up vlan100 100 tagged blocked by STP vlan200 200 tagged blocked by STP
show ethernet-switching interfaces ge-0/0/2 detail (Blocked by RTG rtggroup)
user@switch> show ethernet-switching interfaces
ge-0/0/2 detail
Interface: ge-0/0/2.0, Index: 65, State: up, Port mode: Access VLAN membership: vlan300, 802.1Q Tag: 300, untagged, msti-id: 0, blocked by RTG(rtggroup) Number of MACs learned on IFL: 0
show ethernet-switching interfaces ge-0/0/15 detail (Blocked by STP)
user@switch> show ethernet-switching interfaces
ge-0/0/15 detail
Interface: ge-0/0/15.0, Index: 70, State: up, Port mode: Trunk VLAN membership: vlan100, 802.1Q Tag: 100, tagged, msti-id: 0, blocked by STP vlan200, 802.1Q Tag: 200, tagged, msti-id: 0, blocked by STP Number of MACs learned on IFL: 0
show ethernet-switching interfaces ge-0/0/17 detail (Disabled by bpdu-control)
user@switch> show ethernet-switching interfaces
ge-0/0/17 detail
Interface: ge-0/0/17.0, Index: 71, State: down, Port mode: Trunk VLAN membership: vlan100, 802.1Q Tag: 100, tagged, msti-id: 1, Disabled by bpdu-control vlan200, 802.1Q Tag: 200, tagged, msti-id: 2, Disabled by bpdu-control Number of MACs learned on IFL: 0
show ethernet-switching interfaces detail (C-VLAN to S-VLAN Mapping)
user@switch>show ethernet-switching interfaces
ge-0/0/6.0 detail
Interface: ge-0/0/6.0, Index: 73, State: up, Port mode: Access VLAN membership: map, 802.1Q Tag: 134, Mapped Tag: native, push, dot1q-tunneled, unblocked map, 802.1Q Tag: 134, Mapped Tag: 20, push, dot1q-tunneled, unblocked