xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
372
Chapter 22
DHCP Local Relay
Commands
config dhcp_local_relay vlan
<vlan_name 32> state [enable | disable]
config dhcp_local_relay vlan vlanid
<vlan_id 1-4094> state [enable | disable]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
22-1
config dhcp_local_relay vlan
Description
This command is used to enable or disable the DHCP local relay function for a specified VLAN. By
default, the switch will not broadcast DHCP packets on any VLAN for which a DHCP relay is
configured. DHCP packets will be intercepted, and only be relayed to the servers specified in the
dhcp_relay command. This is done to minimise the risk with rogue DHCP servers. Enabling the
dhcp_local_relay feature will restore the broadcast behaviour, and cause DHCP packets to also be
broadcast on the specified VLAN.
Note:
When “dhcp_local_relay” is enabled, the switch will automatically add DHCP option 82, and
the source MAC and gateway in the packet will remain unchanged.
Format
config dhcp_local_relay vlan <vlan_name 32> state [enable | disable]
Parameters
<vlan_name 32>
- Enter the name of the VLAN to be enabled for DHCP local relay.
state
- Enable or disable DHCP local relay for a specified VLAN.
enable
- Enable DHCP local relay for a specified VLAN.
disable
- Disable DHCP local relay for a specified VLAN.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable DHCP local relay for the default VLAN:
DGS-3620-28SC:admin#config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DGS-3620-28SC:admin#
Содержание xStack
Страница 1: ......
Страница 161: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 156 DGS 3620 28SC admin ...
Страница 503: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 498 DGS 3620 28SC admin ...
Страница 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Страница 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Страница 888: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 883 DGS 3620 28SC admin ...
Страница 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Страница 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...