09-17-2003 07:26 AM - edited 03-02-2019 10:23 AM
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
09-18-2003 03:22 AM
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
09-18-2003 05:58 AM
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
09-18-2003 07:00 AM
Be careful.
"Global checksum failed" might cause a partial or complete conifg loose after the reset.
Regards,
Milan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide