Router CISCO ASR1002 Oids
Router CISCO ASR1002 Oids
Router CISCO ASR1002 Oids
System Utilization
Document ID: 118901
Contributed by Vishnu Asok, Cisco TAC Engineer.
Apr 22, 2015
Contents
Introduction
Prerequisites
Requirements
Components Used
SNMP OID to Monitor Cisco IOSd Memory Utilization
SNMP OID to Monitor Cisco IOSd CPU Utilization
SNMP OID to Monitor RP/ESP/SIP CPU Utilization
SNMP OID to Monitor RP/ESP/SIP Memory Utilization
Enable CoPP in Order to Protect from SNMP Overpolling
Introduction
This document describes the recommended Object Identifiers (OIDs) to be used in order to monitor the CPU
and memory resources on the Cisco ASR 1000 Series modular routers. Unlike the softwarebased forwarding
platforms, the ASR 1000 Series comprises these functional elements in its system:
ASR 1000 Series Route Processor (RP)
ASR 1000 Series Embedded Services Processor (ESP)
ASR 1000 Series SPA Interface Processor (SIP)
As such, it is required to monitor the CPU and memory utilization by each of these processors in a production
environment which results in additional OIDs to be polled per managed device.
Prerequisites
Requirements
Cisco recommends that you have knowledge of these topics:
Simple Network Management Protocol (SNMP)
Cisco IOSXE
Components Used
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the
devices used in this document started with a cleared (default) configuration. If your network is live, make sure
that you understand the potential impact of any command.
1.3.6.1.4.1.9.9.221.1.1.1.1.20.7000.1 (MIBcempMemPoolHCFree)
1.3.6.1.4.1.9.9.221.1.1.1.1.22.7000.1 (MIBcempMemPoolHCLargestFree)
1.3.6.1.4.1.9.9.221.1.1.1.1.18.7000.1 (MIBcempMemPoolHCUsed)
1.3.6.1.4.1.9.9.221.1.1.1.1.24.7000.1 (MIBcempMemPoolHCLowestFree)
Note: If you use the less specific OID in order to poll the Cisco IOSd memory statistics, the system yields two
outputs Cisco IOSd free memory (OID7000.1) and Linux Shared Memory Punt Interface (LSMPI)
memory (OID7000.2). This might cause the management station to report a low memory alert for the LSMPI
pool. The LSMPI memory pool is used in order to transfer packets from the forwarding processor to the route
processor. On the ASR 1000 platform, the lsmpi_io pool has little free memory generally less than 1000
bytes which is normal. Cisco recommends that you disable monitoring of the LSMPI pool by the network
management applications in order to avoid false alarms.
The same OID can be used in an Embedded Event Manager (EEM) script in order to troubleshoot intermittent
CPU spikes. Here is a sample script which triggers once the Cisco IOSd CPU spikes above 75%.
event manager applet ASR_High_CPU
event snmp oid 1.3.6.1.4.1.9.2.1.56 gettype next entryop ge entryval 75
exittime 30 pollinterval 1
action 1.0 syslog msg "High cpu detected. Please check bootflash:cpuinfo.txt"
action 2.0 cli command "enable"
action 3.0 cli command "term exec prompt timestamp"
action 4.0 cli command "show processes cpu sorted | append bootflash:cpuinfo.txt"
action 5.0 cli command "show interfaces | append bootflash:cpuinfo.txt"
action 6.0 cli command "show users | append bootflash:cpuinfo.txt"
action 7.0 cli command "show debugs | append bootflash:cpuinfo.txt"
It corresponds to:
1.3.6.1.4.1.9.9.109.1.1.1.1.24.2
1.3.6.1.4.1.9.9.109.1.1.1.1.24.3
1.3.6.1.4.1.9.9.109.1.1.1.1.24.4
1.3.6.1.4.1.9.9.109.1.1.1.1.25.2
1.3.6.1.4.1.9.9.109.1.1.1.1.25.3
1.3.6.1.4.1.9.9.109.1.1.1.1.25.4
1.3.6.1.4.1.9.9.109.1.1.1.1.26.2
1.3.6.1.4.1.9.9.109.1.1.1.1.26.3
1.3.6.1.4.1.9.9.109.1.1.1.1.26.4
=
=
=
=
=
=
=
=
=
Gauge32:
Gauge32:
Gauge32:
Gauge32:
Gauge32:
Gauge32:
Gauge32:
Gauge32:
Gauge32:
75
0
0
47
0
0
41
0
0
1 min RP0
1 min ESP0
1 min SIP0
5 min RP0
5 min ESP0
5 min SIP0
15 min RP0
15 min ESP0
15 min SIP0
Refer to Monitoring ASR Kernel Load CPU with EEM Script which explains how to use the above OIDs in
order to monitor ASR 1000 kernel load CPUs.
Note: The RP2 contains two physical CPUs, but the CPUs are not monitored separately. The CPU utilization
is the aggregate result of both the CPUs and therefore the cpmCPUTotalTable object contains only one entry
for RP CPU. This might occasionally cause the management stations to report CPU utilization above 100%.
Note: The previous OIDs yields only a single output for 1RU (rack unit) platforms such as the ASR 1001 and
ADR 1002X. The control CPU on ASR 1001 has three logical functions RP, FP (Forwarding Processor),
and CC (Carrier Card). All the functions that would normally be spread across different boards in an ASR
1002 run on the same CPU in ASR 1001.