I am working on a Cisco L3 switch where most of SVIs are having ip helper-address
configured for DHCP relay but also a couple of DHCP pools have been configured in the switch itself to serve dynamic addresses to a couple of VLANs.
I'm planning some changes where I would like to disable only one of the DHCP pools in the switch. So far, I have read about the following options related to disabling DHCP in IOS:
- Adding
no service dhcp
in global config: not suitable for my scenario, as it would disable all DHCP relay and all DHCP pools. - Deleting configuration for the pool to be disabled: this would work in my scenario but I would like to keep the pool configuration in running config, just in case I need to rollback the change.
So my question is: for an IOS based device, is there a way to disable a single DHCP pool while keeping the pool configuration in running config? Something like shutdown
for an interface?