Switch Logging Commands Overview - Alcatel-Lucent OmniSwitch 9900 Series Network Configuration Manual

Omniswitch aos release 8
Table of Contents

Advertisement

Using Switch Logging

Switch Logging Commands Overview

This section describes the switch logging CLI commands, for enabling or disabling switch logging,
displaying the current status of the switch logging feature, and displaying stored log information.
Enabling Switch Logging
The
swlog
command initializes and enables switch logging, while no
To enable switch logging, enter the swlog command:
-> swlog
To disable switch logging, enter the no swlog command:
-> no swlog
No confirmation message appears on the screen for either command.
Setting the Switch Logging Severity Level
The switch logging feature can log all switch error-type events for a particular switch application. You can
also assign severity levels to the switch applications that cause some of the events to be filtered out of
your display. The
swlog appid
The syntax for the
swlog appid
severity level. The severity level controls the kinds of error-type events that are recorded by the switch
logging function. If an application experiences an event equal to or greater than the severity level assigned
to the application, the event is recorded and forwarded to the configured output devices. You can specify
the application either by the application ID CLI keyword or by its numeric equivalent.
To obtain a list of application IDs and numeric equivalents, use the
all parameters to display all available registered applications.
The level keyword is used with the swlog appid command to assign the error-type severity level to the
specified application IDs. Values range from 1 (highest severity) to 8 (lowest severity). The values are
defined in the following table:
Severity Level
0
1 (highest severity)
2
3
4
5 (default)
6
7
8 (lowest severity)
OmniSwitch AOS Release 8 Network Configuration Guide
command is used to assign the severity levels to the applications.
command requires that you identify a switch application and assign it a
Type
Off
Alarm
Error
Alert
Warning
Info
Debug 1
Debug 2
Debug 3
December 2017
Switch Logging Commands Overview
swlog
disables it.
show swlog
Description
Disabled
A serious, non-recoverable error has occurred
and the system must be rebooted.
System functionality is reduced.
A violation has occurred.
An unexpected, non-critical event has occurred.
Any other non-debug message.
A normal event debug message.
A debug-specific message.
A maximum verbosity debug message.
command with the appid
page 36-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents