Dhcp Local Relay Commands - D-Link DES-1228/ME Reference Manual

Layer 2 managed ethernet switch
Hide thumbs Also See for DES-1228/ME:
Table of Contents

Advertisement

The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
config dhcp_local _relay
config dhcp_local_relay
option_82 ports
config dhcp_local_relay
option_82 remote_id
enable dhcp_local _relay
disable dhcp _local_relay
show dhcp _local_relay
show dhcp_local_relay
option_82 ports
Each command is listed, in detail, in the following sections.
config dhcp_local_relay vlan
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To enable DHCP local relay for the default VLAN:
DES-1228/ME:5#config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DES-1228/ME:5#
DES-1228/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters
vlan[<vlan_name 32> | vlanid <vidlist> ] state [enable |
disable]
<portlist> policy [replace | drop | keep]
[default | user_define <string 32>]
{ <portlist> }
Used to enable or disable the DHCP local relay function for a specified
VLAN.
config dhcp_local_relay vlan [<vlan_name 32> | vlanid <vidlist>] state
[enable | disable]
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.
<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, Operator level or Power User level users can
issue this command.
DHCP L
OCAL
292
34
R
C
ELAY
OMMANDS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents