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