System information
12-217
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
logging #?
Table 12-12 describes the available logging destinations.
Use the save system bootconfig or save all bootconfig commands to save the list of log route entries.
To delete a log route entry by its index number, use the delete logging command.
Examples The following example displays an indexed list of the routing rules in the logging table, and then inserts
an entry to log anything from the HA facility with notification level of notice (or lower) to all logging
destinations before the third entry. The show logging command displays the newly inserted entry.
[SN5428-2A]# logging #?
[SN5428-2A]# logging #?
Index Level Priority Facility Route
1 critical 2 all console vty logfile
2 debug 7 SNMP rslog
3 warning 4 CDP rslog
[SN5428-2A]# logging #3 level notice from HA to all
[SN5428-2A]# show logging
Logging is enabled
Index Level Priority Facility Route
1 critical 2 all console vty logfile
2 debug 7 SNMP rslog
3 notice 5 HA all
4 warning 4 CDP rslog
Syslog host is enabled, ip-address is 10.1.1.144
UI User interface functions.
VTP VTP and VLAN functions.
Table 12-11 Logging Level Facilities (continued)
Facility Name Description
Table 12-12 Logging Level Destinations
Destination Description
all Logs to all destinations.
none No logging occurs.
console Logs to serial console CLI sessions.
logfile Logs messages to the storage router log file.
rslog Logs messages to a remote syslog server. Use the
logging syslog command to specify the IP address
of the remote syslog server.
vty Logs to all Telnet, SSH, or other virtual terminal
CLI sessions.