This is a discussion on SNMPBULKWALK is showing interface description which does not actually within the SNMP Coders forums, part of the Networking and Network Related category; --===============1223557575== Content-Type: multipart/alternative; boundary="0-415075310-1190205100=:15805" Content-Transfer-Encoding: 8bit --0-415075310-1190205100=:15805 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1223557575==
Content-Type: multipart/alternative; boundary="0-415075310-1190205100=:15805" Content-Transfer-Encoding: 8bit --0-415075310-1190205100=:15805 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --0-415075310-1190205100=:15805 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <FONT face=Verdana size=2> <div>Hi,</div> <div> </div> <div>I am using Net-SNMP version 5.3.1. I am facing a problem. i have added some interfaces in a remote machine.</div> <div>Then i have deleted one of them. when i am trying to get the interface description of that remote machine</div> <div>i am getting the description of the deleted interfaces also. But these deleted interface are not shown when i do </div> <div>ifconfig on the remote machine. i am sendig the output of both ifconfig and snmpbulk walk commands.</div> <div>First i thought it could be time out problem with my cache but i am still getting the same output even after 24 hours.</div> <div>Here is the out put of my snmpbulkwalk.</div> <div> </div> <div>[root@Host ~]# snmpbulkwalk 192.168.200.254 -v 2c -c private IF-MIB::ifDescr</div> <div>IF-MIB::ifDescr.1 = STRING: lo</div> <div>IF-MIB::ifDescr.2 = STRING: eth51</div> <div>IF-MIB::ifDescr.3 = STRING: eth52</div> <div>IF-MIB::ifDescr.4 = STRING: eth01</div> <div>IF-MIB::ifDescr.5 = STRING: eth02</div> <div>IF-MIB::ifDescr.6 = STRING: eth11</div> <div>IF-MIB::ifDescr.7 = STRING: eth12</div> <div>IF-MIB::ifDescr.8 = STRING: bond0</div> <div>IF-MIB::ifDescr.9 = STRING: bond1</div><B> <div>IF-MIB::ifDescr.10 = STRING: bond2 // These interface are deleted but still visible in the snmpbulkwalk</div> <div>IF-MIB::ifDescr.11 = STRING: bond3 // These interface are deleted but still visible in the snmpbulkwalk</div></B> <div>IF-MIB::ifDescr.12 = STRING: bond1.106</div> <div>IF-MIB::ifDescr.13 = STRING: bond1.107</div> <div>IF-MIB::ifDescr.14 = STRING: bond1.108</div> <div>Here is the output of my ifconfig on the machine with IP 192.168.200.254</div> <div>bond0 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B2</div> <div>inet addr:192.168.200.254 Bcast:192.168.200.255 Mask:255.255.255.0</div> <div>UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1</div> <div>RX packets:2788 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:2256 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:0</div> <div>RX bytes:297379 (290.4 KiB) TX bytes:341751 (333.7 KiB)</div> <div>bond1 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1</div> <div>RX packets:18 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:18 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:0</div> <div>RX bytes:1152 (1.1 KiB) TX bytes:1152 (1.1 KiB)</div> <div>bond1.106 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>inet addr:192.168.189.75 Bcast:192.168.189.95 Mask:255.255.255.224</div> <div>UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1</div> <div>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:6 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:0</div> <div>RX bytes:0 (0.0 b) TX bytes:252 (252.0 b)</div> <div>bond1.107 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>inet addr:192.168.187.139 Bcast:192.168.187.191 Mask:255.255.255.192</div> <div>UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1</div> <div>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:6 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:0</div> <div>RX bytes:0 (0.0 b) TX bytes:252 (252.0 b)</div> <div>bond1.108 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>inet addr:192.168.193.11 Bcast:192.168.193.127 Mask:255.255.255.128</div> <div>UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1</div> <div>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:6 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:0</div> <div>RX bytes:0 (0.0 b) TX bytes:252 (252.0 b)</div> <div>eth01 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1</div> <div>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:18 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:1000</div> <div>RX bytes:0 (0.0 b) TX bytes:1152 (1.1 KiB)</div> <div>Base address:0x9c00 Memory:fe6e0000-fe700000</div> <div>eth02 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1</div> <div>RX packets:18 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:1000</div> <div>RX bytes:1152 (1.1 KiB) TX bytes:0 (0.0 b)</div> <div>Base address:0x9880 Memory:fe6a0000-fe6c0000</div> <div>eth11 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B6</div> <div>inet addr:192.168.63.63 Bcast:192.168.63.255 Mask:255.255.255.0</div> <div>UP BROADCAST MULTICAST MTU:1500 Metric:1</div> <div>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:1000</div> <div>RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)</div> <div>Base address:0xac00 Memory:fe7e0000-fe800000</div> <div>eth11:1 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B6</div> <div>inet addr:192.168.66.123 Bcast:192.168.66.255 Mask:255.255.255.0</div> <div>UP BROADCAST MULTICAST MTU:1500 Metric:1</div> <div>Base address:0xac00 Memory:fe7e0000-fe800000</div> <div>eth12 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B4</div> <div>UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1</div> <div>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:1000</div> <div>RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)</div> <div>Base address:0xa880 Memory:fe7a0000-fe7c0000</div> <div>eth51 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B2</div> <div>UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1</div> <div>RX packets:2651 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:2256 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:1000</div> <div>RX bytes:286919 (280.1 KiB) TX bytes:341751 (333.7 KiB)</div> <div>Base address:0x8c00 Memory:fe5e0000-fe600000</div> <div>eth52 Link encap:Ethernet HWaddr 00:0E:0C:BD:6A:B2</div> <div>UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1</div> <div>RX packets:137 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:1000</div> <div>RX bytes:10460 (10.2 KiB) TX bytes:0 (0.0 b)</div> <div>Base address:0x8880 Memory:fe5a0000-fe5c0000</div> <div>lo Link encap:Local Loopback</div> <div>inet addr:127.0.0.1 Mask:255.0.0.0</div> <div>UP LOOPBACK RUNNING MTU:16436 Metric:1</div> <div>RX packets:15513 errors:0 dropped:0 overruns:0 frame:0</div> <div>TX packets:15513 errors:0 dropped:0 overruns:0 carrier:0</div> <div>collisions:0 txqueuelen:0</div> <div>RX bytes:1151946 (1.0 MiB) TX bytes:1151946 (1.0 MiB)</div> <div> </div> <div> </div> <div>How Can this Problem resolved ? Can anyone guide me how to resolve this problem.</div> <div> </div> <div>Thanks & Regards,</div> <div>Raja.Kavuri</div></FONT><p> <hr size=1><font face="Arial" size="2">To help you stay safe and secure online, we've developed the all new <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/"><b>Yahoo! Security Centre</b></a>.</font> --0-415075310-1190205100=:15805-- --===============1223557575== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1223557575== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============1223557575==-- |