cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1394
Views
0
Helpful
3
Replies

IOS-XR on ASR9k and CRS SNMP Interface DOM Rx/Tx reading

Hello,

 

I have problem to find correct problem to read from IOS-XR. Can someone share how to ?

 

3 Replies 3

mivens
Level 1
Level 1

Here's an example for RX power:


ENTITY-MIB::entPhysicalVendorType.52735596 = OID: CISCO-ENTITY-VENDORTYPE-OID-MIB::cevSensorTransceiverRxPwr
ENTITY-MIB::entPhysicalName.52735596 = STRING: power Rx 0/2/CPU0/3

CISCO-ENTITY-SENSOR-MIB::entSensorType.52735596 = INTEGER: watts(6)

CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.52735596 = INTEGER: 3

CISCO-ENTITY-SENSOR-MIB::entSensorScale.52735596 = INTEGER: milli(8)
CISCO-ENTITY-SENSOR-MIB::entSensorValue.52735596 = INTEGER: 434

RP/0/RP0/CPU0:router# sh controllers tenGigE0/2/0/3 phy | i Rx
        Rx Power:  0.43330 mW (-3.63211 dBm)

 

 

How did you get info that 52735596 is used for  tenGigE0/2/0/3 ?

You can walk entPhysicalName matching on the names of all the sensors for 0/2/CPU0/3:

 

ENTITY-MIB::entPhysicalName.2404345 = STRING: power Tx 0/2/CPU0/3
ENTITY-MIB::entPhysicalName.19181894 = STRING: temperature 0/2/CPU0/3
ENTITY-MIB::entPhysicalName.19183514 = STRING: voltage 0/2/CPU0/3
ENTITY-MIB::entPhysicalName.35957919 = STRING: current 0/2/CPU0/3
ENTITY-MIB::entPhysicalName.52735596 = STRING: power Rx 0/2/CPU0/3

 

Or you want to derive those indexes from the IfIndex, you use entAliasMappingIdentifier then recurse through each ChildIndex (which determines what is contained in what (interface-> SFP container -> SFP -> sensors):

 

ENTITY-MIB::entAliasMappingIdentifier.48918829.0 = OID: IF-MIB::ifIndex.143

ENTITY-MIB::entPhysicalName.48918829 = STRING: TenGigE0/2/0/3

 

ENTITY-MIB::entPhysicalChildIndex.48918829.3327592 = INTEGER: 3327592

ENTITY-MIB::entPhysicalChildIndex.3327592.47369235 = INTEGER: 47369235

 

ENTITY-MIB::entPhysicalChildIndex.47369235.2404345 = INTEGER: 2404345
ENTITY-MIB::entPhysicalChildIndex.47369235.19181894 = INTEGER: 19181894
ENTITY-MIB::entPhysicalChildIndex.47369235.19183514 = INTEGER: 19183514
ENTITY-MIB::entPhysicalChildIndex.47369235.35957919 = INTEGER: 35957919
ENTITY-MIB::entPhysicalChildIndex.47369235.52735596 = INTEGER: 52735596

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: