Cisco Cisco Packet Data Gateway (PDG) Guida Alla Risoluzione Dei Problemi
Configuring and Viewing System Logs
▀ Viewing Event Logs Using the CLI
▄ Cisco ASR 5000 Series System Administration Guide
OL-22969-02
Viewing Event Logs Using the CLI
Event logs generated by the system can be viewed in one of the following ways:
From the syslog server: If the system is configured to send logs to a syslog server, the logs can be viewed
directly on the syslog server.
From the system CLI: Logs stored in the system memory buffers can be viewed directly from the CLI.
From the console port: By default, the system automatically displays events over the console interface to a
terminal provided that there is no CLI session active.
This section provides instructions for viewing event logs using the CLI. These instructions assume that you are at the
root prompt for the Exec mode.
root prompt for the Exec mode.
Step 1
Recommended: Copy the active log memory buffer to the inactive log memory buffer.
When the active log memory buffer is copied to the inactive log memory buffer existing information in the
inactive log memory buffer is deleted.
inactive log memory buffer is deleted.
Both active and inactive event log memory buffers can be viewed using the CLI. However, it is preferable to
view the inactive log in order to prevent any data from being over-written. The information from the active
log buffer can be copied to the inactive log buffer by entering the following command:
view the inactive log in order to prevent any data from being over-written. The information from the active
log buffer can be copied to the inactive log buffer by entering the following command:
Step 2
View the logs by entering the following command:
Important:
A number of optional keywords/variables are available for the
command. Refer to the Command Line Interface Reference for more information.