[Contents] [Prev] [Next] [Index] [Report an Error]

# 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 500
  `
- Use 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).
- See resource if-type.

resource threshold

- Use to disable the issuance of trap messages when the router reaches preset threshold limits.
- Example
  `
  host1(config)#resource threshold disable traps
  `
- Use the no version to reenable traps for resource threshold conditions.
- See resource threshold.

## 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 Trap—Status (enabled or disabled) of the resource threshold trap
  - type—Interface type
  - location—Location of the interface (system or slot location)
  - max capacity—Maximum capacity of the interface at either the system or slot level
  - current value—Current capacity of the interface at either the system or slot level
  - rising threshold—Rising threshold setting for the interface at either the system or slot level
  - falling threshold—Falling threshold setting for the interface at either the system or slot level
  - hold-down time—Hold-down time setting for the interface at either the system or slot level
- Example 1

      host1#show resource
      Resource Threshold Trap: enabled
                                                 max      current    rising
                 type               location   capacity    value    threshold
      ---------------------------   --------   --------   -------   ---------
      ip interface                  system        32000         1       28800
      ip interface                  slot 3         8192         0        7373
      ip interface                  slot 4         4095         0        3686
      atm-sub-if interface          system        65536         0       58982
      atm-vc interface              system        65536         0       58982
      ppp-link interface            system        32768         0       29491
      ppp-link interface            slot 3         2048         0        1843
      ppp-link interface            slot 4            6         0           5
      atm-active-sub-if interface   system        65536         0       58982
                                                falling    hold-down
                 type               location   threshold     time
      ---------------------------   --------   ---------   ---------
      ip interface                  system           320         300
      ip interface                  slot 3            82         300
      ip interface                  slot 4            41         300
      atm-sub-if interface          system           655         300
      atm-vc interface              system           655         300
      ppp-link interface            system           328         300
      ppp-link interface            slot 3            20         300
      ppp-link interface            slot 4             0         300
      atm-active-sub-if interface   system           655         300

- Example 2

      host1#show resource threshold trap
      Resource Threshold Trap: enabled

- See show resource.

[Contents] [Prev] [Next] [Index] [Report an Error]