threshold-monitor sfp

Configures monitoring of SFP parameters.

Syntax

threshold-monitor sfp [ apply | pause | policy ]
threshold-monitor sfp apply policy-name
threshold-monitor sfp pause
threshold-monitor sfp policy policy-name type { 1GCOP | 1GCWDM | 1GLHA | 1GLR | 1GSR | 10GDWDMT | 10GER | 10GLR | 10GSR | 10GUSR | 10GZR | 40GER | 40GESR | 40GLM | 40GLR | 40GSR | 40GSRINT | 100GAOC | 100GCLR | 100GCWDM | 100GESR | 100GLR | 100GLRLT | 100GPSM | 100GSR } area { Current | RXP | TXP | Temperature | Voltage } threshold { buffer buffer-threshold-value | high-threshold high-threshold-value | low-threshold low-threshold-value }
threshold-monitor sfp policy policy-name type { 1GCOP | 1GCWDM | 1GLHA | 1GLR | 1GSR | 10GDWDMT | 10GER | 10GLR | 10GSR | 10GUSR | 10GZR | 40GER | 40GESR | 40GLM | 40GLR | 40GSR | 40GSRINT | 100GAOC | 100GCLR | 100GCWDM | 100GESR | 100GLR | 100GLRLT | 100GPSM | 100GSR } area { Current | RXP | TXP | Temperature | Voltage } alert { [ above highthreshold-action [ all | email | none | raslog ] ] | [ below [ highthreshold-action | lowthreshold-action ] [ all | email | none | raslog ] }
no threshold-monitor sfp policy policy-name

Parameters

apply policy-name
Applies a SFP policy created by the threshold-monitor sfp policy threshold command. The policy-name is always custom.
pause
Pauses the enforcement of the currently applied SFP policy.
policy custom
Creates a custom SFP policy with the provided policy-name value. This policy can then be applied using the threshold-monitor sfp apply command. This policy-name should always be custom. You cannot assign an arbitrary name for the SFP policy.
type
Specifies the SFP type. Possible configurations are:
1GCOP
SFP type 1G SFP Copper
1GCWDM
SFP type 1G CWDM
1GLHA
1G SFP LHA
1GLR
1G SFP LR
1GSR
1G SFP SR
10GDWDMT
10G SFP+ DWDM Tunable
10GER
10G SFP+ ER
10GLR
10G SFP+ LR
10GSR
10G SFP+ SR
10GUSR
10G SFP+ USR
10GZR
10G SFP+ ZR
40GER
40G QSFP+ ER4
40GESR
40G QSFP+ eSR4
40GLM
40G QSFP+ LM4
40GLR
40G QSFP+ LR4
40GSR
40G QSFP+ SR4
40GSRINT
40G QSFP+ SR4 INT
100GAOC
100G QSFP28 AOC
100GCLR
100G QSFP28 CLR4
100GCWDM
100G QSFP28 CWDM4
100GESR
100G QSFP28 eSR4
100GLR
100G QSFP28 LR4
100GLRLT
100G QSFP28 LR4 Lite
100GPSM
100G QSFP28 PSM4
100GSR
100G QSFP28 SR4
area [ Current | RXP | TXP | Temperature | Voltage ]
Specifies the SFP parameter to be measured.
Current
Measures the current supplied to the SFP transceiver.
RXP
Measures the incoming laser power, in microWatts (µW).
TXP
Measures the outgoing laser power, in microWatts (µW).
Temperature
Measures the temperature of the SFP, in degrees Celsius.
Voltage
Measures the voltage supplied to the SFP.
threshold
Configures the threshold value for this SFP profile. Can be one or more of:
buffer buffer-threshold-value
Configures the Buffer threshold value.
high-threshold high-threshold-value
Configures the high threshold value.
low-threshold low-threshold-value
Configures the low threshold value.
highthreshold-action / lowthreshold-action
Specifies the action to be taken when a threshold is exceeded. The values supported are all, none, raslog, and snmp. The default action is all.
all
RASLOG and SNMP trap will be sent when the threshold is exceeded. This is the default configuration.
none
No action will be taken when the threshold is exceeded.
raslog
Only RASLOG will be sent when the threshold is exceeded.
snmp
Only SNMP traps will be sent when the threshold is exceeded.

Modes

Global Configuration Mode

Usage Guidelines

The no form of this command will remove the configured custom SFP policy.

The low-threshold threshold value cannot be higher than the value configured for the high-threshold threshold value.

Examples

The following example shows the creation and application of a custom SFP policy.

SLX# configure terminal
SLX (config)# threshold-monitor sfp policy custom type 100GLR area Voltage
	threshold high-threshold 95 low-threshold 50 buffer 75 
SLX (config)# threshold-monitor sfp apply custom

The following example shows how to pause the applied SFP policy.

SLX# configure terminal
SLX (config)# threshold-monitor sfp pause

The following example removes the applied custom SFP policy.

SLX# configure terminal
SLX (config)# no threshold-monitor sfp custom 

Related Commands