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) Can anybody help?
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.
On Wed, Apr 02, 2003 at 01:59:53PM +0200, Oliver Francke wrote:
Hi,
*ouch*
Same should be with: ifOperStatus 1.3.6.1.2.1.2.2.1.8
better take the following: ifAdminStatus 1.3.6.1.2.1.2.2.1.7 ;-) 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.
Now one more question: How can I get interface number (slot:x/mod:y) from this list? For example slot:10/mod:1 (as I get) is 3561, slot:11/mod:1 is 3817, slot:1/mod:1 is 1257 etc. I couldnt find that information in documentation pdf-s but I know that it was written somewhere. alex@wanex.ge wrote:
Thats what I wanted :) Thanks a lot.
Oliver Francke wrote:
On Wed, Apr 02, 2003 at 01:59:53PM +0200, Oliver Francke wrote:
Hi,
*ouch*
Same should be with: ifOperStatus 1.3.6.1.2.1.2.2.1.8
better take the following:
ifAdminStatus 1.3.6.1.2.1.2.2.1.7
;-)
Oliver.
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
participants (2)
-
alex@wanex.ge -
Oliver Francke