show ethernet-switching layer2-protocol-tunneling interface
Syntax
show ethernet-switching-layer2-protocol-tunneling interface <interface-name>
Description
在为 L2PT 配置的接口上显示有关第 2 层协议隧道 (L2PT) 的信息。
Options
无 | 显示有关启用 L2PT 的所有接口的 L2PT 信息。 |
接口名称 | (可选)显示指定接口的 L2PT 信息。 |
Required Privilege Level
视图
Output Fields
表 1 列出了 命令的 show ethernet-switching layer2-protocol-tunneling interface
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
---|---|
Interface |
交换机上的接口名称。 |
Operation |
在接口上执行的操作类型。值为 Encapsulation 和 Decapsulation。 |
State |
接口的状态。值为 active 和 shutdown。 |
Description |
如果接口状态为 shutdown,请显示接口关闭的原因。如果说明说明 Loop detected,则表示接口是已接收支持 L2PT 的 PDU 的访问接口。接入接口不应接收支持 L2PT 的 PDU。这种情况可能意味着网络中有一个环路。 |
Sample Output
- show ethernet-switching layer2-protocol-tunneling interface
- show ethernet-switching layer2-protocol-tunneling interface xe-0/0/0.0
show ethernet-switching layer2-protocol-tunneling interface
user@switch> show ethernet-switching layer2-protocol-tunneling interface Layer2 Protocol Tunneling information: Interface Operation State Description xe-0/0/0.0 Encapsulation Shutdown Shutdown threshold exceeded xe-0/0/1.0 Decapsulation Shutdown Loop detected xe-0/0/2.0 Decapsulation Active
show ethernet-switching layer2-protocol-tunneling interface xe-0/0/0.0
user@switch> show ethernet-switching layer2-protocol-tunneling interface xe-0/0/0.0 Layer2 Protocol Tunneling information: Interface Operation State Description xe-0/0/0.0 Encapsulation Shutdown Shutdown threshold exceeded
Release Information
在 Junos OS 10.0 版中引入的命令。