Clear all SNMP settings?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-19-2017 09:54 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-20-2017 07:08 AM
Unconfigure management should do it i belive
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-20-2017 02:46 AM
Eric,
We could default 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.
We could default 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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-20-2017 12:07 AM
Hi Eric,
This might give you some idea,
https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-remove-default-SNMP-credentials-in-...
Thanks,
Suresh.B
This might give you some idea,
https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-remove-default-SNMP-credentials-in-...
Thanks,
Suresh.B
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-19-2017 11:01 PM
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)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-19-2017 10:55 PM
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.
