Logging Procedures Introduction
1-163
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
1.11.6 Logging Procedures
1.11.6.1 Configuration Procedure
The following procedure shows the commands used in the configuration.
TABLE 1-30 Configuration Procedure for LOG Filtering
Step Command Description
Show logs that match a criteria. For example, to view logs that have a severity level of CRITICAL, input the following:
1.
officer SEC> SHOW LOG SEVERITY=CRITICAL
*C SYS010 2010-04-16 14:39:42 3538 FAULT
System: Cleared Port Outage Threshold
Create a log filter for critical severity only
2.
CREATE LOG FILTER=CRITICAL_log SEVERITY=CRITICAL
Create a log output to associate with the log filterid CRITICAL
3
CREATE LOG OUTPUT=terminal DESTINATION=CLI FOR-
MAT=SUMMARY
Add the log filter created in step 2. to the log output created in step 3
4.
ADD LOG FILTER=CRITICAL_log OUTPUT=TERMINAL
Enable the output.
5.
ENABLE LOG OUTPUT=TERMINAL