Dell POWEREDGE M1000E User Manual

Page 838

Advertising
background image

806

Fabric OS Command Reference

53-1001764-02

portThConfig

2

--

cancel

Cancels a nonpersistent custom configuration. This command effectively
undoes the -nosave operation without reboot. You must specify a port type
and area type with this command. Thresholds and alarm levels are optional
with this command; if omitted, all nonpersistent configurations for the
specified port type and area type are canceled.

--

show

Displays the threshold configuration or run-time status for all configured port
types and areas. You can optionally specify a port type to display the
threshold for ports of that type only. The display includes the port persistence
time value in seconds, which is set by the fwSet command. Specify an area to
display the area-specific configuration only. When issued without operands,
this command displays Fabric Watch thresholds for all classes and areas.

-current_status

Displays current values for a specified port type and area, as registered by
Fabric Watch, or for all port types and areas. The output includes PortType,
Area, Port number, Circuit ID (for the Brocade 7800 and FS8-24 only), Value,
and State. The State field reports whether the current value is above, in
range, or below (info) the configured threshold.

The following operands are optional with the --apply, --cancel, and
--

show options; if omitted, the default thresholds are used.

-thresh_level def | cust

Configures or displays default or custom threshold configuration settings.

-action_level def | cust

Configures or displays default or custom configuration settings.

--

help

Displays the command usage.

Examples

To set custom thresholds for the port class and CRC area with E-mail alerts:

switch:admin>

portthconfig --set port -area crc -highthreshold -value 2 -trigger above -action email

switch:admin>

portthconfig --set port -area crc -highthreshold -value 2 -trigger below -action email

switch:admin>

portthconfig --set port -area crc -lowthreshold -value 1 -trigger above -action email

switch:admin>

portthconfig --set port -area crc -lowthreshold -value 1 -trigger below -action email

To apply the new custom settings so they become effective:

switch:admin>

portthconfig --apply port -area crc -action cust -thresh_level cust

To set custom thresholds for the VE_Port class and UTIL area with SNMP alerts and save the
thresholds nonpersistently:

switch:admin>

portthconfig --set ve-port -area util -highthreshold -value 2 -trigger above \

-action snmp -nosave

switch:admin>

portthconfig --set ve-port -area util -highthreshold -value 2 -trigger below \

-action snmp -nosave

switch:admin>

portthconfig --set ve-port -area util -lowthreshold -value 1 -trigger above \

-action snmp -nosave

switch:admin>

portthconfig --set ve-port -area util -lowthreshold -value 1 -trigger below \

-action snmp -nosave

Advertising