DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Enables DHCP smart relay globally. The
no
form of this
command disables DHCP smart relay.
[
no
]
ip dhcp smart-relay global
Example:
Step 2
switch(config)# ip dhcp smart-relay global
Displays the DHCP smart relay configuration.
(Optional)
show ip dhcp relay
Example:
Step 3
switch(config)# show ip dhcp relay
Displays the DHCP configuration.
(Optional)
show running-config dhcp
Example:
Step 4
switch(config)# show running-config dhcp
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 5
switch(config)# copy running-config startup-config
Enabling or Disabling DHCP Smart Relay on a Layer 3 Interface
You can enable or disable DHCP smart relay on Layer 3 interfaces.
Before you begin
Ensure that the DHCP feature is enabled.
Ensure that the DHCP relay agent is enabled.
SUMMARY STEPS
1.
configure terminal
2.
interface interface slot
/
port
3.
[
no
]
ip dhcp smart-relay
4.
exit
5.
exit
6.
(Optional)
show ip dhcp relay
7.
(Optional)
show running-config dhcp
8.
(Optional)
copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
355
Configuring DHCP
Enabling or Disabling DHCP Smart Relay on a Layer 3 Interface