DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
268
Chapter 23
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]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
23-1
config dhcp_local_relay
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
- Specifies the VLAN name that the DHCP local relay function will be enabled.
<vlan_name 32>
- Enter the name of the VLAN here. This name can be up to 32 characters
long.
state
- Enable or disable DHCP local relay for specified vlan.
enable
- Specifies that the DHCP local relay function will be enabled.
disable
- Specifies that the DHCP local relay function will be disabled.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To enable DHCP local relay for default VLAN:
DWS-3160-24PC:admin# config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DWS-3160-24PC:admin#
Содержание DWS-3160 Series
Страница 1: ......
Страница 13: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 9 R refresh the displayed pages ...
Страница 271: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 267 ...
Страница 586: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 582 ...
Страница 766: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 762 ...