环境:
H3C S6520交换机
问题描述:
H3C交换机如何看端口的传输速率
解决方案:
1.显示端口
display interface Ten-GigabitEthernet 1/0/6
Ten-GigabitEthernet1/0/6
Current state: DOWN
Line protocol state: DOWN(LAGG)
IP packet frame type: Ethernet II, hardware address: 1484-77e2-f757
Description: Ten-GigabitEthernet1/0/6 Interface
Bandwidth: 10000000 kbps(传输速率)
Loopback is not set
Media type is not sure, Port hardware type is no connector
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Maximum frame length: 10000
Allow jumbo frames to pass
Broadcast max-ratio: 100%
Multicast max-ratio: 100%
Unicast max-ratio: 100%
PVID: 1
MDI type: Automdix
Port link-type: Trunk
VLAN Passing: 1(default vlan), 100
VLAN permitted: 1(default vlan), 100
Trunk port encapsulation: IEEE 802.1q
Port priority: 0
Last link flapping: Never
Last clearing of counters: Never
Current system time:2021-01-01 15:26:28
Last time when physical state changed to up:-
Last time when physical state changed to down:2021-01-01 00:00:52
Peak input rate: 0 bytes/sec, at 2021-01-01 00:01:22
Peak output rate: 0 bytes/sec, at 2021-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 carrier
IPv4 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
IPv6 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 - standby
Protocol: (s) - spoofing
Interface 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 - 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 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 (出方向)