6.6. Configuring Logging with CLI

This section provides information to configure logging using the command line interface.

6.6.1. Basic Facility Alarm Configuration

The most facility alarm configuration must have the following:

  1. Log ID or accounting policy ID
  2. A log source
  3. A log destination

The following displays an alarm configuration example.

*7210SAS>config>system>alarms# info detail
----------------------------------------------
            no shutdown
            exit
----------------------------------------------
*7210SAS>config>system>alarms#
 
 

6.6.2. Common Configuration Tasks

The following sections are basic alarm tasks that can be performed.

6.6.2.1. Configuring the Maximum Number of Alarms To Clear

The number of alarms to clear can be configured using the following command.

Use the following syntax to configure a log file.

CLI Syntax:
config>system
alarms
max-cleared max-alarms

The following is a sample facility alarm configuration output.

ALA-12>config>system# alarms
----------------------------------------------
...
max-cleared 500
exit
...
----------------------------------------------