Configuring DDM

CHAPTERS

1. Overview

2. DDM Configuration

3. Appendix: Default Parameters

This guide applies to:

T2500G-10TS v2 or above, T2600G-18TS v2 or above, T2600G-28TS v3 or above, T2600G-28MPS v4 or above, T2600G-28SQ v1 or above.

1Overview

The DDM (Digital Diagnostic Monitoring) function is used to monitor the status of the SFP modules inserted into the SFP ports on the switch. The user can choose to shut down the monitored SFP port automatically when the specified parameter exceeds the alarm threshold or warning threshold. The monitored parameters include: Temperature, Voltage, Bias Current, Tx Power and Rx Power.

2DDM Configuration

To complete DDM configuration, follow these steps:

1)Enable DDM on the SFP port and configure the shutdown condition.

2)Configure the specified value for warning or alarm threshold.

2.1Using the GUI

2.1.1Configuring DDM Globally

Choose the menu L2 FEATURES > Switching > DDM > DDM Config and select the desired SFP port to load the following page.

Figure 2-1 Configure DDM Globally

Follow these steps to configure the DDM parameters on SFP ports:

1)In the Port Config section, select one or multiple SFP ports to configure DDM parameters.

DDM Status

Enable or disable DDM feature on the SFP port.

Shutdown

Specify whether to shut down the port when the alarm threshold or warning threshold is exceeded.

Alarm: Shut down the port when the alarm threshold is exceeded.

Warning: Shut down the port when the warning threshold is exceeded.

None: The port will not be shut down even if the alarm threshold or warning threshold is exceeded. This is the default option.

LAG

Displays the LAG number which the port belongs to.

2)Click Apply.

2.1.2Configuring the Threshold

Note:

The value of threshold parameters should conform to the following rule: High Alarm ≥ High Warning ≥ Low Warning ≥ Low Alarm.

Choose the menu L2 FEATURES > Switching > DDM > Threshold Config to load the following page.

Configuring the Temperature Threshold

Figure 2-2 Configure Temperature Threshold

Follow these steps to configure DDM‘s temperature threshold:

1)In the Temperature table, select one or more SFP ports to configure temperature threshold of the SFP ports.

High Alarm

Specify the high temperature threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken. The valid values are from -128 to 127.996.

Low Alarm

Specify the low temperature threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken. The valid values are from -128 to 127.996.

High Warning

Specify the high temperature threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken. The valid values are from -128 to 127.996.

Low Warning

Specify the low temperature threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken. The valid values are from -128 to 127.996.

LAG

Displays the LAG number which the port belongs to.

2)Click Apply.

Configuring the Voltage Threshold

Figure 2-3 Configure Voltage Threshold

Follow these steps to configure DDM‘s voltage threshold:

1)In the Voltage table, select one or more SFP ports to configure voltage threshold on the SFP ports.

High Alarm

Specify the high voltage threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken. The valid values are from 0 to 6.5535.

Low Alarm

Specify the low voltage threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken. The valid values are from 0 to 6.5535.

High Warning

Specify the high voltage threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken. The valid values are from 0 to 6.5535.

Low Warning

Specify the low voltage threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken. The valid values are from 0 to 6.5535.

LAG

Displays the LAG number which the port belongs to.

2)Click Apply.

Configuring the Bias Current Threshold

Figure 2-4 Configure Bias Current Threshold

Follow these steps to configure DDM‘s bias current threshold:

1)In the Bias Current table, select one or more SFP ports to configure bias current threshold on the SFP ports.

High Alarm

Specify the high bias current threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken. The valid values are from 0 to 131.

Low Alarm

Specify the low bias current threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken. The valid values are from 0 to 131.

High Warning

Specify the high bias current threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken. The valid values are from 0 to 131.

Low Warning

Specify the low bias current threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken. The valid values are from 0 to 131.

LAG

Displays the LAG number which the port belongs to.

2)Click Apply.

Configuring the Rx Power Threshold

Figure 2-5 Configure Rx Power Threshold

Follow these steps to configure DDM‘s Rx power threshold:

1)In the RX Power table, select one or more SFP ports to configure Rx power threshold on the SFP ports.

High Alarm

Specify the high Rx power threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken. The valid values are from 0 to 6.5535.

Low Alarm

Specify the low Rx power threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken. The valid values are from 0 to 6.5535.

High Warning

Specify the high Rx power threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken. The valid values are from 0 to 6.5535.

Low Warning

Specify the low Rx power threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken. The valid values are from 0 to 6.5535.

LAG

Displays the LAG number which the port belongs to.

2)Click Apply.

Configuring the Tx Power Threshold

Figure 2-6 Configure Tx Power Threshold

Follow these steps to configure DDM‘s Tx power threshold:

1)In the TX Power table, select one or more SFP ports to configure Tx power threshold on the SFP ports.

High Alarm

Specify the high Tx power threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken. The valid values are from 0 to 6.5535.

Low Alarm

Specify the low Tx power threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken. The valid values are from 0 to 6.5535.

High Warning

Specify the high Tx power threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken. The valid values are from 0 to 6.5535.

Low Warning

Specify the low Tx power threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken. The valid values are from 0 to 6.5535.

LAG

Displays the LAG number which the port belongs to.

2)Click Apply.

2.1.3Viewing DDM Status

Choose the menu L2 FEATURES > Switching > DDM > DDM Status to load the following page.

Figure 2-7 View DDM Status

In the Port Config table, view the current operating parameters for the SFP modules inserted into the SFP ports.

Temperature

The current temperature of the SFP module inserted into this port.

Voltage

The current voltage of the SFP module inserted into this port.

Bias Current

The current bias current of the SFP module inserted into this port.

Tx Power

The current Tx power of the SFP module inserted into this port.

Rx Power

The current Rx power of the SFP module inserted into this port.

Data Ready

Indicates whether SFP module is operational. The values are True and False.

Loss of Signal

Reports local SFP module signal loss. The values are True and False.

Transmit Fault

Reports remote SFP module signal loss. The values are True, False and No Signal.

2.2Using the CLI

2.2.1Configuring DDM Globally

Follow these steps to enable DDM on specified SFP ports:

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm state enable

Enable DDM on this SFP port.

Step 4

show ddm configuration state

Display the DDM state of the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to enable DDM status on SFP port 1/0/25:

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/25

Switch(config-if)#ddm state enable

Switch(config-if)#show ddm configuration state

DDM Status Shutdown

Gi1/0/25 Enable None

...

Switch(config-if)#end

Switch#copy running-config startup-config

2.2.2Configuring DDM Shutdown

Follow these steps to configure settings for shutting down SFP ports when the alarm threshold or warning threshold is exceeded:

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm shutdown { none | warning | alarm }

none: The port will not be shut down if the alarm threshold or warning threshold is exceeded.

warning: Shut down the port when the warning threshold is exceeded.

alarm: Shut down the port when the alarm threshold is exceeded.

Step 4

show ddm configuration state

Display the DDM state of the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to set SFP port 1/0/25 to shut down when the warning threshold is exceeded.

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/25

Switch(config-if)#ddm shutdown warning

Switch(config-if)#show ddm configuration state

DDM Status Shutdown

Gi1/0/25 Enable Warning

...

Switch(config-if)#end

Switch#copy running-config startup-config

2.2.3Configuring the Threshold

Configuring Temperature Threshold

Follow these steps to configure the threshold of the DDM temperature on the specified SFP port.

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm temperature_threshold { high_alarm | high_warning | low_alarm | low_warning } value

high_alarm: Specify the high threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken.

high_warning: Specify the high threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken.

low_alarm: Specify the low threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken.

low_warning: Specify the low threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken.

value: Enter the threshold value in Celsius. The valid values are from -128 to 127.996.

Step 4

show ddm configuration temperature

Display the DDM temperature threshold on the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to set SFP port 1/0/27’s high alarm temperature threshold as 110 Celsius.

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/27

Switch(config-if)#ddm temperature_threshold high_alarm 110

Switch(config-if)#show ddm configuration temperature

Temperature Threshold(Celsius) :

High Alarm Low Alarm High Warning Low Warning

Gi1/0/27 110.000000 -- -- --

...

Switch(config-if)#end

Switch#copy running-config startup-config

Configuring Voltage Threshold

Follow these steps to configure the threshold of the DDM voltage on the specified SFP port.

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm voltage_threshold { high_alarm | high_warning | low_alarm | low_warning } value

high_alarm: Specify the high threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken.

high_warning: Specify the high threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken.

low_alarm: Specify the low threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken.

low_warning: Specify the low threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken.

value: Enter the threshold value in V. The valid values are from 0 to 6.5535.

Step 4

show ddm configuration voltage

Display the DDM voltage threshold of the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to set SFP port 1/0/27’s high alarm threshold voltage as 5 V.

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/27

Switch(config-if)#ddm vlotage_threshold high_alarm 5

Switch(config-if)#show ddm configuration voltage

Voltage Threshold(V) :

High Alarm Low Alarm High Warning Low Warning

Gi1/0/27 5.000000 -- -- --

...

Switch(config-if)#end

Switch#copy running-config startup-config

Configuring Bias Current Threshold

Follow these steps to configure the threshold of the DDM bias current on the specified SFP port.

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm bias_current_threshold { high_alarm | high_warning | low_alarm | low_warning } value

high_alarm: Specify the high threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken.

high_warning: Specify the high threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken.

low_alarm: Specify the low threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken.

low_warning: Specify the low threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken.

value: Enter the threshold value in mA. The valid values are from 0 to 131.

Step 4

show ddm configuration bias_current

Display the DDM bias current threshold of the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to set SFP port 1/0/27’s high alarm threshold bias current as 120 mA.

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/17

Switch(config-if)#ddm vlotage_threshold high_alarm 120

Switch(config-if)#show ddm configuration bias_current

Voltage Threshold(V) :

High Alarm Low Alarm High Warning Low Warning

Gi1/0/27 120.000000 -- -- --

...

Switch(config-if)#end

Switch#copy running-config startup-config

Configuring Rx Power Threshold

Follow these steps to configure the threshold of the DDM Rx power on the specified SFP port.

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm rx_power_threshold { high_alarm | high_warning | low_alarm | low_warning } value

high_alarm: Specify the high threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken.

high_warning: Specify the high threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken.

low_alarm: Specify the low threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken.

low_warning: Specify the low threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken.

value: Enter the threshold value in mW. The valid values are from 0 to 6.5535.

Step 4

show ddm configuration rx_power

Display the DDM rx power threshold on the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to set SFP port 1/0/27’s high alarm threshold Rx power as 6 mW.

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/27

Switch(config-if)#ddm rx_power_threshold high_alarm 6

Switch(config-if)#show ddm configuration rx_power

Rx Power Threshold(mW) :

High Alarm Low Alarm High Warning Low Warning

Gi1/0/27 6.000000 -- -- --

...

Switch(config-if)#end

Switch#copy running-config startup-config

Configuring Tx Power Threshold

Follow these steps to configure the threshold of the DDM Tx power on the specified SFP port.

Step 1

configure

Enter global configuration mode.

Step 2

interface { fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }

Enter interface configuration mode.

Step 3

ddm tx_power_threshold { high_alarm | high_warning | low_alarm | low_warning } value

high_alarm: Specify the high threshold for the alarm. When the operating parameter rises above this value, action associated with the alarm will be taken.

high_warning: Specify the high threshold for the warning. When the operating parameter rises above this value, action associated with the warning will be taken.

low_alarm: Specify the low threshold for the alarm. When the operating parameter falls below this value, action associated with the alarm will be taken.

low_warning: Specify the low threshold for the warning. When the operating parameter falls below this value, action associated with the warning will be taken.

value: Enter the threshold value in mW. The valid values are from 0 to 6.5535.

Step 4

show ddm configuration tx_power

Display the DDM tx power threshold on the SFP ports.

Step 5

end

Return to Privileged EXEC Mode.

Step 6

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to set SFP port 1/0/27’s high alarm threshold Tx power as 6mW.

Switch#configure

Switch(config)#interface gigabitEthernet 1/0/27

Switch(config-if)#ddm tx_power_threshold high_alarm 6

Switch(config-if)#show ddm configuration tx_power

Tx Power Threshold(mW) :

High Alarm Low Alarm High Warning Low Warning

Gi1/0/27 6.000000 -- -- --

...

Switch(config-if)#end

Switch#copy running-config startup-config

2.2.4Viewing DDM Configuration

Follow these steps to view the DDM configuration.

Step 1

configure

Enter global configuration mode.

Step 2

show ddm configuration { state | temperature | voltage | bias_current | tx_power | rx_power}

state: Displays the DDM configuration state.

temperature: Displays the threshold of the DDM temperature value.

voltage: Displays the threshold of the DDM voltage value.

bias_current: Displays the threshold of the DDM bias current value.

tx_power: Displays the threshold of the DDM Tx Power value.

rx_power: Displays the threshold of the DDM Rx Power value.

Step 3

end

Return to Privileged EXEC Mode.

Step 4

copy running-config startup-config

Save the settings in the configuration file.

The following example shows how to view SFP ports‘ Rx power threshold.

Switch#configure

Switch(config)#show ddm configuration rx_power

Rx Power Threshold(mW) :

High Alarm Low Alarm High Warning Low Warning

Gi1/0/27 6.000000 -- -- --

...

Switch(config)#end

2.2.5Viewing DDM Status

Follow these steps to view the DDM status, which is the digital diagnostic monitoring status of SFP modules inserted into the switch’s SFP ports.

Step 1

configure

Enter global configuration mode.

Step 2

show ddm status

Displays all the monitoring status of SFP modules.

Step 3

end

Return to Privileged EXEC Mode.

The following example shows how to view SFP ports’ DDM status.

Switch#configure

Switch(config)#show ddm status

Temperature(C) Voltage(V) Bias Current(mA) Tx Power(mW) Rx Power(mW) Data Ready Rx Los Tx Fault

Gi1/0/27 -- -- -- -- -- -- -- --

Gi1/0/28 -- -- -- -- -- -- -- --

Switch(config)#end

3Appendix: Default Parameters

Default settings of DDM are listed in the following table.

Table 3-1Default Settings of DDM

Parameter

Default Setting

DDM Status

Enabled. All the SFP ports are being monitored.

Shutdown

None. The port will not be shut down even if the alarm or warning threshold is exceeded.