EasyManua.ls Logo

Cisco Nexus 9000 Series - Configuring the DHCP Relay Source Interface

Cisco Nexus 9000 Series
562 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
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.
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 3
To configure more than one IP address, use the ip dhcp
relay address command once per address.
Displays all the configured DHCP server addresses.(Optional) show ip dhcp relay address
Example:
Step 4
switch(config-if)# show ip dhcp relay address
Displays the DHCP configuration.(Optional) show running-config dhcp
Example:
Step 5
switch(config-if)# show running-config dhcp
Copies the running configuration to the startup
configuration.
(Optional) copy running-config startup-config
Example:
Step 6
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
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
353
Configuring DHCP
Configuring the DHCP Relay Source Interface

Table of Contents

Other manuals for Cisco Nexus 9000 Series

Related product manuals