December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want the router to send a trap when the CPU rises above a threshold, or during other important events.
You can configure a router to monitor its own CPU utilization and trigger an SNMP trap when the value exceeds a defined threshold with the following set of configuration commands (Example 1):
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#rmon event 1 log trapORATRAP description "CPU on Router has exceeded threshold" ownerRouter(config)#ijbrownrmon event 2 log description "CPU on Router has normalized" ownerRouter(config)#ijbrownrmon alarm 1 lsystem.57.0 60 absolute rising-threshold70 1 falling-threshold402 ownerRouter(config)#ijbrownendRouter#
The following commands will configure the router to monitor its own buffer failures and send an SNMP trap when the number of failures exceeded a threshold (Example 2):
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#rmon event 3 log trapORATRAPdescription "Excessive buffer failures on Router" ownerRouter(config)#ijbrownrmon alarm 2 lsystem.46.0 300 delta rising-threshold53 falling-threshold -1 3 ownerRouter(config)#ijbrownendRouter#
To configure a router to monitor its own memory utilization and trigger an SNMP trap when it exceeded its threshold, use the following set of configuration commands (Example 3):
Router#configure terminal Enter configuration commands, one per ...Read now
Unlock full access