cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

576
Views
0
Helpful
3
Replies
Highlighted

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 ?

 

Everyone's tags (1)
3 REPLIES 3
Beginner

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

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)

 

 

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

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

Beginner

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

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here