Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Removing SNMP Trap Host


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, 1/10, 1391240 sent, 287192 dropped.

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

Running configuration has only the following host configured.

snmp-server trap-source Loopback0

snmp-server host public




Re: Removing SNMP Trap Host

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.

Cisco Employee

Re: Removing SNMP Trap Host

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.

Community Member

Re: Removing SNMP Trap Host

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



Cisco Employee

Re: Removing SNMP Trap Host

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

CreatePlease to create content