SUMMARY STEPS
1.
configure terminal
2.
[
no
]
ipv6 dhcp relay option vpn
3.
[
no
]
ipv6 dhcp relay option type cisco
4.
(Optional)
show ipv6 dhcp relay
[
interface interface
]
5.
(Optional)
show running-config dhcp
6.
(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)#
Enables VRF support for the DHCPv6 relay agent. The
no
option disables this behavior.
[
no
]
ipv6 dhcp relay option vpn
Example:
Step 2
switch(config)# ipv6 dhcp relay option vpn
Causes the DHCPv6 relay agent to insert virtual subnet
selection (VSS) details as part of the vendor-specific option.
[
no
]
ipv6 dhcp relay option type cisco
Example:
Step 3
The
no
option causes the DHCPv6 relay agent to insert VSS
switch(config)# ipv6 dhcp relay option type cisco
details as part of the VSS option (68), which is defined in
RFC-6607. This command is useful when you want to use
DHCPv6 servers that do not support RFC-6607 but allocate
IPv6 addresses based on the client VRF name.
Displays the DHCPv6 relay configuration.
(Optional)
show ipv6 dhcp relay
[
interface interface
]
Example:
Step 4
switch(config)# show ipv6 dhcp relay
Displays the DHCP configuration.
(Optional)
show running-config dhcp
Example:
Step 5
switch(config)# show running-config dhcp
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 6
switch(config)# copy running-config startup-config
Configuring DHCPv6 Server Addresses on an Interface
You can configure DHCPv6 server IP addresses on an interface. When an inbound DHCP BOOTREQUEST
packet arrives on the interface, the relay agent forwards the packet to all DHCPv6 server IP addresses specified.
The relay agent forwards replies from all DHCPv6 servers to the host that sent the request.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
358
Configuring DHCP
Configuring DHCPv6 Server Addresses on an Interface