下面这些值代表啥意思,去哪查询哈。
<H3C>dis interface GigabitEthernet 1/0/1
GigabitEthernet1/0/1
Current state: DOWN
Line protocol state: DOWN
Description: GigabitEthernet1/0/1 Interface
Bandwidth: 1000000 kbps
Maximum transmission unit: 1500
Allow jumbo frames to pass
Broadcast max-ratio: 100%
Multicast max-ratio: 100%
Unicast max-ratio: 100%
Internet address: 192.168.0.1/24 (Primary)
IP packet frame type: Ethernet II, hardware address: 9a1d-c40c-0106
IPv6 packet frame type: Ethernet II, hardware address: 9a1d-c40c-0106
Last link flapping: Never
Last clearing of counters: Never
Current system time:2024-09-27 10:32:56
Last time when physical state changed to up:-
Last time when physical state changed to down:2024-09-27 10:18:32
Peak input rate: 0 bytes/sec, at 00-00-00 00:00:00
Peak output rate: 0 bytes/sec, at 00-00-00 00:00:00
Last 300 second input: 1000 packets/sec 1000 bytes/sec -%
Last 300 second output: 1000 packets/sec 1000 bytes/sec -%
Input (total): 1000 packets, 1000 bytes
1000 unicasts, 1000 broadcasts, 1000 multicasts, 0 pauses
Input (normal): 0 packets, 0 bytes
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
Input: 1000 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, 0 overruns, 0 aborts
1000 ignored, 0 parity errors
Output (total): 1000 packets, 1000 bytes
1000 unicasts, 1000 broadcasts, 1000 multicasts, 0 pauses
Output (normal): 0 packets, 0 bytes
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
Output: 1000 output errors, 0 underruns, 0 buffer failures
1000 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, 0 no carrier
<H3C>dis packet-drop interface g1/0/1
GigabitEthernet1/0/1:
Packets dropped due to full GBP or insufficient bandwidth: 0
Packets dropped due to Fast Filter Processor (FFP): 0
Packets dropped due to STP non-forwarding state: 0
Packets dropped due to rate-limit: 0
Packets dropped due to broadcast-suppression: 0
Packets dropped due to unicast-suppression: 0
Packets dropped due to multicast-suppression: 0
Packets dropped due to Tx packet aging: 0
<H3C>dis interface link-info
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol InUsage OutUsage InErrs OutErrs
GE1/0/0 DOWN DOWN -- -- -- --
<H3C>dis counters inbound interface g1/0/1
Interface Total (pkts) Broadcast (pkts) Multicast (pkts) Err (pkts)
GE1/0/1 2000 2000 2000 2000
Overflow: More than 14 digits (7 digits for column "Err").
--: Not supported.
<Manage_sw>dis counters rate inbound interface
Usage: Bandwidth utilization in percentage
Interface Usage (%) Total (pps) Broadcast (pps) Multicast (pps)
GE1/0/1 0 2 -- --
GE1/0/2 0 104 -- --
(0)
最佳答案
display interface命令用来显示聚合接口的相关信息。
【命令】
display interface [ { bridge-aggregation | route-aggregation } [ interface-number ] ] [ brief [ description | down ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
context-admin
context-operator
【参数】
bridge-aggregation:显示二层聚合接口的相关信息。
route-aggregation:显示三层聚合接口的相关信息。
interface-number:表示聚合接口的编号,取值范围为已创建的聚合接口的编号。
brief:显示接口的概要信息。如果未指定该参数,将显示接口的详细信息。
description:用来显示用户配置的接口的全部描述信息。如果某接口的描述信息超过27个字符,不指定该参数时,只显示描述信息中的前27个字符,超出部分不显示;指定该参数时,可以显示全部描述信息。
down:显示当前物理状态为down的接口的信息以及down的原因。不指定该参数时,将不会根据接口物理状态来过滤显示信息。
【使用指导】
如果未指定聚合接口的类型,将显示除VA(Virtual Access,虚拟访问)接口外所有接口的相关信息。有关VA接口的详细介绍,请参见“二层技术-广域网接入配置指导”中的“PPP”。
如果指定了聚合接口的类型而未指定聚合接口编号,将显示所有已创建的该类型聚合接口的相关信息。
【举例】
# 显示二层聚合接口1的详细信息。
<Sysname> display interface bridge-aggregation 1
Bridge-Aggregation1
Current state: UP
IP packet frame type: Ethernet II, hardware address: 000f-e207-f2e0
Description: Bridge-Aggregation1 Interface
Bandwidth: 1000 kbps
2Gbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
PVID: 1
Port link-type: Access
Tagged VLANs: None
UnTagged VLANs: 1
Last clearing of counters: Never
Last 300 seconds input: 6900 packets/sec 885160 bytes/sec 0%
Last 300 seconds output: 3150 packets/sec 404430 bytes/sec 0%
Input (total): 5364747 packets, 686688416 bytes
2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses
Input (normal): 5364747 packets, 686688416 bytes
2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, 0 overruns, - aborts
- ignored, - parity errors
Output (total): 1042508 packets, 133441832 bytes
1042306 unicasts, 0 broadcasts, 202 multicasts, - pauses
Output (normal): 1042508 packets, 133441832 bytes
1042306 unicasts, 0 broadcasts, 202 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
# 显示三层聚合接口1的详细信息。
<Sysname> display interface route-aggregation 1
Route-Aggregation1
Current state: UP
Line protocol state: UP
Description: Route-Aggregation1 Interface
Bandwidth: 1000 kbps
Maximum transmission unit: 1500
Internet protocol processing: Disabled
IP packet frame type: Ethernet II, hardware address: 0000-0000-0000
IPv6 packet frame type: Ethernet II, hardware address: 0000-0000-0000
Link speed type is autonegotiation, link duplex type is autonegotiation
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops
# 显示二层聚合接口1的概要信息。
<Sysname> display interface bridge-aggregation 1 brief
Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) – auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
BAGG1 UP auto A A 1
# 显示三层聚合接口1的概要信息。
<Sysname> display interface route-aggregation 1 brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
RAGG1 UP UP --
表1-1 display interface命令显示信息描述表
字段 | 描述 |
Bridge-Aggregation1 | 二层聚合接口名 |
Route-Aggregation1 | 三层聚合接口名 |
Current state | 接口的状态: · Administratively DOWN:表示该接口已被shutdown命令关闭,其管理状态为关闭 · DOWN:表示该接口的管理状态为开启,但其物理状态为关闭(可能由于没有物理连线或线路故障) · UP:表示该接口的管理状态和物理状态均为开启 |
IP packet frame type | IPv4报文帧格式 |
IPv6 packet frame type | IPv6报文帧格式 |
hardware address | 接口的MAC地址 |
Description | 接口的描述信息 |
Bandwidth | 接口的期望带宽值,当该参数的取值为0时,不显示该参数 |
Port priority | 接口优先级 |
Unknown-speed mode, unknown-duplex mode | 接口的速率和双工模式均未知 |
Link speed type is autonegotiation, link duplex type is autonegotiation | 接口的速率和双工模式都是通过自协商确定的 |
PVID | 接口缺省VLAN的编号 |
Port link-type | 接口的链路类型,取值可能为access、trunk或hybrid |
Tagged VLANs | 通过该接口后携带Tag的VLAN |
Untagged VLANs | 通过该接口后不再携带Tag的VLAN |
Last clearing of counters | 最后一次使用reset counters interface命令清除接口统计信息的时间。如果从设备启动一直没有执行reset counters interface命令清除过该接口下的统计信息,则显示Never |
Last 300 seconds input/output rate | 接口在最近300秒接收/发送报文的平均速率 |
Input/Output (total) | 接口接收/发送的全部报文的统计值 |
Input/Output (normal) | 接口接收/发送的正常报文的统计值 |
Line protocol state | 接口数据链路层协议状态: · UP · DOWN |
Maximum transmission unit | 接口的最大传输单元 |
Internet protocol processing: Disabled | 接口未配置IP地址,不能处理IP报文 |
Internet address: ip-address/mask-length (Type) | 接口IP地址。Type表示地址获取方式,取值如下: · Primary:手动配置的主地址 · Sub:手动配置的从地址。当配置了主地址时,仅显示主地址;仅配置从地址时,才显示本信息 · DHCP-Allocated:通过DHCP获取的IP地址,详细介绍请参见“三层技术-IP业务命令参考”中的“DHCP” · BOOTP-Allocated:通过BOOTP获取的IP地址,详细介绍请参见“三层技术-IP业务命令参考”中的“DHCP” · PPP-Negotiated:PPP协商过程中由Server端分配的IP地址,详细介绍请参见“二层技术-广域网接入命令参考”中的“PPP” · Unnumbered:借用其他接口的IP地址 · MAD:成员设备上配置的MAD IP地址,详细介绍请参见“虚拟化技术命令参考”中的“IRF” · SSLVPN:SSL VPN AC接口的IP地址,详细介绍请参见“VPN命令参考”中的“SSL VPN” Type的取值情况与接口类型有关,请以实际情况为准 |
Brief information on interfaces in route mode | 三层接口的概要信息 |
Brief information on interfaces in bridge mode | 二层接口的概要信息 |
Link: ADM - administratively down; Stby - standby | 接口的物理连接状态: · ADM:表示该接口已被管理员通过shutdown命令关闭,在该接口下执行undo shutdown命令才能恢复其物理状态 · Stby:表示该接口是一个处于Standby状态的备份接口(暂不支持) |
Speed: (a) - auto | 如果某接口的Speed属性值为“(a)”,则表示该接口的速率是通过自动协商获取的 如果某接口的Speed属性值为“auto”,则表示该接口的速率是通过自动协商获取的,但协商还未开始 |
Duplex: (a)/A - auto; H - half; F - full | 接口的双工模式: · (a)/A:表示双工模式都是通过自协商确定的 · H:表示双工模式为半双工 · F:表示双工模式为全双工 |
Type: A - access; T - trunk; H - hybrid | 接口的链路类型: · A:表示Access类型 · H:表示Hybrid类型 · T:表示Trunk类型 |
Protocol: (s) - spoofing | 如果某接口的Protocol属性值中带有“(s)”字符串,则表示该接口的数据链路层协议状态显示为UP,但实际可能没有对应的链路,或者对应的链路不是永久存在而是按需建立的 |
Interface | 接口名称的缩写 |
Link | 接口物理连接状态,取值为: · UP:表示接口物理上是连通的 · DOWN:表示接口物理上是不通的 · ADM:表示接口被管理员通过shutdown命令关闭,需要执行undo shutdown命令才能恢复接口本身的物理状态 · Stby:表示该接口是一个处于Standby状态的备份接口 |
Speed | 接口的速率(单位为bps) |
Duplex | 接口的双工模式 |
Type | 接口的链路类型 · A:表示Access链路类型 · H:表示Hybrid链路类型 · T:表示Trunk链路类型 |
Protocol | 接口数据链路层协议状态,取值为: · UP:表示接口的数据链路层协议状态为开启 · DOWN:表示接口的数据链路层协议状态为关闭 · UP(s):表示接口的数据链路层协议状态显示为UP,但实际可能没有对应的链路,或者对应的链路不是永久存在而是按需建立的 |
Primary IP | 接口的主IP地址 |
Cause | 接口物理连接状态为down的原因 |
举例】
# 显示接口GigabitEthernet1/0/1丢弃报文的信息。
<Sysname> display packet-drop interface gigabitethernet 1/0/1
GigabitEthernet1/0/1:
Packets dropped due to runt frame: 0
Packets dropped due to packet too long: 0
Packets dropped due to align: 0
Packets dropped due to under run: 0
Packets dropped due to over run: 0
Packets dropped due to CRC: 0
Packets dropped due to no buffer: 0
Packets dropped due to dribble: 0
Packets dropped due to lost carriers: 0
Packets dropped due to tx collision: 0
Packets dropped due to defered: 0
Packets dropped due to MAC fileter: 0
Packets dropped due to cpu receive: 0
Packets dropped due to create mbuf: 0
# 将所有接口丢弃报文的统计信息累计后再显示。
<Sysname> display packet-drop summary
All interfaces:
Packets dropped due to full GBP or insufficient bandwidth: 301
Packets dropped due to Fast Filter Processor (FFP): 261
Packets dropped due to STP non-forwarding state: 0
Packets dropped due to rate-limit: 143
Packets dropped due to broadcast-suppression: 301
Packets dropped due to unicast-suppression: 215
Packets dropped due to multicast-suppression: 241
Packets dropped due to Tx packet aging: 246
表1-7 display packet-drop命令显示信息描述表
字段 | 描述 |
Packets dropped due to full GBP or insufficient bandwidth | 由于芯片缓存满或者带宽不够导致的丢包数 |
Packets dropped due to Fast Filter Processor (FFP) | 由于数据包被过滤所导致的丢包数 |
Packets dropped due to STP non-forwarding state | 由于STP协议状态为discarding导致的丢包数 |
Packets dropped due to rate-limit | 由于速率限制导致的丢包数 |
Packets dropped due to broadcast-suppression | 由于广播抑制导致的丢包数 |
Packets dropped due to unicast-suppression | 由于未知单播抑制导致的丢包数 |
Packets dropped due to multicast-suppression | 由于组播抑制导致的丢包数 |
Packets dropped due to Tx packet aging | 由于出方向报文超时导致的丢包数 |
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论