Enabling Dhcp Client - 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 DHCP Client

DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface interface slot/port
Example:
switch(config)# interface ethernet 2/2
switch(config-if)#
Step 3
[no] ipv6 nd raguard
Example:
switch(config-if)# ipv6 nd raguard
Step 4
(Optional) copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
Enabling DHCP Client
You can use the DHCP client feature to enable the configuration of an IPv4 or IPv6 address on an interface.
Interfaces can include routed ports, the management port, and switch virtual interfaces (SVIs). Layer 3
subinterfaces are not supported.
Note
DHCP client is independent of the DHCP relay and DHCP snooping processes, so it does not require that the
feature dhcp command be enabled.
SUMMARY STEPS
1. configure terminal
2. Do one of the following options:
3. ipv6 address use-link-local-only
4. [no] {ip | ipv6} address dhcp
5. (Optional) Do one of the following options:
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
362
• interface ethernet slot/port
• interface mgmt 0
• interface vlan vlan-id
• show running-config interface ethernet slot/port
• show running-config interface mgmt 0
Purpose
Enters global configuration mode.
Enters interface configuration mode.
Enables the IPv6 RA guard feature on the specified
interface.
Copies the running configuration to the startup
configuration.
Configuring DHCP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents