|
本帖最后由 hs_zhang@10gsfp 于 2016-12-15 16:40 编辑
现有Edge Core交换机型号是AS5712-54X,可支持cumulus 版本2.5.1 - 3.0.0(链接参考:https://docs.cumulusnetworks.com/)
目前安装的版本为cumulus 3.0.0
cumulus 3.0.0 基本操作命令如下:(链接参考:https://support.cumulusnetworks. ... rface-Show-Commands)
cumulus //登陆帐号
CumulusLinux! //登陆密码
cat /etc/os-release //查看版本信息
sudo cl-license //查看License信息
sudo decode-syseeprom //查看硬件信息
history //查看使用命令记录
hostname //查看主机名
sudo ip link set swp1 up //开启端口
sudo ifquery -a //查看接口
sudo ifdown swp1s0 //关闭接口swp1
netshow counters //查看端口连接状态
sudo ethtool -m swp1(swp49s0) //查看端口模块信息
cumulus 3.0.0 读取模块信息,例如:SFP-SR 读取信息为:
cumulus@cumulus:~$ //SFP-SR
cumulus@cumulus:~$ sudo ethtool -m swp1
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x07 (LC)
Transceiver codes : 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Transceiver type : 10G Ethernet: 10G Base-SR
Encoding : 0x06 (64B/66B)
BR, Nominal : 10300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 0km
Length (SMF) : 0m
Length (50um) : 80m
Length (62.5um) : 30m
Length (Copper) : 0m
Length (OM3) : 300m
Laser wavelength : 850nm
Vendor name : FINISAR CORP.
Vendor OUI : 00:90:65
Vendor PN : FTLX8571D3BCL-FC
Vendor rev : A
Option values : 0x00 0x1a
Option : RX_LOS implemented
Option : TX_FAULT implemented
Option : TX_DISABLE implemented
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : AQ42XM7
Date code : 130804
Optical diagnostics support : Yes
Laser bias current : 5.760 mA
Laser output power : 0.3765 mW / -4.24 dBm
Receiver signal average optical power : 0.0000 mW / -inf dBm
Module temperature : 20.30 degrees C / 68.54 degrees F
Module voltage : 3.3393 V
Alarm/warning flags implemented : Yes
Laser bias current high alarm : Off
Laser bias current low alarm : Off
Laser bias current high warning : Off
Laser bias current low warning : Off
Laser output power high alarm : Off
Laser output power low alarm : Off
Laser output power high warning : Off
Laser output power low warning : Off
Module temperature high alarm : Off
Module temperature low alarm : Off
Module temperature high warning : Off
Module temperature low warning : Off
Module voltage high alarm : Off
Module voltage low alarm : Off
Module voltage high warning : Off
Module voltage low warning : Off
Laser rx power high alarm : Off
Laser rx power low alarm : On
Laser rx power high warning : Off
Laser rx power low warning : On
Laser bias current high alarm threshold : 11.000 mA
Laser bias current low alarm threshold : 2.000 mA
Laser bias current high warning threshold : 10.000 mA
Laser bias current low warning threshold : 3.000 mA
Laser output power high alarm threshold : 1.0000 mW / 0.00 dBm
Laser output power low alarm threshold : 0.1778 mW / -7.50 dBm
Laser output power high warning threshold : 0.7943 mW / -1.00 dBm
Laser output power low warning threshold : 0.3548 mW / -4.50 dBm
Module temperature high alarm threshold : 80.00 degrees C / 176.00 degrees F
Module temperature low alarm threshold : -10.00 degrees C / 14.00 degrees F
Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
Module temperature low warning threshold : -5.00 degrees C / 23.00 degrees F
Module voltage high alarm threshold : 3.6000 V
Module voltage low alarm threshold : 3.0000 V
Module voltage high warning threshold : 3.5000 V
Module voltage low warning threshold : 3.1000 V
Laser rx power high alarm threshold : 0.7943 mW / -1.00 dBm
Laser rx power low alarm threshold : 0.0100 mW / -20.00 dBm
Laser rx power high warning threshold : 0.7079 mW / -1.50 dBm
Laser rx power low warning threshold : 0.0125 mW / -19.03 dBm
cumulus@cumulus:~$
|
|