show ethernet-switching layer2-protocol-tunneling statistics
语法
show ethernet-switching-layer2-protocol-tunneling statistics <interface interface-name> <vlan vlan-name>
描述
显示交换机接收的第 2 层 PDU 数据包的第 2 层协议隧道 (L2PT) 统计信息。
注意:
命令 show ethernet-switching-layer2-protocol-tunneling statistics
不显示从交换机传输的第 2 层 PDU 数据包的 L2PT 统计信息。
选项
none | 显示启用了 L2PT 的所有接口的 L2PT 统计信息。 |
interface interface-name | (可选)显示指定接口的 L2PT 统计信息。 |
vlan vlan-name | (可选)显示指定 VLAN 的 L2PT 统计信息。 |
所需权限级别
视图
输出字段
表 1 列出了命令 show ethernet-switching layer2-protocol-tunneling statistics
的输出字段。输出字段按其出现的大致顺序列出。
Vlan |
字段说明 |
---|---|
Vlan |
已配置 L2PT 的 VLAN 的名称。 |
接口 |
已配置 L2PT 的接口的名称。 |
协议 |
已启用 L2PT 的协议的名称。值全部为 802.1x、802.3ah、cdp、e-lmi、gvrp、lacp、lldp、mmrp、mvrp、stp、udld、vstp 和 vtp。 |
操作 |
在接口上执行的操作类型。值为 封装 和解 封装。 |
包 |
已封装或解封装的数据包数。 |
滴 |
已超过丢弃阈值并已被丢弃的数据包数。 |
关闭 |
数据包超过关闭阈值且接口已关闭的次数。 |
示例输出
显示以太网交换第 2 层协议隧道统计信息
user@switch> show ethernet-switching layer2-protocol-tunneling statistics Layer2 Protocol Tunneling Statistics: VLAN Interface Protocol Operation Packets Drops Shutdowns v1 xe-0/0/0.0 mvrp Encapsulation 0 0 0 v1 xe-0/0/1.0 mvrp Decapsulation 0 0 0 v1 xe-0/0/2.0 mvrp Decapsulation 60634 0 0 v2 xe-0/0/0.0 cdp Encapsulation 0 0 0 v2 xe-0/0/0.0 gvrp Encapsulation 0 0 0 v2 xe-0/0/0.0 lldp Encapsulation 0 0 0
显示以太网交换第 2 层协议隧道统计信息接口 xe-0/0/0.0
user@switch> show ethernet-switching layer2-protocol-tunneling statistics interface xe-0/0/0.0 Layer2 Protocol Tunneling Statistics: VLAN Interface Protocol Operation Packets Drops Shutdowns v1 xe-0/0/0.0 mvrp Encapsulation 0 0 0 v2 xe-0/0/0.0 cdp Encapsulation 0 0 0 v2 xe-0/0/0.0 gvrp Encapsulation 0 0 0 v2 xe-0/0/0.0 lldp Encapsulation 0 0 0 v2 xe-0/0/0.0 mvrp Encapsulation 0 0 0 v2 xe-0/0/0.0 stp Encapsulation 0 0 0 v2 xe-0/0/0.0 vtp Encapsulation 0 0 0 v2 xe-0/0/0.0 vstp Encapsulation 0 0 0
显示以太网交换第 2 层协议隧道统计信息 VLAN v2
user@switch> show ethernet-switching layer2-protocol-tunneling statistics vlan v2 Layer2 Protocol Tunneling Statistics: VLAN Interface Protocol Operation Packets Drops Shutdowns v2 xe-0/0/0.0 cdp Encapsulation 0 0 0 v2 xe-0/0/0.0 gvrp Encapsulation 0 0 0 v2 xe-0/0/0.0 lldp Encapsulation 0 0 0 v2 xe-0/0/0.0 mvrp Encapsulation 0 0 0 v2 xe-0/0/0.0 stp Encapsulation 0 0 0 v2 xe-0/0/0.0 vtp Encapsulation 0 0 0 v2 xe-0/0/0.0 vstp Encapsulation 0 0 0 v2 xe-0/0/1.0 cdp Decapsulation 0 0 0 v2 xe-0/0/1.0 gvrp Decapsulation 0 0 0 v2 xe-0/0/1.0 lldp Decapsulation 0 0 0 v2 xe-0/0/1.0 mvrp Decapsulation 0 0 0 v2 xe-0/0/1.0 stp Decapsulation 0 0 0 v2 xe-0/0/1.0 vtp Decapsulation 0 0 0
发布信息
在 Junos OS 10.0 版中引入的命令。