display interface [ interface_type | interface_type interface_num |
interface_name ]
interface_type:端口类型。
interface_num:端口号。
interface_name : 端口名, 表示方法为interface_name=interface_type
interface_num。
参数的具体说明请参见interface 命令中的参数说明。
display interface 命令用来显示端口的配置信息。
在显示端口信息时,如果不指定端口类型和端口号,则显示交换机上所有的
端口信息;如果仅指定端口类型,则显示该类型端口的所有端口信息;如果
同时指定端口类型和端口号,则显示指定的端口信息。
【举例】
# 显示以太网端口Ethernet0/1 的配置信息。
<Quidway> display interface ethernet0/1
Ethernet0/1 current state : UP
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is
00e0-fc00-0010
Description : aaa
The Maximum Transmit Unit is 1500
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
100Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not supported
The Maximum Frame Length is 1536
Broadcast MAX-ratio: 100%
PVID: 1
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 1
Last 5 minutes input: 0 packets/sec 0 bytes/sec
Last 5 minutes output: 0 packets/sec 0 bytes/sec
input(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
input(normal): - packets, - bytes
- broadcasts, - multicasts
input: 0 input errors, 0 runts, 0 giants, - throttles, 0 CRC
0 frame, - overruns, 0 aborts, 0 ignored, - parity errors
Output(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0 pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 0 output errors, 0 underruns, - buffer failures
- aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
Ethernet0/1 current state 以太网端口当前开启或关闭状态
IP Sending Frames' Format 以太网帧格式
Hardware address 端口硬件地址
Description 端口描述字符串
The Maximum Transmit Unit 最大传输单元
Media type 介质类型
loopback not set 端口环回测试状态
Port hardware type 端口硬件类型
100Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link
duplex type is autonegotiation
端口的双工状态和速率均设置为自协商状态,
与对端协商的实际结果是100Mbit/s 速率和全双工模式
Flow-control is not supported 端口流控状态
The Maximum Frame Length 端口允许通过的最大以太网帧长度
Broadcast MAX-ratio 端口广播风暴抑制比
PVID 端口缺省VLAN ID Mdi type 网线类型
Port link-type 端口链路类型
Tagged VLAN ID 标识在该端口有哪些VLAN 的报文需要打
Untagged VLAN ID 标识在该端口有哪些VLAN 的报文不需要打
Last 5 minutes output: 0 packets/sec 0 bytes/sec
Last 5 minutes input: 0 packets/sec 0 bytes/sec
端口最近五分钟输入和输出速率和报文数
input(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
input(normal): - packets, - bytes
- broadcasts, - multicasts
input: 0 input errors, 0 runts, 0 giants, -
throttles, 0 CRC
0 frame, - overruns, 0 aborts, 0
ignored, - parity errors
Output(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0
pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 0 output errors, 0 underruns, -
buffer failures
- aborts, 0 deferred, 0 collisions, 0
late collisions
- lost carrier, - no carrier
端口输入/输出报文和错误信息统计