-
华为
5620
系列实
用命令
查看单个以太网端口状态
MA5620>enable
MA5620#config
MA5620(config)#interface eth 0/1
MA5620(config-if-eth-0/1)#display port
state 1
The
port is active
Ethernet port is offline
Ethernet port duplex is
auto-negotiation
Ethernet port rate is auto-negotiation
Ethernet port
does not support flow control
Ethernet port does not
support jumbo frame
Line-adaptive function of the ethernet
port is auto-negotiation
Note: For a 1000 M, electrical port in
the full-duplex mode, setting MDI to any value is
invalid
查看所有用户端口状态
MA5620#display board 0/1
---------------------------------------
Board Name
: H821EPFA
Board Status
: Normal
---------------------------------------
---------------
--------------------------------------------------
-------------
Port
Port
Optic
MDI
Speed
Duplex
Flow-
Active
Link
Type
Status
(Mbps)
Ctrl
State
---------------------------
--------------------------------------------------
-
1
FE
-
auto
auto
auto
off
active
offline
2
FE
-
auto
auto
auto
off
active
offline
3
FE
-
auto
auto
auto
off
active
offline
4
FE
-
auto
auto
auto
off
active
offline
5
FE
-
auto
auto
auto
off
active
offline
6
FE
-
auto
auto
auto
off
active
offline
7
FE
-
auto
auto
auto
off
active
offline
8
FE
-
auto
auto
auto
off
active
offline
9
FE
-
auto
auto
auto
off
active
offline
10
FE
-
auto
auto
auto
off
active
offline
11
FE
-
auto
auto
auto
off
active
offline
12
FE
-
auto
auto
auto
off
active
offline
13
FE
-
auto
auto
auto
off
active
offline
14
FE
-
auto
auto
auto
off
active
offline
常见以太网配置命令
5620(config-if-eth-0/1)#?
---------------------------
------------------
Command of eth Mode:
---------------------------
------------------
auto-neg
Enable/Disable port
negotiation
//
端口自适应
display
Display information
//
查看端口信息
duplex
Set duplex
//
双工模式
flow-control
Support flow control
//
mdi
Line-adaptive function
//
mirror
Add mirror
//
端口镜象
quit
Exit from current mode and enter prior
mode
//
退出
reset
Clear port
statistics
//
清除端口流量信息
return
Enter the
privileged mode
//
shutdown
Deactivate port
//
关闭端口
speed
Rate
//
设定速率
switch
Switch language
mode
traffic-suppress
Set port traffic suppression
undo
Negate a command or set its defaults
查询流量
先
en
进入全局模式,再
con
进入全局配置模式
/
查看上联口流量
5620(config)#interface
eponnni 0/0/1
5620(config-if-eponnni-0/0/1)# display
epon-port statistic
---------------
--------------------------------------------------
PON Tx frames
:
158064327
PON
Rx frames
: 202885703
PON Rx FEC error frames
: 0
PON Rx HEC error frames
: 0
PON PQ drop frames
: 1074871
UNI Tx frames
: 105488681
UNI Rx frames
:
56330059
UNI Rx
FEC error frames
: 0
UNI PQ drop
frames
: 0
PON Tx MCPC
frames
:
102739553
PON
Rx MCPC frames
:
103766952
PON
Tx OAM frames
: 71400
PON Rx OAM frames
: 70243
---------------------------
--------------------------------------
-
-
-
-
-
-
-
-
-
上一篇:不愿扔东西的人很敏感(小习惯看性格)
下一篇:OSPF LSA过滤简述