DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
132
config dhcp_relay vlan
Purpose To configure a VLAN of DHCP Relay to be enabled or disabled of
the Switch.
Syntax
config dhcp_relay vlan [<vlan_name 32> | vlanid <vidlist>] state
[enable | disable]
Description
The config dhcp_relay vlan command configures a VLAN of DHCP
Relay to be enabled or disable of the Switch.
Parameters
<vlan_name 32> − Specifies the VLAN name to be configured.
vlanid <vidlist> - Specifies the id of VLAN to be configured.
[enable | disable] –
Specifies the VLAN of DHCP Relay to be
enabled or disabled.
Restrictions Only Administrator, operator or power user-level users can issue this
command.
Example usage:
To specify the VLAN ID 2 of DHCP relay to be enabled:
DGS-1210-28MP/ME:5# config dhcp_relay vlan vlanid 2 state enable
Command: config dhcp_relay vlan vlanid 2 state enable
Success.
DGS-1210-28MP/ME:5#
config dhcp_relay option_82
Purpose To
configure the check, policy and state of DHCP relay agent
information option 82 of the Switch.
Syntax
config dhcp_relay
option_82 [check [enable | disable] |
circuit_id [default | user_define <desc 32> | user_define_hex
<string 246>] | policy [drop | keep | replace] | remote_id [default
| user_define <desc 32> | user_define_hex <string 246>] | state
[enable | disable]]
Description
The config dhcp_relay option_82 is used to configure the check,
policy and state of DHCP relay
agent information option 82 of the
Switch
Parameters
check: used to configure the check of DHCP relay agent information
option 82 of the Switch.
enable –
When the field is toggled to enable, the relay agent will
check the validity of the packet’s option
82 field. If the switch
receives a packet that contains the option 82 field from a DHCP
client, the switch drops the packet because it is invalid. In packets
received from DHCP servers, the relay agent will drop invalid
messages.
disable – When the field is toggled to disable, the relay agent will not
check the validity of the packet’s option 82 field.
policy: used to configure the re-
forwarding policy of DHCP relay
agent information option 82 of the Switch.
replace − The option 82 field will be replaced if the option 82 field