Fabric OS Command Reference
843
53-1001764-01
portThConfig
22
-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
\
-trigger above -action snmp -nosave
switch:admin>
portthconfig --set ve-port -area util
\
-lowthreshold -value 1
\
-trigger below -action snmp -nosave