Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 1187

Advertising
background image

Fabric OS Command Reference

1157

53-1003131-01

thConfig

2

EXAMPLES

To set custom thresholds for the SFP class and temperature area for a 16G QSFP on a DC X8510-8:

switch:admin> thconfig --set sfp -area temp -sfptype qsfp \

-highth -value 32 -trigger above -action email

switch:admin> thconfig --set sfp -area temp -sfptype qsfp\

lowth -value 0 -trigger above -action raslog

To apply the new custom settings so they become effective:

switch:admin> thconfig --apply sfp -area temp -sfptype qsfp \

-action cust -thresh_level cust

To set high thresholds for the security class and login violation area with SNMP alerts and save the
thresholds nonpersistently:

switch:admin> thconfig --set security -area lv \

-highth-value 0 -trigger above \

-action snmp -nosave

switch:admin> thconfig --set security -area lv \

-highth -value 0 -trigger below \ \

-action none -nosave

To cancel the custom settings that have previously been saved nonpersistently.

switch:admin> thconfig --cancel security -area lv \

-action cust -thresh_level cust

To display the Fabric Watch configuration for the QSFP temperature on a DCX 8510-8:

switch:admin> thconfig --show sfp -area temp -sfptype qsfp

Class: SFP

SFP TYPE: QSFP

Area : TEMP

ThLevel : Def

ActLevel: Def

High :

Custom:

TimeBase: None

Value : 85

Trigger : Above Action: Raslog

Trigger : Below Action: Raslog

Default:

TimeBase: None

Value : 85

Trigger : Above Action: Raslog

Trigger : Below Action: Raslog

Low:

Custom:

TimeBase: None

Value : -5

Trigger : Below Action: Raslog

Default:

TimeBase: None

Value : -5

Trigger : Below Action: Raslog

Advertising