11.6. Configuring Logging with CLI

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

11.6.1. Basic Facility Alarm Configuration

The most basic 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.

A:ALA-12>config>system# alarms
#------------------------------------------
        no shutdown
        exit
----------------------------------------------

11.6.2. Common Configuration Tasks

11.6.2.1. Configuring the Maximum Number of Alarms to Clear

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

Use the following CLI syntax to configure a log file:

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

The following displays facility alarm configuration example:

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