DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
210
Chapter 19
DHCP Local Relay
Command List
config dhcp_local_relay vlan
<vlan_name 32> state [enable | disable]
config dhcp_local_relay vlan vlanid
<vlan_id> state [enable | disable]
config dhcp_local_relay option_82 circuit_id
[default | vendor1 | vendor6]
config dhcp_local_relay option_82 ports
<portlist> policy [replace | drop | keep]
config dhcp_local_relay option_82 remote_id
[default | user_define <desc 32>]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
show dhcp_local_relay option_82 ports
{<portlist>}
config dhcp_local_relay vlan
19-1
Description
This command is used to enable or disable DHCP local relay function for specified VLAN name.
When DHCP local relay is enabled for the VLAN, the DHCP packet will be relayed in broadcast
way without change of the source MAC address and gateway address. DHCP option 82 will be
automatically added.
Format
config dhcp_local_relay vlan <vlan_name 32> state [enable | disable]
Parameters
<vlan_name 32>
- Enter the VLAN name. This name can be up to 32 characters long.
state
- Enables or disables DHCP local relay for specified vlan.
enable
- Specify to enable the DHCP local relay function.
disable
- Specify to disable the DHCP local relay function.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To enable DHCP local relay for default VLAN:
DGS-3000-26TC:admin#config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DGS-3000-26TC:admin#
Содержание DGS-3000 series
Страница 1: ......