Severity Levels
0 Emergency1 Alert
2 Critical
3 Error
4 Warning
5 Notification
6 Informational -default for remote host syslog
7 Debug! -default for console and terminal
Anatomy of a Syslog message
[sequence number] + [time stamp] + [%] + [Facility] + [severity level] + [mnemonic] + [description]Defaults
In true cisco fashion you should always know your defaults
logging buffer size 4096
timestamps disabled
sequencing disabled
logging sever none
Some commands
! enable optional timestamp and sequencing fields!
service timestamp
service sequence-numbers
!
logging host x.x.x.x
!
!Logging levels
!
logging console lvl
logging monitor lvl
logging trap lvl
!
!Verify
show logging
!
http://www.cisco.com/en/US/docs/wireless/access_point/12.4.25d.JA/Configuration/guide/scg12.4.25d.JA-chap21-msg-logging.html
No comments:
Post a Comment