![D-Link DGS-3700 Series Скачать руководство пользователя страница 481](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575481.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 481
N
ETWORK
A
PPLICATION
S
ECTION
10
Table of Contents
Next Section
Previous Section
DHCP
L
OCAL
R
ELAY
C
OMMANDS
Back to Section Header
The DHCP local relay commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
C
OMMAND
P
ARAMETERS
config dhcp_local_relay vlan
<vlan_name 32> state [enable | disable]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
Each command is listed in detail in the following sections.
config dhcp_local_relay vlan
Purpose
To enable or disable the DHCP local relay function for a specific VLAN.
Syntax
config dhcp_local_relay vlan <vlan_name 32> state [enable | disable]
Description
This command is used to enable or disable the DHCP local relay function for a
specified VLAN. When DHCP local relay is enabled for the VLAN, the DHCP
packet will be relayed as a broadcast without changing the source MAC address
and gateway address. DHCP option 82 will be automatically added.
Parameters
vlan
- 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-level users can issue this command.
Example usage:
To enable DHCP local relay for a default VLAN:
DGS-3700-12:5#config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DGS-3700-12:5#
enable dhcp_local_relay
Purpose
To enable DHCP local relay.
Syntax
enable dhcp_local_relay
Description
This command is used to enable the DHCP local relay function on the switch.
Parameters
None.