知方号

知方号

H3C交换机如何看端口的传输速率等信息<交换机查看接口状态的命令>

H3C交换机如何看端口的传输速率等信息

环境:

H3C S6520交换机

问题描述:

H3C交换机如何看端口的传输速率

解决方案:

1.显示端口

display interface Ten-GigabitEthernet 1/0/6

Ten-GigabitEthernet1/0/6Current state: DOWNLine protocol state: DOWN(LAGG)IP packet frame type: Ethernet II, hardware address: 1484-77e2-f757Description: Ten-GigabitEthernet1/0/6 InterfaceBandwidth: 10000000 kbps(传输速率)Loopback is not setMedia type is not sure, Port hardware type is no connectorUnknown-speed mode, unknown-duplex modeLink speed type is autonegotiation, link duplex type is autonegotiationFlow-control is not enabledMaximum frame length: 10000Allow jumbo frames to passBroadcast max-ratio: 100%Multicast max-ratio: 100%Unicast max-ratio: 100%PVID: 1MDI type: AutomdixPort link-type: Trunk VLAN Passing: 1(default vlan), 100 VLAN permitted: 1(default vlan), 100 Trunk port encapsulation: IEEE 802.1qPort priority: 0Last link flapping: NeverLast clearing of counters: NeverCurrent system time:2023-01-01 15:26:28Last time when physical state changed to up:-Last time when physical state changed to down:2023-01-01 00:00:52 Peak input rate: 0 bytes/sec, at 2023-01-01 00:01:22 Peak output rate: 0 bytes/sec, at 2023-01-01 00:01:22 Last 300 seconds input: 0 packets/sec 0 bytes/sec -% Last 300 seconds output: 0 packets/sec 0 bytes/sec -% Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, - overruns, 0 aborts - ignored, - parity errors Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrierIPv4 traffic statistics: Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec Input: 0 packets, 0 bytes Output: 0 packets, 0 bytesIPv6 traffic statistics: Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec Input: 0 packets, 0 bytes Output: 0 packets, 0 bytes

2.显示端口摘要

dis interface brief

Speed一列代表协商速率 Duplex一列代表双工模式(A为自动协商、F为全双工、H为半双工)

Brief information on interfaces in route mode:Link: ADM - administratively down; Stby - standbyProtocol: (s) - spoofingInterface Link Protocol Primary IP Description InLoop0 UP UP(s) -- MGE0/0/0 DOWN DOWN -- NULL0 UP UP(s) -- REG0 UP -- -- Vlan1 UP UP -- Vlan100 UP UP Brief information on interfaces in bridge mode:Link: ADM - administratively down; Stby - standbySpeed: (a) - autoDuplex: (a)/A - auto; H - half; F - fullType: A - access; T - trunk; H - hybridInterface Link Speed Duplex Type PVID Description BAGG1 DOWN auto A T 1 BAGG2 DOWN auto A T 1 BAGG3 DOWN auto A T 1 XGE1/0/1 DOWN auto A T 1 XGE1/0/2 DOWN auto A T 1 XGE1/0/3 DOWN auto A T 1 XGE1/0/4 DOWN auto A T 1 XGE1/0/5 DOWN auto A T 1 XGE1/0/6 DOWN auto A T 1 XGE1/0/7 DOWN auto A A 100 XGE1/0/8 UP 10G(a) F(a) A 100 XGE1/0/9 UP 10G(a) F(a) A 100 XGE1/0/10 DOWN auto A A 1 XGE1/0/11 DOWN auto A A 1 XGE1/0/12 DOWN auto A A 1 XGE1/0/13 DOWN auto A A 1 XGE1/0/14 DOWN auto A A 1 XGE1/0/15 DOWN auto A A 1 XGE1/0/16 DOWN auto A A 1 XGE1/0/17 DOWN auto A A 1 XGE1/0/18 DOWN auto A A 1

3.视图模式下查看全部端口实时流量:

display counters rate inbound interface(入方向) display counters rate outbound interface (出方向)

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lizi9903@foxmail.com举报,一经查实,本站将立刻删除。