SUMMARY STEPS
1.
configure terminal
2.
[
no
]
feature dhcp
3.
(Optional)
show running-config dhcp
4.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Enables the DHCP feature. The
no
option disables the
DHCP feature and erases all DHCP configuration.
[
no
]
feature dhcp
Example:
Step 2
switch(config)# feature dhcp
Displays the DHCP configuration.
(Optional)
show running-config dhcp
Example:
Step 3
switch(config)# show running-config dhcp
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 4
switch(config)# copy running-config startup-config
Configuring DHCP Snooping
Enabling or Disabling DHCP Snooping Globally
You can enable or disable DHCP snooping globally on the device.
Before you begin
Make sure that you have enabled the DHCP feature.
SUMMARY STEPS
1.
configure terminal
2.
[
no
]
ip dhcp snooping
3.
(Optional)
show running-config dhcp
4.
(Optional)
copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
338
Configuring DHCP
Configuring DHCP Snooping