xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Manual
31
2
36
DHCP LOCAL RELAY COMMANDS
The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config dhcp_local _relay vlan[<vlan_name 32> | vlanid <vidlist> ] 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
Used to ena
ble or disable the DHCP local relay function for a specified
VLAN.
Purpose
config d
hcp_local_relay vlan [<vlan_name 32> | vlanid <vidlist>] state
[enable | disable]
Syntax
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 in broadcast way without change of the
source MAC address and gateway address. DHCP option 82 will be
automatically added.
Description
Parameters
<vlan_name 32> The name of the VLAN to be enabled DHCP local
relay.
<vidlist> Specifies a range of VLAN IDs to be configured.
state Enable or disable DHCP local relay for specified vlan.
Only Administrator-level users
can issue this command.
Restrictions
Example usage:
To enable DHCP local relay for the default VLAN:
DES-3200-28:4#config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DES-3200-28:4#
enable dhcp_local_relay
Used to ena
ble the DHCP local relay function on the Switch.
Purpose
enabl
e dhcp_local_relay
Syntax
This
command is used to globally enable the DHCP local relay function
on the Switch.
Description
Non
e.
Parameters