Command Reference Guide

Fabric OS Command Reference 883
53-1002746-01
rasAdmin
2
--set -log MSG-ID
Changes the default severity level of the specified message.
-severity value
Specifies a new severity level for the message. Valid values include INFO,
WARNING ERROR CRITICAL, and DEFAULT.
--show -disabled
Displays all messages that have been disabled.
--show -log MSG-ID
Displays the logging status of the specified message.
--show -module MODULE-ID
Displays the logging status of all messages included in the specified module.
--show -severity MSG-ID
Displays the severity of the specified messages.
--show -all
Displays all external RASlog messages, their status (enabled or disabled), their
configured severity and their default severity.
EXAMPLES To disable logging of a single message:
switch:admin> rasadmin --disable -log NSM-1009
2012/07/20-13:30:41, [LOG-1005], 378, SLOT 4 | CHASSIS, INFO,
PLUTO_25, Log message NSM-1009 has been disabled.
To re-enable logging of a single message that was previously disabled:
switch:admin> rasadmin --enable -log NSM-1009
2012/07/20-13:30:41, [LOG-1005], 378, SLOT 4 | CHASSIS, INFO,
PLUTO_25, Log message NSM-1009 has been enabled.
To disable logging of all messages that belong to the NSM module:
switch:admin> rasadmin --disable -module NSM
2012/07/20-13:28:37, [LOG-1007], 375, SLOT 4 | CHASSIS, INFO,
PLUTO_25, Log Module NSM has been disabled.
To re-enable logging of all messages that belong to the NSM module:
switch:admin> rasadmin --enable -module NSM
2012/07/20-13:28:37, [LOG-1007], 375, SLOT 4 | CHASSIS, INFO, PLUTO_25,
Log Module NSM has been enabled,
To change the severity level of a RASlog message:
switch:admin> rasadmin --set -log SEC-1203 -severity WARNING
Message Severity
SEC-1203: WARNING
To display a list of all messages that have been disabled:
switch:admin> rasadmin --show disabled
Message Status Default Severity Current Severity
IPAD-1002 DISABLED INFO INFO
IPAD-1003 DISABLED INFO INFO