10-17-2006 06:39 PM - edited 03-05-2019 12:18 PM
Hi,
I am unable to remove the following commands from my Cisco 3750 running configuration. The best i can do is to run "no snmp-server", but that would disable all my other snmp queries to the switch. The strange thing is when I perform "snmp-server community public", the following 2 strings will show up again in the running configuration. Any help would be appreciated.
snmp-server host 192.168.1.1 version 2c private config copy-config snmp
snmp-server host 192.168.1.2 version 2c public config copy-config snmp
Running the following doesn't seem to be able to remove the above 2 lines
no snmp-server host 192.168.1.1 version 2c private config copy-config snmp
no snmp-server host 192.168.1.2 version 2c public config copy-config snmp
Solved! Go to Solution.
10-27-2006 03:19 AM
Hi,
Provided you are running 12.2(25)SEA image you may be hitting the CSCeh33092 bug with the following symptoms:
A Catalyst 3750 running 12.2(25)SEA may not delete the command "snmp-server host
x.x.x.x" from the running configuration.
Workaround:
None
This should be fixed in 12.2(25)SEB and later.
Best regards,
Antonin
10-27-2006 07:49 PM
Hi,
Please check the following info:
CSCeh52674 Bug Details
no snmp-server host command will not remove entry from config
To remove the host, explicitly specify default UDP port number
162 by entering the no snmp-server host
host-address udp-port 162 public
command.
http://www.cisco.com/cgi-bin/Support/Bugtool/onebug.pl?bugid=CSCeh52674&Submit=Search
Hope it helps,
Franco Zamora
10-17-2006 08:41 PM
Hi,
The workaround is to ensure that the target host or the next-hop gateway to that host is in the ARP cache (for example, by issuing a ping command) before removing it from the SNMP configuration. Alternatively, disable all SNMP traps and informs before removing any hosts from the SNMP configuration.
Hope this helps
Thanks
Raj
10-17-2006 10:17 PM
Hi Raj,
No it doesn't help. Seriously, how does ensuring the host in the arp cache help in removing the few lines that I have mentioned.
10-18-2006 12:54 AM
Hi
Its the caveat with no. (CSCdw44266)
The switch might reload when it is executing the no snmp-server host global configuration command. This is a rare condition that can happen if SNMP traps or informs are enabled and the SNMP agent attempts to send a trap to the host just as it is being removed from the configuration and if the IP address of the host (or the gateway to reach the host) has not been resolved by Address Resolution Protocol (ARP).
HTH
Thanks
Raj
10-18-2006 07:36 AM
Hi Raj,
The issue is that I have no snmp-server enable trap or snmp-server enable informs in my running configuration. So I was wondering why am I not allowed to removed the 3 lines.
10-18-2006 09:36 AM
Hi, have you just removing it after private or public.
no snmp-server host 192.168.1.1 version 2c private
10-18-2006 04:21 PM
Well, now I have more lines to remove and I cannot do so.
snmp-server host 192.168.3.2 abc123 config snmp
snmp-server host 192.168.3.2 version 2c private config copy-config snmp
snmp-server host 192.168.1.1 version 2c private config copy-config snmp
snmp-server host 192.168.1.2 version 2c public config copy-config snmp
10-19-2006 06:23 PM
Is anyone here able to help ?
10-23-2006 06:54 PM
Can you post your complete snmp config here?
10-27-2006 12:11 AM
Hi Davis,
Thanks for asking.
Here is my configuration:
snmp-server community password1 RO
snmp-server community password2 RW
snmp-server host 192.168.3.1 abc123 config snmp
snmp-server host 192.168.4.1 version 2c private config copy-config snmp
snmp-server host 192.168.5.1 version 2c public
snmp-server host 192.168.6.1 version 2c public
10-27-2006 03:19 AM
Hi,
Provided you are running 12.2(25)SEA image you may be hitting the CSCeh33092 bug with the following symptoms:
A Catalyst 3750 running 12.2(25)SEA may not delete the command "snmp-server host
x.x.x.x" from the running configuration.
Workaround:
None
This should be fixed in 12.2(25)SEB and later.
Best regards,
Antonin
10-27-2006 06:09 AM
Hi Antonin,
That sounds good enough to me ! Thanks a lot!
By the way, where did you find the bugs for Cisco 3750?
10-27-2006 11:25 AM
Hi,
There is a bug tool at www.cisco.com, but you need more than a guest profile to access.
Best regards,
Antonin
10-27-2006 06:31 AM
Duplicate
10-27-2006 07:49 PM
Hi,
Please check the following info:
CSCeh52674 Bug Details
no snmp-server host command will not remove entry from config
To remove the host, explicitly specify default UDP port number
162 by entering the no snmp-server host
host-address udp-port 162 public
command.
http://www.cisco.com/cgi-bin/Support/Bugtool/onebug.pl?bugid=CSCeh52674&Submit=Search
Hope it helps,
Franco Zamora
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: