Quick Reference Guide

System Logs | 177
show logging hosts
This command displays configured logging hosts.
Syntax
show logging hosts unit
The unit variable is the host index
Mode
Privileged Exec
Example
Figure 9-64. Using the show logging hosts Command
Report Fields Index—An integer from 1 to 8, used for identifying the desired syslog host
IP Address—IP Address of the configured syslog host
Severity—The minimum severity to log to the specified address
Port—Server Port Number. This is the port on the local host from which syslog messages are sent.
Status—The state of logging to configured syslog hosts. If the status is Active, logging occurs; if Disable,
no logging occurs.
show logging traplogs
This command displays the SNMP trap summary (number of traps since last reset and last view) and
trap details.
Syntax
show logging traplogs
Mode
Privileged Exec
Command
History
Force10 #show logging hosts ?
<unit> Enter switch ID in the range of 1 to 8.
Force10 #show logging hosts 1 ?
<cr> Press Enter to execute command.
Force10 #show logging hosts 1
Index IP Address Severity Port Status
----- -------------- -------- ----- ------
1 192.168.77.151 critical 514 Active
Related
Commands
logging history
Set the amount of information to be logged to the syslog.
Version 2.3
Modified: Replaces the
show msglog command with the use of the keyword traplogs,
displaying the message log maintained by the switch, including system trace information.