华为交换机查询命令

随时待补充:

1、查看端口状态

dis int XGigabitEthernet 1/5/0/18                           
XGigabitEthernet1/5/0/18 current state : DOWN
Line protocol current state : DOWN
看到down字眼,即为端口是关闭状态,up是开启状态

2、查看收发光功率

dis transceiver interface XGigabitEthernet 1/5/0/18 verbose
Diagnostic information:
  Temperature(C)                      :47
  Voltage(V)                            :3.34
  Bias Current(mA)                      :30.23
  Bias High Threshold(mA)               :90.00
  Bias Low  Threshold(mA)               :5.00
  Current Rx Power(dBM)                 :-40.00
  Default Rx Power High Warning(dBM)    :-0.50
  Default Rx Power Low  Warning(dBM)    :-16.99
  Default Rx Power High Threshold(dBM)  :0.00
  Default Rx Power Low  Threshold(dBM)  :-17.50
  Current Tx Power(dBM)                 :-1.42
  Default Tx Power High Warning(dBM)    :2.50
  Default Tx Power Low  Warning(dBM)    :-7.50
  Default Tx Power High Threshold(dBM)  :3.00
  Default Tx Power Low  Threshold(dBM)  :-8.00
  User Set Rx Power High Threshold(dBM) :0.00
  User Set Rx Power Low Threshold(dBM)  :-17.50
  User Set Tx Power High Threshold(dBM) :3.00
  User Set Tx Power Low Threshold(dBM)  :-8.00

Current Rx Power(dBM)代表收光功率,值如果是-40则说明基本完全不可用,Current Tx Power(dBM)代表发光功率

你可能感兴趣的:(系统运维,服务器,运维)