show ethernet-switching interface
语法
show ethernet-switching interface
<brief | detail | extensive>
<interface-name>
说明
显示所有接口的第 2 层学习信息。
选项
none | 显示所有接口的以太网交换信息。 |
brief | detail | extensive | (可选)显示指定的输出级别。 |
interface-name | (可选)显示指定接口的以太网交换信息。 |
必需的权限级别
视图
输出字段
表 1 介绍了命令的 show ethernet-switching interface
输出字段。输出字段按其显示大致顺序列出。
字段名称 |
字段说明 |
---|---|
逻辑接口 |
逻辑接口的名称。 |
VLAN 成员 |
与此接口关联的 VLAN。 |
标签 |
VLAN ID。 |
MAC 限制 |
可与接口关联的 MAC 地址数。 |
STP 状态 |
生成树协议 (STP) 状态。 |
逻辑接口标志 |
每个接口的第 2 层学习属性的状态:
|
标记 |
VLAN 的标记状态。 |
示例输出
- show ethernet 交换接口(特定接口)
- show ethernet 交换接口(实际上为 Storm Control)
- show ethernet-switching interface detail
- 显示以太网交换接口 xe-0/0/2.0(在 QFX5100 交换机上启用了自动状态排除)
show ethernet 交换接口(特定接口)
user@host> show ethernet-switching inerface ae10.0 Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags ae10.0 8192 tagged VLAN70.. 701 1024 Forwarding VLAN70.. 702 1024 Forwarding VLAN70.. 703 1024 Forwarding VLAN70.. 704 1024 Forwarding VLAN70.. 705 1024 Forwarding VLAN70.. 706 1024 Forwarding VLAN70.. 707 1024 Forwarding VLAN70.. 708 1024 Forwarding VLAN70.. 709 1024 Forwarding VLAN71.. 710 1024 Forwarding VLAN71.. 711 1024 Forwarding VLAN71.. 712 1024 Forwarding VLAN71.. 713 1024 Forwarding VLAN71.. 714 1024 Forwarding VLAN71.. 715 [...output truncated...]
show ethernet 交换接口(实际上为 Storm Control)
user@host> show ethernet-switching interface ge-0/0/2.0 Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down, MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled, SCTL - shutdown by Storm-control, MI - MAC+IP limit hit) Logical Vlan TAG MAC MAC+IP STP Logical Tagging interface members limit limit state interface flags ge-0/0/2.0 524287 8192 DN,SCTL untagged VLAN1 100 65535 1024 Forwarding untagged
show ethernet-switching interface detail
user@host> show ethernet-switching interface detail Information for interface family: Name: ge-1/0/3.0 Type: IFF Handle: 0x8bba280 Index: 331 Generation: 159 Flags: UP, IFD index: 141 Routing/Vlan index: 4 IFL index: 331 Address family: 50 Sequence number: 0 MAC sequence number: 0 MAC limit: 65535 MACs learned: 0 Static MACs learned: 0 Non configured static MACs learned: 0 Name: ge-1/0/3.0 Type: IFBD (static) Handle: 0x8bb6e00 Index: Generation: 129 Trunk id: 0 Flags: UP, IFD index: Routing/Vlan index: 2 IFL index: Address family: Sequence number: 1 MAC sequence number: 1 MAC limit: 65535 MACs learned: 0 Static MACs learned: 0 Non configured static MACs learned: 0 VSTP index: 11 Rewrite op: Name: ge-1/0/3.0 Type: IFBD (static) Handle: 0x8bb6f00 Index: Generation: 130 Trunk id: 0 Flags: UP, IFD index: Routing/Vlan index: 3 IFL index: Address family: Sequence number: 1 MAC sequence number: 1 MAC limit: 65535 MACs learned: 0 Static MACs learned: 0 Non configured static MACs learned: 0 VSTP index: 11 Rewrite op:
显示以太网交换接口 xe-0/0/2.0(在 QFX5100 交换机上启用了自动状态排除)
user@switch> show ethernet-switching interface xe-0/0/2.0 Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down, MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled SCTL - shutdown by Storm-control) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/2.0 294912 AS tagged v100 100 294912 Forwarding tagged
发布信息
在 Junos OS 12.3R2 版中引入的命令。