Enabling Or Disabling The Dhcp Relay Agent - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Enabling or Disabling the DHCP Relay Agent

4. (Optional) show running-config dhcp
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
[no] ip dhcp relay information trust-all
Example:
switch(config)# ip dhcp relay information trust-all
Step 3
(Optional) show ip dhcp relay information
trusted-sources
Example:
switch(config)# show ip dhcp relay information
trusted-sources
Step 4
(Optional) show running-config dhcp
Example:
switch(config)# show running-config dhcp
Step 5
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
Enabling or Disabling the DHCP Relay Agent
You can enable or disable the DHCP relay agent. By default, the DHCP relay agent is enabled.
Before you begin
Ensure that the DHCP feature is enabled.
SUMMARY STEPS
1. configure terminal
2. [no] ip dhcp relay
3. (Optional) show ip dhcp relay
4. (Optional) show running-config dhcp
5. (Optional) copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
348
Purpose
Enters global configuration mode.
Configures the interfaces as trusted sources of DHCP
messages. The no form of this command configures the
ports as untrusted interfaces.
Displays the DHCP relay trusted ports configuration.
Displays the DHCP configuration.
Copies the running configuration to the startup
configuration.
Configuring DHCP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents