CLI Commands
The following table summarizes the equivalent CLI commands for items in the Switch/General/Remote Logs page.
Command
logging host host_ip_address
logging facility facility_type
logging trap level
show logging {flash | ram | trap} Displays the logging configuration for system and event messages
Example
Console(config)#logging host 10.1.0.9
Console(config)#logging facility 23
Console(config)#logging trap 4
Console(config)#
Console#show logging trap
Usage
Adds a syslog server host IP address that will receive logging messages.
Use the no form to remove a syslog server host.
Sets the facility type for remote logging of syslog messages.
The no form returns the type to the default.
Limits syslog messages saved to a remote server based on severity.
The no form returns the remote logging of syslog messages to the default level.