cancel
Showing results for 
Search instead for 
Did you mean: 

Clear all SNMP settings?

Clear all SNMP settings?

Eric_Burke
New Contributor III
Is there a simple way to clear all SNMP settings (v1/2 and v3)? I'd like to start cleanly but I'm not sure of the best way (someone else did all of the prior work)... Thanks!
9 REPLIES 9

faste
New Contributor II
Unconfigure management should do it i belive

Vellachery__Sum
Extreme Employee
Eric,

We could d
efault the EXOS SNMP Configuration using these methods.

Method 1:-
Unconfigure the switch and rebuild the non-SNMP configuration, leaving the SNMP configuration defaulted.

Method 2:-
Remove all not default configuration using the following commands. Note, this may vary between EXOS releases.

conf snmp delete trapreceiver all

conf snmp delete notification-log default
conf snmpv3 delete access all-non-defaults
conf snmpv3 delete community all-non-defaults
conf snmpv3 delete filter all
conf snmpv3 delete filter-profile all
conf snmpv3 delete mib-view all-non-defaults
conf snmpv3 delete notify all-non-defaults
conf snmpv3 delete target-addr all
conf snmpv3 delete target-params all
conf snmpv3 delete user all-non-defaults

conf snmp delete community readwrite all
conf snmp delete community readonly all

With the above commands issued, take the SNMP configuration from a defaulted switch with an identical EXOS version and paste the contents of show configuration snmp detail to the affected switch.

Note: Note the Engine ID and use conf snmpv3 engine-id to set it back to the required value or new. This is not entirely necessary though can be conflicting if duplicates are found on multiple switches on network.

Bharathiraja__S
Extreme Employee

BigRic
New Contributor III
Was looking more for just a way to clear all SNMP settings. I deleted what I don't need, but I'm still getting some odd errors about invalid v1v2 communities, but I've deleted and re-added them several times. I thought perhaps a prior snmpv3 setting was stepping on it and I thought I'd cleared all of those settings, but still having issues. Was hoping I could essentially reset just SNMP settings to default... (logged in from my other account, sorry for any confusion)

Korsovsky__Kons
Extreme Employee
Hi, Eric, do you want to clear all config or just snmp? If you want to delete all then read about "unconfigure switch all" command in "Command reference guide". If you just want to remove SNMP settings then check what is configured with "show config snmp" and delete all what you don't need.
GTM-P2G8KFN