cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1018
Views
7
Helpful
4
Replies

Removing SNMP Trap Host

prakashj
Level 1
Level 1

Hi,

I am trying to remove a snmp trap host from the "show snmp" output. It is not there in the running configuration. But it shows in the "show snmp" output. Is it a bug? IOS is 12.2(18)SXF5. Platform is 7600.

DOH-7600#sh snmp

Chassis: FOX083306Y6

82231822 SNMP packets input

0 Bad SNMP version errors

691933 Unknown community name

26628956 Illegal operation for community name supplied

1 Encoding errors

195725215 Number of requested variables

453450 Number of altered variables

9094626 Get-request PDUs

44926578 Get-next PDUs

27441106 Set-request PDUs

83451021 SNMP packets output

0 Too big errors (Maximum packet size 1500)

28322753 No such name errors

285011 Bad values errors

285021 General errors

81539758 Response PDUs

1911134 Trap PDUs

SNMP global trap: disabled

SNMP logging: enabled

Logging to 172.28.1.66.162, 1/10, 1391240 sent, 287192 dropped.

Logging to 172.28.1.67.162, 0/10, 0 sent, 0 dropped.

Running configuration has only the following host configured.

snmp-server trap-source Loopback0

snmp-server host 172.28.1.67 public

Thanks,

Prakash

4 Replies 4

Martin Ermel
VIP Alumni
VIP Alumni

Just a quick idea,

try to remove ANY trap host from the config and verify the entries with "sh snmp"

if that still does not help remove the complete snmp config. This should reset the snmp agent. Now you should be able to readd the config you want.

Joe Clarke
Cisco Employee
Cisco Employee

The problem with the lingering trap host is most likely due to the fact that there is a still a notification wedged in the output queue. Unfortunately, you will have to reboot to clear this problem.

Thanks...I think may have to reboot the router...just wondering whether its an IOS bug?

Regards,

Prakash

This does sound like it would be a bug, but I could not find an existing one that describes this behavior.

Getting Started

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: