Before you begin
Ensure that the DHCP feature is enabled.
Ensure that the DHCPv6 server is correctly configured.
Determine the IP address for each DHCPv6 server that you want to configure on the interface.
If the DHCPv6 server is in a different VRF than the interface, ensure that you have enabled VRF support.
If an ingress router ACL is configured on an interface that you are configuring with a DHCPv6 server address,
ensure that the router ACL permits DHCP traffic between DHCPv6 servers and DHCP hosts.
Note
SUMMARY STEPS
1.
configure terminal
2.
Do one of the following options:
•
interface ethernet slot
/
port
•
interface port-channel channel-id
3.
[
no
]
ipv6 dhcp relay address IPv6-address
[
use-vrf vrf-name
] [
interface interface
]
4.
(Optional)
show running-config dhcp
5.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Do one of the following options:
Step 2
• Enters interface configuration mode, where
slot
/
port
is the physical Ethernet interface that you want to
configure with a DHCPv6 server IP address.
•
interface ethernet slot
/
port
•
interface port-channel channel-id
• Enters interface configuration mode, where
channel-id
is the ID of the port channel that you want to configure
with a DHCPv6 server IP address.
Example:
switch(config)# interface ethernet 2/3
switch(config-if)#
Configures an IP address for a DHCPv6 server to which
the relay agent forwards BOOTREQUEST packets received
on this interface.
[
no
]
ipv6 dhcp relay address IPv6-address
[
use-vrf
vrf-name
] [
interface interface
]
Example:
Step 3
Use the
use-vrf
option to specify the VRF name of the
server if it is in a different VRF and the other argument
switch(config-if)# ipv6 dhcp relay address
FF02:1::FF0E:8C6C use-vrf red
interface is used to specify the output interface for the
destination.
The server address can either be a link-scoped unicast or
multicast address or a global or site-local unicast or
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
359
Configuring DHCP
Configuring DHCPv6 Server Addresses on an Interface