Configuring Dhcp Server Addresses On An Interface - 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

Configuring DHCP
SUMMARY STEPS
1. configure terminal
2. [no] ip dhcp relay information option vpn
3. [no] ip dhcp relay sub-option type cisco
4. (Optional) show ip dhcp relay
5. (Optional) show running-config dhcp
6. (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 option vpn
Example:
switch(config)# ip dhcp relay information option
vpn
Step 3
[no] ip dhcp relay sub-option type cisco
Example:
switch(config)# ip dhcp relay sub-option type cisco
Step 4
(Optional) show ip dhcp relay
Example:
switch(config)# show ip dhcp relay
Step 5
(Optional) show running-config dhcp
Example:
switch(config)# show running-config dhcp
Step 6
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config startup-config

Configuring DHCP Server Addresses on an Interface

You can configure DHCP server IP addresses on an interface. When an inbound DHCP BOOTREQUEST
packet arrives on the interface, the relay agent forwards the packet to all DHCP server IP addresses specified.
The relay agent forwards replies from all DHCP servers to the host that sent the request.
Purpose
Enters global configuration mode.
Enables VRF support for the DHCP relay agent. The no
option disables this behavior.
Enables DHCP to use Cisco proprietary numbers 150, 152,
and 151 when filling the link selection, server ID override,
and VRF name/VPN ID relay agent Option 82 suboptions.
The no option causes DHCP to use RFC numbers 5, 11,
and 151 for the link selection, server ID override, and VRF
name/VPN ID suboptions.
Displays the DHCP relay configuration.
Displays the DHCP configuration.
Copies the running configuration to the startup
configuration.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Configuring DHCP Server Addresses on an Interface
351

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents