![background image](http://html1.mh-extra.com/html/foundry-networks/netiron-m2404c/netiron-m2404c_user-manual_23242731217.webp)
Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Relay
© 2008 Foundry Networks, Inc.
Page 51 of 63
•
keep
the Option 82 field unchanged and strip it when the packet is coming from the DHCP
client
By default, Option 82 is disabled. If Option 82 is enabled, the default policy is
drop
.
NOTE
The default policy is to drop the packets containing Option 82 that are coming
from clients.
Command Syntax
device-name
(config)#
ip dhcp-relay information policy
{
drop
|
replace
|
keep
|
global pass-transparent
}
device-name
(config)#
no ip dhcp-relay information policy
Argument Description
drop
When packets transmitted by the DHCP client arrive at the relay agent
device, they are dropped.
replace
When packets transmitted by the DHCP client arrive at the relay agent
device, their information Option 82 field is replaced with the one
configured on the relay agent device.
keep
When packets transmitted by the DHCP client arrive at the relay agent
device, their information Option 82 field is kept unchanged.
global
pass-
transparent
When packets transmitted by the DHCP client arrive at the relay agent
device, their information Option 82 field is kept unchanged and is never
stripped from the packet.
Defining the Option 82 Relay Tag
The
ip dhcp-relay tag
command, in Global Configuration mode, defines the tag of the DHCP
relay agent for a network with multiple DHCP relay agents. The
no
form of the command removes
the defined DHCP Relay tag.
Command Syntax
device-name
(config)#
ip dhcp-relay tag
<
tag-number
>
device-name
(config)#
no ip dhcp-relay tag
Argument Description
tag-number
DHCP Relay tag in the range <1-65535>.
The following example shows how to configure the Option 82 format and tag. Note that it is
possible to configure the format of Option 82 for each separate VLAN or physical interface.
Example 1
device-name
(config)#
vlan
device-name
(config
vlan
)#
config default
device-name
(config
-vlan
default)#
dhcp relay information format binary
remote-id
device-name
(config
-vlan
default)#
exit