hit counter script

Configuring The Dhcp Relay Source 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
Command or Action
Step 3
ip dhcp relay address IP-address [use-vrf vrf-name]
Example:
switch(config-if)# ip dhcp relay address
10.132.7.120 use-vrf red
Step 4
(Optional) show ip dhcp relay address
Example:
switch(config-if)# show ip dhcp relay address
Step 5
(Optional) show running-config dhcp
Example:
switch(config-if)# show running-config dhcp
Step 6
(Optional) copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config

Configuring the DHCP Relay Source Interface

You can configure the source interface for the DHCP relay agent. By default, the DHCP relay agent uses the
relay agent address as the source address of the outgoing packet. Configuring the source interface enables
you to use a more stable address (such as the loopback interface address) as the source address of relayed
messages.
Before you begin
Ensure that the DHCP feature is enabled.
Ensure that the DHCP relay agent is enabled.
SUMMARY STEPS
1. configure terminal
2. [no] ip dhcp relay source-interface interface
3. (Optional) show ip dhcp relay [interface interface]
4. (Optional) show running-config dhcp
5. (Optional) copy running-config startup-config
Purpose
• Enters interface configuration mode, where channel-id
is the ID of the port channel that you want to configure
with a DHCP server IP address. If you want to
configure a subchannel, include the subchannel-id
argument to specify the subchannel ID.
Configures an IP address for a DHCP server to which the
relay agent forwards BOOTREQUEST packets received
on this interface.
To configure more than one IP address, use the ip dhcp
relay address command once per address.
Displays all the configured DHCP server addresses.
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 the DHCP Relay Source Interface
353

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF