Hi, On Wed, Apr 02, 2003 at 04:36:44PM +0500, alex@wanex.ge wrote:
Hi,
I'm searching for OID(s) which will show interface status (Oper and Admin state of DSP's interface connected to ARC). (Something like LIST INTERFACES in ARC's CLI)
Perhaps the following will help: ifOperStatus 1.3.6.1.2.1.2.2.1.8 so far nothing 3Com specific. If you do a snmpwalk <HARCIP> <READC> .1.3.6.1.2.1.2.2.1.8 you get something similar to: interfaces.ifTable.ifEntry.ifOperStatus.1 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.2 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.3 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.4 = down(2) interfaces.ifTable.ifEntry.ifOperStatus.5 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.1513 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.1514 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.1515 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.1516 = up(1) interfaces.ifTable.ifEntry.ifOperStatus.1517 = up(1) . . . 3 + 4 should be the 2 ethernet-interfaces. The "modem-interface" to the corresponding if-value you get with $INST = 1000 + ( $SLOT * 256) + $MODEM; So this 1513 is the first modem in slot 2. Same should be with: ifOperStatus 1.3.6.1.2.1.2.2.1.8 Hope this helps, Oliver. -- Oliver.Francke@telefonica.de fon. +49-5246-80-1389 mob. +49-171-5597734 I used to have a sig, but I've stopped smoking.