Cisco Nexus 9000 Series Configuration Manual page 378

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

Advertisement

Configuring DHCP Server Addresses on an Interface
Before you begin
Ensure that the DHCP feature is enabled.
Ensure that the DHCP server is correctly configured.
Determine the IP address for each DHCP server that you want to configure on the interface.
If the DHCP server is in a different VRF than the interface, ensure that you have enabled VRF support.
Note
If an ingress router ACL is configured on an interface that you are configuring with a DHCP server address,
ensure that the router ACL permits DHCP traffic between DHCP servers and DHCP hosts.
SUMMARY STEPS
1. configure terminal
2. Do one of the following options:
3. ip dhcp relay address IP-address [use-vrf vrf-name]
4. (Optional) show ip dhcp relay address
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
Do one of the following options:
• interface ethernet slot/port[.number]
• interface vlan vlan-id
• interface port-channel channel-id[.subchannel-id]
Example:
switch(config)# interface ethernet 2/3
switch(config-if)#
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
352
• interface ethernet slot/port[.number]
• interface vlan vlan-id
• interface port-channel channel-id[.subchannel-id]
Purpose
Enters global configuration mode.
• Enters interface configuration mode, where slot/port
is the physical Ethernet interface that you want to
configure with a DHCP server IP address. If you want
to configure a subinterface, include the number
argument to specify the subinterface number.
Port-channel subinterfaces are supported
Note
only in Cisco NX-OS Releases 6.1(2)I3(3)
and 6.1(2)I3(3a). They are not supported in
Cisco NX-OS Release 9.2(1).
• Enters interface configuration mode, where vlan-id is
the ID of the VLAN that you want to configure with
a DHCP server IP address.
Configuring DHCP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents