D-Link DGS-3120-48PC Reference Manual page 245

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-48PC:
Table of Contents

Advertisement

®
xStack
Restrictions
Only Administrator, Operator and Power-User level users can issue this command. (SI Mode Only)
Example
To delete a DHCP/BOOTP server 10.43.21.12 from VLAN 2 and VLAN 3:
DGS-3120-24TC:admin# config dhcp_relay delete vlanid 2-3 10.43.21.12
Command: config dhcp_relay delete vlanid 2-3 10.43.21.12
Success.
DGS-3120-24TC:admin#
24-6
config dhcp_relay option_82
Description
This command is used to configure the processing of DHCP 82 option for the DHCP relay function.
Format
config dhcp_relay option_82 {state [enable | disable] | check [enable | disable] | policy
[replace | drop | keep] | remote_id [default | user_define <desc 32>]}
Parameters
state - (Optional) When the state is enabled, the DHCP packet will be inserted with the option 82
field before being relayed to server. The DHCP packet will be processed based on the
behaviour defined in check and policy setting. When the state is disabled, the DHCP packet
will be relayed directly to server without further check and processing on the packet. The
default setting is disabled.
enable - Specify that the option 82 processing will be enabled.
disable - Specify that the option 82 processing will be disabled.
check - (Optional) When the state is enabled, For packet come from client side, the packet
should not have the option 82's field. If the packet has this option field, it will be dropped. The
default setting is disabled.
enable - Specify that checking will be enabled.
disable - Specify that checking will be disabled.
policy - (Optional) Specify the policy used. This option takes effect only when the check status is
disabled. The default setting is set to 'replace'.
replace - Replace the exiting option 82 field in the packet. The Switch will use it's own Option
82 value to replace the old Option 82 value in the packet.
drop - Discard if the packet has the option 82 field. If the packet, that comes from the client
side, contains and Option 82 value, then the packet will be dropped. If the packet, that
comes from the client side doesn't contain an Option 82 value, then insert it's own Option
82 value into the packet.
keep - Retain the existing option 82 field in the packet. If the packet, that comes from the
client side, contains and Option 82 value, then keep the old Option 82 value. If the packet,
that comes from the client side, doesn't contain an Option 82 value, then insert it's own
Option 82 value into the packet.
remote_id - (Optional) Specify the content in Remote ID suboption.
default - Use switch's system MAC address as remote ID.
user_define - Use user-defined string as remote ID. The space character is allowed in the
string.
DGS-3120 Series Managed Switch CLI Reference Guide
241

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents