【命令】
display interface Vlan-interface [ vlan-interface-id ]
【视图】
任意视图
【参数】
vlan-interface-id:VLAN接口的编号。
【描述】
display interface Vlan-interface命令用来显示VLAN接口的相关信息。
如果指定了vlan-interface-id,则显示指定VLAN接口的情况;如果不指定,将显示已创建的所有VLAN接口的情况。
创建VLAN接口可参考命令interface vlan-interface。
【举例】
# 显示VLAN-interface 2的相关信息。
<Sysname> display interface vlan-interface 2
Vlan-interface2 current state: DOWN
Line protocol current state: DOWN
Description: Vlan-interface2 Interface
The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/24 Primary
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5503
IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5503
表1-1 display interface Vlan-interface命令显示信息描述表
字段 |
描述 |
Vlan-interface2 current state |
VLAN接口的物理状态 |
Line protocol current state |
VLAN接口的链路层协议状态 |
Description |
VLAN接口的字符串描述 |
The Maximum Transmit Unit |
VLAN接口允许通过的最大传输单元(MTU) |
Internet Address |
VLAN接口对应的IP地址,Primary表示该地址为当前接口的主IP地址 |
IP Packet Frame Type |
IPv4发送帧格式 |
Hardware Address |
VLAN接口对应的MAC地址 |
IPv6 Packet Frame Type |
IPv6发送帧格式 |