Monitoring and Logging

The following commands are useful for monitoring and logging:

Command Description
logging on Enables logging globally
logging host {ip-address | hostname} Configures logging to a syslog server
logging trap level Sets the logging severity level
terminal monitor Sends a copy of all syslog messages, including debug messages, to the Telnet or SSH user who issues this command
snmp-server community <community-string> [RO|RW] Enables SNMP
snmp-server location <location-string> Configures the SNMP server location
snmp-server enable traps Enables SNMP traps