Configuring Logging with CLI

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

Topics in this section include:

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.

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

Common Configuration Tasks

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

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
...
----------------------------------------------