logging
logging [ap-debug|arm|arm-user-debug|facility|network|peer-debug|security|system|user|user-debug|wireless|<ipv4addr>|<ipv6addr>]
Description
Use this command to specify the IP address of the remote logging server, facility, severity, and the type. The local use facilities (local0, local1, local2, local3, local4, local5, local6, and local7) are not reserved for specific message-generating sources, and can be used for sending syslog messages. Use the show logging command to verify that the device sends logging messages.
There are eight logging severity levels, each with its associated types of messages. Each level also includes the levels below it. For example, if you set the logging level to informational (6), all messages from level 0 through level 5 (from emergencies through notifications) are also logged. The warnings severity level is set by default for all message categories.
Only the
and subcategories are enabled by default. Other subcategories are not generated by default even their severity is or higher.
Parameter |
Description |
ap-debug <name> |
AP troubleshooting messages. You must specify a debug value. |
arm level process subcat |
ARM messages. |
arm-user-debug <mac> |
ARM user troubleshooting messages. You must specify a MAC address. |
facility |
Set the facility to be used when logging to the remote syslog server. The local use facilities (local0, local1, local2, local3, local4, local5, local6, and local7) are not reserved for specific message-generating sources, and can be used for sending syslog messages. local 0 to local 7 |
network level process subcat |
Network messages. |
peer-debug <mac> |
Peer Debug Logs. |
security level process subcat |
Security messages. |
system level process subcat |
System messages. |
user level process subcat |
User messages. |
user-debug <mac> |
User troubleshooting messages. You must specify a MAC address. |
wireless level process subcat |
Wireless messages. |
<ipv4addr> |
To set the remote logging server IPv4 address. A.B.C.D |
dest-port <destination-port> |
Select destination port for Syslog messages to this IP address. |
facility |
The facility to be used when logging to a remote syslog server. local 0 to local 7 |
format |
The format of the logs when logging to a remote syslog server.
|
severity |
Set the remote logging server severity to:
|
source-interface <VLAN number> |
Select source address of outgoing Syslog messages. |
tls |
Enable TLS option for rsyslog. |
type |
Set the remote logging server message type to:
|
<ipv6addr> |
To set the remote logging server IPv6 address. X:X:X:X::X |
dest-port <destination-port> |
Select destination port for Syslog messages to this IP address. |
facility |
The facility to be used when logging to a remote syslog server. local 0 to local 7 |
format |
The format of the logs when logging to a remote syslog server.
|
severity |
Set the remote logging server severity to:
|
type |
Set the remote logging server message type to:
|
level |
The message severity level, which can be one of the following (in order of severity level):
|
process |
Controller process, which can be one of the following:
|
subcat |
Message subcategory, which depends upon the message category specified. The following lists the subcategories available for each message category:
|
Example
The following command adds the remote logging server with the IP address 10.1.2.3 with a user log type using local4.
(host) [mynode] (config) #logging 10.1.2.3 facility local4
Command History
Release |
Modification |
ArubaOS 8.9.0.0 |
The |
ArubaOS 8.7.0.0 |
The peer-debug parameter was introduced. |
ArubaOS 8.2.0.0 |
New system processes called and were added to debug issues related to the vrrp process and lagm process. |
ArubaOS 8.1.0.0 |
The was moved to the end of the command string.The |
ArubaOS 8.0.0.0 |
Command introduced. |
Command Information
Platforms |
License |
Command Mode |
Available on all platforms |
Base operating system. |
Config mode on Mobility Conductor. |