CLI Reference Guide-R07

Table Of Contents
Chapter 26
| DHCP Commands (IPv4 and IPv6)
DHCP Relay (IPv4 and IPv6)
– 635 –
List of known servers:
Server address : FE80::250:FCFF:FEF9:A494
DUID : 0001-0001-48CFB0D5-F48F2A006801
Server address : FE80::250:FCFF:FEF9:A405
DUID : 0001-0001-38CF5AB0-F48F2A003917
Console#
RELATED COMMANDS
ipv6 address (661)
DHCP Relay (IPv4 and IPv6)
This section describes commands used to configure the switch to relay DHCP (v4
and v6) requests from local hosts to a remote DHCP server.
ip dhcp relay server This command specifies the DHCP server or relay server addresses to use.
Use the no form to clear all addresses or specify a single address to
remove.
Syntax
[no] ip dhcp relay server address1 [address2 [address3 ...]]
Table 132: DHCP Relay Commands
Command Function Mode
DHCP Relay for IPv4
ip dhcp relay server Specifies DHCP server or relay server addresses GC,IC
ip dhcp l2 relay Configures the switch as a Layer 2 Relay Agent GC
ip dhcp l3 relay Configures the switch as a Layer 3 Relay Agent GC
ip dhcp restart relay Enables DHCP relay agent PE
ip dhcp relay information
option
Enables DHCP Option 82 information relay GC
ip dhcp relay information
option encode no-subtype
Specifies to include or not include the Option 82
information subtype fields.
GC
ip dhcp relay information
policy
Specifies how the switchs relay agent handles client
requests containing Option 82 information.
GC
DHCP Relay for IPv6
ipv6 dhcp relay destination Specifies DHCP server or relay server destination addresses GC,IC
ipv6 dhcp relay destination
multicast
Specifies to relay DHCv6 messages using the multicast
destination address
GC,IC
show ipv6 dhcp relay
destination interface
Displays the DHCPv6 configured destinations GC