10-29-2015 06:05 AM - edited 03-08-2019 02:29 AM
If I run show running-config I see the following snmp configuration:
no snmp-server enable traps entity entity_mib_change
no snmp-server enable traps entity entity_module_status_change
no snmp-server enable traps entity entity_power_status_change
no snmp-server enable traps entity entity_module_inserted
no snmp-server enable traps entity entity_module_removed
<output omitted>
I would like to remove that configuration from the running-config, is it possible?
I have disabled snmp by issuing no snmp-server protocol enable but it didn't remove the previous config.
This is a cisco Nexus 5596, code 6.0(2)N1(2a).
There is another N5K with the same code that doesn't have the snmp configuration in running-config so I guess there might be a way to remove it.
Solved! Go to Solution.
10-29-2015 09:58 AM
If you dont want to see it in the running-config remove the no in conf t mode and re-apply it as below
no snmp-server enable traps entity entity_mib_change
no snmp-server enable traps entity entity_module_status_change
no snmp-server enable traps entity entity_power_status_change
no snmp-server enable traps entity entity_module_inserted
no snmp-server enable traps entity entity_module_removed
no snmp-server enable traps entity entity_unrecognised_module
no snmp-server enable traps entity entity_fan_status_change
XX-5596b(config)# snmp-server enable traps entity entity_mib_change
xco-fdc3-lab-5596b(config)# sh run | i snmp
no snmp-server enable traps entity entity_module_status_change
no snmp-server enable traps entity entity_power_status_change
no snmp-server enable traps entity entity_module_inserted
no snmp-server enable traps entity entity_module_removed
no snmp-server enable traps entity entity_unrecognised_module
no snmp-server enable traps entity entity_fan_status_change
no snmp-server enable traps entity entity_power_out_change
10-29-2015 09:58 AM
If you dont want to see it in the running-config remove the no in conf t mode and re-apply it as below
no snmp-server enable traps entity entity_mib_change
no snmp-server enable traps entity entity_module_status_change
no snmp-server enable traps entity entity_power_status_change
no snmp-server enable traps entity entity_module_inserted
no snmp-server enable traps entity entity_module_removed
no snmp-server enable traps entity entity_unrecognised_module
no snmp-server enable traps entity entity_fan_status_change
XX-5596b(config)# snmp-server enable traps entity entity_mib_change
xco-fdc3-lab-5596b(config)# sh run | i snmp
no snmp-server enable traps entity entity_module_status_change
no snmp-server enable traps entity entity_power_status_change
no snmp-server enable traps entity entity_module_inserted
no snmp-server enable traps entity entity_module_removed
no snmp-server enable traps entity entity_unrecognised_module
no snmp-server enable traps entity entity_fan_status_change
no snmp-server enable traps entity entity_power_out_change
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