S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
7-10
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 7 System Management Commands
logging level
logging level
Use the
logging level
command to enable logging messages from the defined facility that have the
specified severity level or higher.
To disable logging messages from the defined facility, use the
no
form of this command.
logging level
facility
severity-level
no logging level
facility
severity-level
Syntax Description
Command Default
None
Command Modes
Configuration mode
Command History
Examples
This example shows how to enable logging messages from the AAA facility that have a severity level of
2 or higher:
switch(config)#
logging level aaa 2
facility
Defines the appropriate
facility
. The facilities are listed in the
“System
Message Logging Facilities” section on page 45
.
To apply the same severity level to all facilities, use the
all
facility.
severity-level
The number of the desired severity level at which messages should be
logged. Messages at or numerically lower than the specified level are logged.
Severity levels are as follows:
•
0
—emergency: System unusable
•
1
—alert: Immediate action needed
•
2
—critical: Critical condition—default level
•
3
—error: Error condition
•
4
—warning: Warning condition
•
5
—notification: Normal but significant condition
•
6
—informational: Informational message only
•
7
—debugging: Appears during debugging only
Release
Modification
4.0(0)N1(1a)
This command was introduced.