D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
59
8
DHCP LOCAL RELAY
Command Parameter
config dhcp_local_relay
state
[enable | disable]
config dhcp_local_relay
vlan
vlan [add | delete] <vlan_name 32> | vlanid <1-4094>]
config dhcp_local_relay state
Purpose To enable /disable the DHCP local relay feature globally
Syntax
config dhcp_local_relay state [enable | disable]
Description
Parameters state [enable | disable] state of the feature is globally enabled or
disabled
Restrictions
Example usage:
To enable the DHCP Local Relay:
DGS-3100# config dhcp_local_relay state enable
Success.
DGS-3100#
config dhcp_local_relay vlan
Purpose To specify which VLAN’s the feature works on.
Syntax
config dhcp_local_relay vlan [add | delete] <vlan_name 32> |
vlanid <1-4094>]
Description Each VLAN which was added to the DHCP Local Relay list
participates in the DHCP Local Relay process – Option 82 is added
to DHCP requests on this VLAN, and Removed from DHCP Replies
on this VLAN.
Parameters vlan_name_32 – the VLAN name identifier
vlanid 1-4094 – The VLAN tag identifier
Restrictions None.
Example usage:
To add a VLAN to the DHCP Local Relay:
DGS-3100# config dhcp_local_relay vlan add 2