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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

"clear snmp targetaddr" don't work

Hello!

I have a 4006 with IOS relase 5.4(2) runnning and it works fine.

My problem is, I have to clear a snmp entry but the OS wan't do this.

Here you can see the parameter.

sf02vts4u (enable) sh snmp targetaddr

Target Addreess Name: public/129.1.13.2/2-snmpv1

IP Address: 129.1.13.2

UDP Port#: 162

Timeout: 1500

Retry Count: 0

Tag List: snmpV1Trap

Parameters: snmpV1TrapParams

Storage Type: read-only

Row Status: active

With the follow command I want to delete the entry:

sf02vts4u (enable) clear snmp targetaddr public/129.1.13.2/2-snmpv1

Failed to clear snmp targetaddr entry.

But it dosn't work. If I enter a new entry and try to clear it, it works fine...

sf02vts4u (enable) set snmp targetaddr test param snmpV1TrapParams 129.1.13.2

Snmp targetaddr name was set to test with param snmpV1TrapParams

ipAddr 129.1.13.2, udpport 162, timeout 1500, retries 3, storageType nonvolatile

.

sf02vts4u (enable) sh snmp targetaddr

Target Addreess Name: test

IP Address: 129.1.13.2

UDP Port#: 162

Timeout: 1500

Retry Count: 3

Tag List:

Parameters: snmpV1TrapParams

Storage Type: nonvolatile

Row Status: active

Target Addreess Name: public/129.1.13.2/2-snmpv1

IP Address: 129.1.13.2

UDP Port#: 162

Timeout: 1500

Retry Count: 0

Tag List: snmpV1Trap

Parameters: snmpV1TrapParams

Storage Type: read-only

Row Status: active

sf02vts4u (enable) clear snmp targetaddr test

Cleared snmp targetaddr test.

sf02vts4u (enable)

I tried the clear snmp... also with -hex and the name as hexcode.

Is there a possibility to clear the entry without a system reset or softwareupdate or clear config?

Thanks for help in advance!

Mathias

  • Other Network Infrastructure Subjects
3 REPLIES

Re: "clear snmp targetaddr" don't work

Hi,

I guess there is a

set snmp trap 129.1.13.2 ...

line in your config.

Try

clear snmp trap 129.1.13.2

first.

Regards,

Milan

New Member

Re: "clear snmp targetaddr" don't work

Hi,

there is no entry for 129.1.13.2 in the config at all.

In show version, I see also "Global checksum failed".

I there is no possibilty without reset of the system.

regards,

Mathias

Re: "clear snmp targetaddr" don't work

Be careful.

"Global checksum failed" might cause a partial or complete conifg loose after the reset.

Regards,

Milan

140
Views
0
Helpful
3
Replies
This widget could not be displayed.