改變默認消息的級別--記錄用戶登陸ssh
Step 1: 找到用戶登陸的事件ID:
ide
hostname(config)#show log | include adminspa
Dec 03 2009 17:32:35: %ASA-6-605005: Login permitted from 192.168.202.51/3507 to inside:192.168.2.20/ssh for user "admin"日誌
Step 2: 找到當前消息ID 605005的日誌級別orm
hostname(config)#show logging message 605005事件
syslog 605005: default-level informational (enabled)it
Step 3: 把消息ID 605005的級別從information改到warnings io
hostname(config)#logging message 605005 level warningsform
Step 4: 校驗新的日誌級別class
hostname(config)#show logging message 605005
syslog 605005: default-level informational, current-level warnings (enabled)