DGS-6604
mm
ddm tx-power
CLI Reference Guide
143
ddm tx-power
This command is used to configure the thresholds of output power on the
specified ports.
ddm tx-power {high | low} {alarm | warning}
VALUE
no ddm tx-power {high | low} {alarm | warning}
Default
The default value is read from the A2h EEPROM in SFP/SFP+ ny I2C.
Command Mode
Interface configuration.
Usage Guideline
Only SFP/SFP+ port interfaces with: optical module support DDM; are valid for
this configuration.
This command configures the tx-power thresholds on the specified ports, the
value will be converted to a 16-bit format and then written into the SFP module.
It is possible to verify settings by the
show ddm configuration
command.
Thresholds are written to the EEPROM in the SFP/SFP+ transceivers, so
threshold configurations will be stored in the SFP/SFP+ transceivers, if the A2h
EEPROM threshold fields are writable in the SFP vendor’s design. If the
EEPROM’s threshold fields are read-only, the abnormal status detection will be
performed by software instead of the SFP’s alarm/warning flag fields.
Be careful to configure threshold values, please reference the SFP module
vendor’s data sheet for default values and recommended values.
Example
The following example shows how to configure tx power low warning threshold
as 0.181 on interface eth3.1.
Syntax Description
high
High threshold command. When the operating parameter rises above this value,
the action associated with the alarm or the warning is taken.
low
Low threshold command. When the operating parameter falls below this value,
the action associated with the alarm or the warning is taken.
alarm
An alarm even will be generated when the operating parameter is not in the
normal range between the high and low thresholds.
warning
A warning event will be generated when the operating parameter is not in the
normal range between high and low thresholds.
VALUE
The valid value for the threshold is between 0 ~ 6.5535 mW
switch#configure terminal
switch(config)# interface eth3.1
Switch(config-if)# ddm tx-power low warning 0.181
% According to the DDM precession definition, closest value 0.1810 is
chosen.