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

Page 993

Advertising
background image

Fabric OS Command Reference

963

53-1003131-01

portThConfig

2

--pause | --continue arguments

Pauses or resumes monitoring. The following arguments are required:

class

Specifies the class.

-area area[,area]... | all

Specifies the area. You can either specify one or more areas separated by a
comma, or you can specify all to indicate all areas.

-port port_list | all

Specifies one or more ports or all ports. The port_list operand supports one of the
following values:

A single port number preceded by the slot number on bladed systems.

A set of comma-separated port numbers, preceded by the slot number on
bladed systems, for example, 3,8,15, or 1/1,1/9,2/27.

A port range, for example 3-24 or 1/1-1/9. A port range cannot span slots.

--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 \

Advertising