Hello!
I have some problems with snmpd on my FreBSD system,
which are described below.
If I use command:
snmpwalk -v2c -c public 192.168.1.1 .1.3.6.1.2.1.2
I receive that (cutted):
IF-MIB::ifNumber.0 = INTEGER: 42
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifDescr.1 = STRING: fxp0
IF-MIB::ifDescr.2 = STRING: fxp1
IF-MIB::ifDescr.3 = STRING: fxp2
IF-MIB::ifDescr.4 = STRING: ppp0
IF-MIB::ifDescr.5 = STRING: ppp1
IF-MIB::ifDescr.6 = STRING: sl0
IF-MIB::ifDescr.7 = STRING: lo0
IF-MIB::ifDescr.8 = STRING: vlan0
IF-MIB::ifDescr.9 = STRING: vlan1
IF-MIB::ifDescr.10 = STRING: vlan2
Only 10 interfaces from 42. If I use next command I get:
snmpwalk -v2c -c public 192.168.1.1 ifDescr.11
IF-MIB::ifDescr.11 = No Such Instance currently exists at this OID
snmpwalk -v2c -c public 192.168.1.1 ifDescr.12
IF-MIB::ifDescr.12 = STRING: vlan4
snmpwalk -v2c -c public 192.168.1.1 ifDescr.13
IF-MIB::ifDescr.13 = STRING: vlan5
snmpwalk -v2c -c public 192.168.1.1 ifDescr.41
IF-MIB::ifDescr.41 = STRING: vlan57
snmpwalk -v2c -c public 192.168.1.1 ifDescr.42
IF-MIB::ifDescr.42 = STRING: vlan59
snmpwalk -v2c -c public 192.168.1.1 ifDescr.43
IF-MIB::ifDescr.43 = No Such Instance currently exists at this OID
I understand that there no interfaces after number 42 but ifconfig
gives me one more interface after vlan59 - vlan3. I think it is the
problem 1 interface is missed on index 11 and 1 more after the 42th,
on booting activisation of vlan3 is happend after vlan2, but I deleted
it a few weeks ago, and created anew on the last week, and now it is
in the end of ifconfig list. I try to create and delete some new
interfaces and there are no problems, ifNumber and indexes in snmp
output change accordingly.
And the quastion is how I can remove the problem with missed
index 11 without the rebooting?
System version is FreeBSD 4.7-RELEASE. Net-snmp is installed from
ports, version is 5.2_1. Help please!
--
With best regards, Denis Zaika,
ISP "Stels" network engineer.
Web: http://www.stels.net
E-mail: [EMAIL PROTECTED]
Phone: +380(62)381-32-12
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users