cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1434
Views
0
Helpful
1
Replies

no snmp-server does not remove snmp configuration in a Nexus switch

luguille
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

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

View solution in original post

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

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

Review Cisco Networking for a $25 gift card