SNMPBULKWALK is showing interface description which does not actually exist.
rajasekhar kavuri <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using Net-SNMP version 5.3.1. I am facing a problem. i have added some interfaces in a remote machine. Then i have deleted one of them. when i am trying to get the interface description of that remote machine i am getting the description of the deleted interfaces also. But these deleted interface are not shown when i do ifconfig on the remote machine. i am sendig the output of both ifconfig and snmpbulk walk commands. First i thought it could be time out problem with my cache but i am still getting the same output even after 24 hours. Here is the out put of my snmpbulkwalk. [root@Host ~]# snmpbulkwalk 192.168.200.254 -v 2c -c private IF-MIB::ifDescr IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth51 IF-MIB::ifDescr.3 = STRING: eth52 IF-MIB::ifDescr.4 = STRING: eth01 IF-MIB::ifDescr.5 = STRING: eth02 IF-MIB::ifDescr.6 = STRING: eth11 IF-MIB::ifDescr.7 = STRING: eth12 IF-MIB::ifDescr.8 = STRING: bond0 IF-MIB::ifDescr.9 = STRING: bond1 IF-MIB::ifDescr.10 = STRING: bond2 // These interface are deleted but still visible in the snmpbulkwalk IF-MIB::ifDescr.11 = STRING: bond3 // These interface are deleted but still visible in the snmpbulkwalk IF-MIB::ifDescr.12 = STRING: bond1.106 IF-MIB::ifDescr.13 = STRING: bond1.107 IF-MIB::ifDescr.14 = STRING: bond1.108 Here is the output of my ifconfig on the machine with IP 192.168.200.254 bond0 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B2 inet addr:192.168.200.254 Bcast:192.168.200.255 Mask:255.255.255.0 UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:2788 errors:0 dropped:0 overruns:0 frame:0 TX packets:2256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:297379 (290.4 KiB) TX bytes:341751 (333.7 KiB) bond1 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1152 (1.1 KiB) TX bytes:1152 (1.1 KiB) bond1.106 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 inet addr:192.168.189.75 Bcast:192.168.189.95 Mask:255.255.255.224 UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:252 (252.0 b) bond1.107 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 inet addr:192.168.187.139 Bcast:192.168.187.191 Mask:255.255.255.192 UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:252 (252.0 b) bond1.108 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 inet addr:192.168.193.11 Bcast:192.168.193.127 Mask:255.255.255.128 UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:252 (252.0 b) eth01 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:1152 (1.1 KiB) Base address:0x9c00 Memory:fe6e0000-fe700000 eth02 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1152 (1.1 KiB) TX bytes:0 (0.0 b) Base address:0x9880 Memory:fe6a0000-fe6c0000 eth11 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B6 inet addr:192.168.63.63 Bcast:192.168.63.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Base address:0xac00 Memory:fe7e0000-fe800000 eth11:1 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B6 inet addr:192.168.66.123 Bcast:192.168.66.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Base address:0xac00 Memory:fe7e0000-fe800000 eth12 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4 UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Base address:0xa880 Memory:fe7a0000-fe7c0000 eth51 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B2 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:2651 errors:0 dropped:0 overruns:0 frame:0 TX packets:2256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:286919 (280.1 KiB) TX bytes:341751 (333.7 KiB) Base address:0x8c00 Memory:fe5e0000-fe600000 eth52 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B2 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:137 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10460 (10.2 KiB) TX bytes:0 (0.0 b) Base address:0x8880 Memory:fe5a0000-fe5c0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:15513 errors:0 dropped:0 overruns:0 frame:0 TX packets:15513 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1151946 (1.0 MiB) TX bytes:1151946 (1.0 MiB) How Can this Problem resolved ? Can anyone guide me how to resolve this problem. Thanks & Regards, Raja.Kavuri --------------------------------- To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders