Logging command

Syntax:

logging <syslog–ipv4–address>

no logging <syslog–ipv4–address>

logging <syslog–ipv4–address|syslog-ipv6-addr>

no logging <syslog–ipv4–address|syslog-ipv6-addr>

Enables or disables Syslog messaging to the specified IPv4 address. You can configure up to six addresses. If you configure an address when none are already configured, this command enables destination logging (Syslog) and the Event debug type. Therefore, at a minimum, the switch begins sending Event Log messages to configured Syslog servers. If other debug message types are configured, they are also sent to the Syslog server.

no logging : Removes all currently configured Syslog logging destinations from the running configuration.

no logging <syslog–ipv4–address> : Removes only the specified Syslog logging destination from the running configuration.

NOTE:

The no logging command does not delete the Syslog server addresses stored in the startup configuration. To delete Syslog addresses in the startup configuration, you must enter the no logging command followed by the write memory command. To verify the deletion of a Syslog server address, display the startup configuration by entering the show config command.

To block the messages sent to configured Syslog servers from the currently configured debug message type, enter the no debug <debug–type> command.

To disable Syslog logging on the switch without deleting configured server addresses, enter the no debug destination logging command.

For complete information on how to configure a Syslog server and Debug/ Syslog message reports, see the ArubaOS-Switch Management and Configuration Guide.