Purpose
Command or Action
Displays the DHCP configuration. It shows whether
option82 is enabled or disabled on that interface and the
transmitted packets for an interface that is option82 enabled.
(Optional)
show ip dhcp option82 info interface intf_name
Step 7
Displays the DHCP configuration.
(Optional)
show running-config dhcp
Example:
Step 8
switch(config)# show running-config dhcp
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 9
switch(config)# copy running-config startup-config
Enabling or Disabling Strict DHCP Packet Validation
You can enable or disable the strict validation of DHCP packets. By default, strict validation of DHCP packets
is disabled.
SUMMARY STEPS
1.
configure terminal
2.
[
no
]
ip dhcp packet strict-validation
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 strict validation of DHCP packets. The
no
form
of this command disables strict DHCP packet validation.
[
no
]
ip dhcp packet strict-validation
Example:
Step 2
switch(config)# ip dhcp packet strict-validation
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
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
343
Configuring DHCP
Enabling or Disabling Strict DHCP Packet Validation