[j-nsp] Juniper EX4200 SNMP ifIndex 0

Nicolas DEFFAYET nicolas-ml at deffayet.com
Sun Jul 29 06:25:40 EDT 2012


Hello,

Is it a know issue that SNMP is broken in 11.4R4 for EX ?

On Juniper EX4200 running 11.4R4.4 the SNMP ifIndex are all set to 0, so
it's not possible to get interface counters with a snmpwalk:

On NMS machine:
$ snmpwalk -c public -v2c host iso.3.6.1.2.1.2.2.1.1
iso.3.6.1.2.1.2.2.1.1 = No Such Instance currently exists at this OID


On Juniper EX4200:
user at host> show interfaces | match ifIndex 
  Interface index: 139, SNMP ifIndex: 0
  Logical interface ge-0/0/0.0 (Index 68) (SNMP ifIndex 0) 
  Interface index: 140, SNMP ifIndex: 0
  Logical interface ge-0/0/1.0 (Index 69) (SNMP ifIndex 0) 
  Interface index: 141, SNMP ifIndex: 0
  Logical interface ge-0/0/2.0 (Index 70) (SNMP ifIndex 0) 
  Interface index: 142, SNMP ifIndex: 0
  Logical interface ge-0/0/3.0 (Index 71) (SNMP ifIndex 0) 
  Interface index: 143, SNMP ifIndex: 0
  Logical interface ge-0/0/4.0 (Index 72) (SNMP ifIndex 0) 
  Interface index: 144, SNMP ifIndex: 0
  Logical interface ge-0/0/5.0 (Index 73) (SNMP ifIndex 0) 


In index file (/config/db/dcd.snmp_ix), I have:
--->
    504 "ge-0/0/0" 0 0 1;
    505 "ge-0/0/0" 0 1 1;
    506 "ge-0/0/1" 0 0 1;
    507 "ge-0/0/1" 0 1 1;
    508 "ge-0/0/2" 0 0 1;
    510 "ge-0/0/3" 0 0 1;
    511 "ge-0/0/3" 0 1 1;
    512 "ge-0/0/4" 0 0 1;
--->


Thanks !

-- 
Nicolas DEFFAYET



More information about the juniper-nsp mailing list