cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
316
Views
0
Helpful
3
Replies

"clear snmp targetaddr" don't work

palpatine
Level 1
Level 1

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

3 Replies 3

milan.kulik
Level 10
Level 10

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

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

Be careful.

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

Regards,

Milan