ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 32
| DHCP Commands
DHCP Relay
– 875 –
Eth 1/1 Enabled
Eth 1/2 Enabled
……
Eth 1/52 Enabled
Console#
L2 DHCP Relay option settings
ip dhcp relay
information option
Enables the option 82 information to be relayed when the switch is set as
an L2 DHCP Relay agent. Use the no form of the command to disable
relaying option 82 information (RFC3046).
Syntax
ip dhcp relay information option
no ip dhcp relay information option
Default Setting
Disabled
Command Mode
Global Configuration
Usage Guidelines
An L2 DHCP relay agent can optionally add a Circuit ID and a Remote ID as sub-
options in DHCP Option 82 packets. These IDs indicate the DHCP client’s switch
port number and MAC address to a DHCP server so that it can decide on the
address and services that the client may receive.
Example
Console(config)#ip dhcp relay information option
Console(config)#
ip dhcp relay
information option
encode no-subtype
Use this command to disable the option 82 packets including sub-type and
sub-length in both CID and RID. Use the no form of the command to
enable including the sub-type and sub-length in both CID and RID.
Syntax
ip dhcp relay information option encode no-subtype
no ip dhcp relay information option encode no-subtype
Default Setting
Sub-type and sub-length information is included.