Fault Diagnosis
Summary: Networking › Switching › Edge › Synapse
Configuring Port Optical Module
- Configuring Optical-transceiver Monitor Enable
SWITCH(config-if)# optical-transceiver monitor enable
SWITCH(config-if)# no optical-transceiver monitor enable
Enable monitor the specified interface, detect the status of optical module periodically. Default is disabled.
SWITCH(config)# optical-transceiver monitor interval MINUTES
SWITCH(config-if)# no optical-transceiver monitor interval
Set the interval of the transceiver monitor. Default is 15 minutes. Range from 1 to 1440 minutes.
SWITCH(config-if)# optical-transceiver threshold temperature HALARM HWARN LWARN LALARM
SWITCH(config-if)# no optical-transceiver threshold temperature
By default, the optical module has own temperature threshold setting, so it is not recommended to configure the temperature threshold. HALARM: high-alarm threshold value, range from -255 to 255 C HWARN: high-warning threshold value, range from -255 to 255 C LWARN: low-warning threshold value, range from -255 to 255 C LALARM: low-alarm threshold value, range from -255 to 255 C The HALARM value should not smaller than HWARN value. The LWARN value should not smaller than LALARM value.
SWITCH(config-if)# optical-transceiver threshold voltage HALARM HWARN LWARN LALARM
SWITCH(config-if)# no optical-transceiver threshold voltage
By default, the optical module has own voltage threshold setting, so it is not recommended to configure the voltage threshold. HALARM: high-alarm threshold value, range from 0.00 to 5.00 V HWARN: high-warning threshold value, range from 0.00 to 5.00 V LWARN: low-warning threshold value, range from 0.00 to 5.00 V LALARM: low-alarm threshold value, range from 0.00 to 5.00 V The HALARM value should not smaller than HWARN value. The LWARN value should not smaller than LALARM value.
SWITCH(config-if)# optical-transceiver threshold bias HALARM HWARN LWARN LALARM
SWITCH(config-if)# no optical-transceiver threshold bias
By default, the optical module has own bias threshold setting, so it is not recommended to configure the bias threshold. HALARM: high-alarm threshold value, range from 0.00 to 500.00 mA HWARN: high-warning threshold value, range from 0.00 to 500.00 mA LWARN: low-warning threshold value, range from 0.00 to 500.00 mA LALARM: low-alarm threshold value, range from 0.00 to 500.00 mA The HALARM value should not smaller than HWARN value. The LWARN value should not smaller than LALARM value.
SWITCH(config-if)# optical-transceiver threshold rx-power HALARM HWARN LWARN LALARM
SWITCH(config-if)# no optical-transceiver threshold rx-power
By default, the optical module has own rx-power threshold setting, so it is not recommended to configure the rx-power threshold. HALARM: high-alarm threshold value, range from -40.00 to 10.00 dBm HWARN: high-warning threshold value, range from -40.00 to 10.00 dBm LWARN: low-warning threshold value, range from -40.00 to 10.00 dBm LALARM: low-alarm threshold value, range from -40.00 to 10.00 dBm The HALARM value should not smaller than HWARN value. The LWARN value should not smaller than LALARM value.
SWITCH(config-if)# optical-transceiver threshold tx-power HALARM HWARN LWARN LALARM
SWITCH(config-if)# no optical-transceiver threshold tx-power
By default, the optical module has own tx-power threshold setting, so it is not recommended to configure the tx-power threshold. HALARM: high-alarm threshold value, range from -40.00 to 10.00 dBm HWARN: high-warning threshold value, range from -40.00 to 10.00 dBm LWARN: low-warning threshold value, range from -40.00 to 10.00 dBm LALARM: low-alarm threshold value, range from -40.00 to 10.00 dBm The HALARM value should not smaller than HWARN value. The LWARN value should not smaller than LALARM value. Alarm/Warning Trap In addition to the alarm or warning message, the optical module monitor will also send a trap message to the smmp server.
Node
data
Mib files
TNPL_private_2.1.89(interface_ddm).mib
Alarm oid
1, 3, 6, 1, 4, 1, 37831, 101, 110, 1
Warning oid
1, 3, 6, 1, 4, 1, 37831, 101, 110, 2
Ifindex oid
1, 3, 6, 1, 4, 1, 37831, 100, 30, 2, 1, 1
Information oid
1, 3, 6, 1, 4, 1, 37831, 100, 30, 2, 1, 2
Display Port Optical Module DDM Information
- Show interface optical-transceiver information
Display the information of the optical/copper module inserted in the optical port.
SWITCH#show interface {IFNAME |} optical-transceiver {info |}
If no interface-id is specified, the module information of all ports will be displayed. If info is not specified, the DDM information of the port module will be displayed, and if specified, the complete module information (basic information, alarm information, manufacturer information) will be displayed. DDM information display elements are as follows:
Temp
The temperature of the module, in °C, accurate to 1°C.
Voltage
The voltage of the module, the unit is V, accurate to 0.01V.
Bias
The current of the module, in mA, accurate to 0.01mA.
RX power
The received optical power of the module, in dBm, accurate to 0.01dBM.
TX power
The transmit optical power of the module, in dBm, accurate to 0.01dBM.
OK
normal, no intervention required.
WARN
Alarm, indicating that the allowable range of the device is exceeded, and attention should be paid to.
ALARM
Abnormal, indicating that the device's allowable state is seriously exceeded and immediate intervention is required.
ABSENT
Absent.
NA
Port not supported/module not supported.
TIMEOUT
Time out.
ERR
Mistake.
Display all port module DDM information
SWITCH#show interface optical-transceiver
Port Temp Voltage Bias RX power TX power
[C] [V] [mA] [dBm] [dBm] ——- ———- ————- ————- ————- ————- GiE0/9 42(OK) 3.20(OK) 32.34(OK) -3.98(OK) 1.64(OK) GiE0/10 ABSENT ABSENT ABSENT ABSENT ABSENT GiE0/11 ABSENT ABSENT ABSENT ABSENT ABSENT GiE0/12 ABSENT ABSENT ABSENT ABSENT ABSENT
- Display the overall information of the port optical module/copper module
Error message: Key Word Transceiver absent! Failed to get information, maybe the module is not in place. Get transceiver info timeout! Timeout to get information, need to get it again. Port doesn't support get module info! The port does not support getting module information. Basic Information Key Word
Transceiver Type
module type.
Connector Type
Interface Type. Wavelength(nm) Wavelength.
Link Length
Supported link lengths.
Digital Diagnostic Monitoring
Whether to support DDM function.
Vendor Serial Number
Module serial number. Warning Information Key Word
RX Channel loss of signal
Received signal loss.
RX Channel power high
High received optical power alarm.
RX Channel power low
Low received optical power alarm.
TX Channel fault
Send Error.
TX Channel bias high
Bias current high alarm.
TX Channel bias low
Bias current low alarm.
TX Channel power high
Sending high optical power alarm.
TX Channel power low
Sending low optical power alarm.
Temperature high
High temperature alarm.
Temperature low
Low temperature alarm.
Voltage high
High voltage alarm.
Voltage low
Low voltage alarm.
None
no alarm. This module doesn't support getting alarm! The module does not support getting alarm information. Manufacturer information Key Word
Vendor Name
Manufacturer Names.
Vendor OUI
Manufacturer OUI.
Vendor Part Number
Manufacturer part number.
Vendor Revision
Manufacturer version number.
Manufacturing Date
Production Date.
Encoding
encoding type.
Displays overall information about a single port module
SWITCH#show interface gigabitEthernet0/9 optical-transceiver info
################################################### gigabitEthernet0/9 +————————————————-+ |Transceiver base information: | +————————————————-+ |Transceiver Type : 1000BASE-ZX-SFP | |Connector Type : LC | |Wavelength(nm) : 1550 | |Link Length : | | SMF fiber | | — 80km | |Digital Diagnostic Monitoring : YES | |Vendor Serial Number : WT1703230031 | +————————————————-+ |Transceiver current alarm information: | +————————————————-+ |None | +————————————————-+ |Transceiver vendor information: | +————————————————-+ |Vendor Name : OEM | |Vendor OUI : 000000 | |Vendor Part Number : SFP-GE-ZX-SM1550 | |Vendor Revision : V2 | |Manufacturing Date : 2017-03-25 | |Encoding : 8B10B | +————————————————-+
SWITCH#
Displays overall information for all port blocks
SWITCH#show interface optical-transceiver info
################################################### gigabitEthernet0/9 +————————————————-+ |Transceiver base information: | +————————————————-+ |Transceiver Type : 1000BASE-ZX-SFP | |Connector Type : LC | |Wavelength(nm) : 1550 | |Link Length : | | SMF fiber | | — 80km | |Digital Diagnostic Monitoring : YES | |Vendor Serial Number : WT1703230031 | +————————————————-+ |Transceiver current alarm information: | +————————————————-+ |None | +————————————————-+ |Transceiver vendor information: | +————————————————-+ |Vendor Name : OEM | |Vendor OUI : 000000 | |Vendor Part Number : SFP-GE-ZX-SM1550 | |Vendor Revision : V2 | |Manufacturing Date : 2017-03-25 | |Encoding : 8B10B | +————————————————-+ ################################################### gigabitEthernet0/10 +————————————————-+ |Transceiver base information: | +————————————————-+ |Transceiver Type : 1000BASE-GT-SFP | |Connector Type : Unknown or unspecified | |Wavelength(nm) : 16652 | |Link Length : | | Cable Assembly copper | | — 100m | |Digital Diagnostic Monitoring : NO | |Vendor Serial Number : MTC100046 | +————————————————-+ |Transceiver current alarm information: | +————————————————-+ This module doesn't support getting alarm! |This module doesn't support getting alarm! | +————————————————-+ |Transceiver vendor information: | +————————————————-+ |Vendor Name : OEM | |Vendor OUI : 000000 | |Vendor Part Number : SFP-T-CBTX | |Vendor Revision : F | |Manufacturing Date : 2014-10-01 | |Encoding : 8B10B | +————————————————-+ ################################################### gigabitEthernet0/11 Get result error(Maybe Transceiver absent)! ################################################### gigabitEthernet0/12 Get result error(Maybe Transceiver absent)!
SWITCH#
Display the information of the optical/copper module inserted in the optical port.
SWITCH#show interface {IFNAME |} optical-transceiver threshold
If no IFNAME is specified, the module information of all ports will be displayed. If the threshold is not configured, the own threshold information of the module will be displayed.
SWITCH#show interface optical-transceiver threshold
Interface tengigabitEthernet0/25: Item High-alarm High-warn Low-warn Low-alarm Temp(Celsius) 100 90 -40 -50 Voltage(V) 3.50 3.47 3.15 3.04 Bias(mA) 15.00 12.00 4.00 5.58 RX power(dBm) 10.25 5.30 -10.22 -12.40 TX power(dBm) 2.100 1.100 -9.100 -11.00
Dying Gasp
Dying Gasp is referenced in section 7.1.2.5.3 of ITU-T Recommendation G.991.2 (12/2003) as the Power Status bit. The networking devices rely on a temporary back-up power supply on a capacitor, that allows for a graceful shutdown and the generation of the dying-gasp message. This temporary power supply is designed to last from 10 to 20 milliseconds to perform these tasks. In addition to the dying-gasp message, the power-down device will also send a trap message to the smmp server.
Node
data
Mib files
DOT3-OAM-MIB.mib oid 1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 4 value dyingGaspEvent(257)
- Enable dying-gasp
SWITCH(config)#dying-gasp enable
SWITCH(config)#no dying-gasp
LOG messages
For example:”Device 00:d0:f8:c8:23:12 power down.”
Cable Detect
A cable fault may cause the interface to be in the Down state or the interface rate to be abnormal even though the interface is in the Up state. Users can execute this command to detect whether the cable is faulty and locate the fault point to help solve the cable fault. Please pay attention to the following points when using the cable detection function:
- Only copper interfaces support this command.
- When this command is executed, the normal service of the interface may be affected in a short period of time.
- When the line length is less than 6 meters, there will be a deviation between the test results and the actual value. The shorter the line, the greater the deviation.
- Port Performs Cable Detection Function
SWITCH(config-if)#cable-detect
Perform a cable detection on the port. After 2 seconds, use the show command to view the detection results. Perform a cable test on port g i0 /1:
SWITCH# configure terminal
SWITCH(config)#interface gigabitEthernet 0/1
SWITCH(config-if)#cable-detect
%Please wait for about 2 seconds and execute the show cable-detect command to view the execution results. View cable test results:
SWITCH#show cable-detect interface gigabitEthernet 0/1
Pair A length(meters): 0 Pair B length(meters): 0 Pair C length(meters): 0 Pair D length(meters): 0 Pair A state: OK Pair B state: OK Pair C state: OK Pair D state: OK
Explain
Pair X length(meters) Cable length. When there is a fault, it represents the length from the interface to the fault. Unit:meter
Pair X state
Network cable status: OK: Indicates that the line pair is terminated normally. Open: Indicates that the line pair is open. Short: Indicates a short circuit on the pair. Unknown: Other unknown causes of failure.

