cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
613
Views
5
Helpful
2
Replies

IOS-XR snmp

wuyian2012
Level 1
Level 1

Hello 

i has a question about feature of the IOS-XR on ASR9K .

i use the snmp to get information from IOS-XR

the snmp server can get the Router interface bandwidth 

but it can't get memory and CPU

when it request the CPU and Memory , then return haven't this oid

which documentation can i find ?

thanks

1 Accepted Solution
2 Replies 2

HI

thanks

but can you tell me 

the Document about  snmp track CPU

need me to add config in my Router

or need the Server engineer add oid in his Server?

 

Step 1.

snmpwalk for the OID (1.3.6.1.4.1.9.9.109.1.1.1.1.2 ) for the object "cpmCPUTotalPhysicalIndex" gives the PhysicalIndex mapping of cards

NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.4.1.9.9.109.1.1.1.1.2

SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.2 = INTEGER: 2359704

Step 2.

It is possible now to figure out which card is what by polling OID (1.3.6.1.2.1.47.1.1.1.1.7) for object "entPhysicalName" using the

values received in step 1

NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.2.1.47.1.1.1.1.7.2359704

SNMPv2-SMI::mib-2.47.1.1.1.1.7.2359704 = STRING: "0/0/* - cpu"

Step 3

snmpwalk for the OID (1.3.6.1.4.1.9.9.109.1.1.1.1.7) for the object "cpmCPUTotal1minRev" gives the

CPU utilization percent for one minute for the index above and if, for example, we are talking about RP0 and RP1

we should look at the indexes 514 and 530

NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.4.1.9.9.109.1.1.1.1.7.514

SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.7.514 = Gauge32: 2

Step 4.

Polling the OID (1.3.6.1.4.1.9.9.109.1.1.1.1.8) for the object "cpmCPUTotal5minRev" gives the CPU

utilization percent for 5 minute for the index above and, again, if we are talking about RP0 and RP1

we should look at the indexes 514 and 530

NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.4.1.9.9.109.1.1.1.1.8.514

SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.8.514 = Gauge32: 2