改變默認消息的級別--記錄用戶登錄
Step 1: 找到用戶登錄的事件ID:
hostname(config)#show log | include admin
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的日志級別
hostname(config)#show logging message 605005
syslog 605005: default-level informational (enabled)
Step 3: 把消息ID 605005的級別從information改到warnings
hostname(config)#logging message 605005 level warnings
Step 4: 校驗新的日志級別
hostname(config)#show logging message 605005
syslog 605005: default-level informational, current-level warnings (enabled)
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。