Managing and Monitoring Resources
The resource threshold monitor (RTM) allows you to set the rising and falling thresholds and trap hold-down times for certain interfaces. You can also view the resource threshold information.
Enabling and Disabling the Resource Threshold Monitor
You may want to set thresholds for certain interface resources on the router. The RTM allows you to specify rising and falling thresholds as well as hold-down times for certain interfaces by using the resource if-type and resource threshold commands.
resource if-type
- Use to specify rising and falling thresholds and hold-down times for certain interfaces on a slot or systemwide basis.
- Example
host1(config)#resource if-type ip slot 4 falling 500Use the no version to set the threshold parameter to its default value (for rising, 90 percent of the maximum value of the resource; for falling, 1 percent of the maximum value of the resource; for hold-down time, 300 seconds). resource threshold
- Use to disable the issuance of trap messages when the router reaches preset threshold limits.
- Example
host1(config)#resource threshold disable trapsUse the no version to reenable traps for resource threshold conditions. Viewing Resource Threshold Information
The RTM allows you to view information about resource use on the router. The show resource command displays statistical information about resources and their current threshold configurations.
show resource
- Use to display statistical information about resources and their current threshold configurations.
- Field descriptions
- Resource Threshold TrapStatus (enabled or disabled) of the resource threshold trap
- typeInterface type
- locationLocation of the interface (system or slot location)
- max capacityMaximum capacity of the interface at either the system or slot level
- current valueCurrent capacity of the interface at either the system or slot level
- rising thresholdRising threshold setting for the interface at either the system or slot level
- falling thresholdFalling threshold setting for the interface at either the system or slot level
- hold-down timeHold-down time setting for the interface at either the system or slot level
host1#show resourceResource Threshold Trap: enabledmax current risingtype location capacity value threshold--------------------------- -------- -------- ------- ---------ip interface system 32000 1 28800ip interface slot 3 8192 0 7373ip interface slot 4 4095 0 3686atm-sub-if interface system 65536 0 58982atm-vc interface system 65536 0 58982ppp-link interface system 32768 0 29491ppp-link interface slot 3 2048 0 1843ppp-link interface slot 4 6 0 5atm-active-sub-if interface system 65536 0 58982falling hold-downtype location threshold time--------------------------- -------- --------- ---------ip interface system 320 300ip interface slot 3 82 300ip interface slot 4 41 300atm-sub-if interface system 655 300atm-vc interface system 655 300ppp-link interface system 328 300ppp-link interface slot 3 20 300ppp-link interface slot 4 0 300atm-active-sub-if interface system 655 300Example 2 host1#show resource threshold trapResource Threshold Trap: enabled