DES-1228/ME Metro Ethernet Managed Switch CLI Reference Guide
189
config dhcp_relay option_82 remote id
Purpose
Used to configure the processing of the DHCP 82 remote ID option for
the DHCP relay function.
Syntax
config dhcp_relay option_82 remote_id [default | user_define <string
32>]
Description
This command is used to configure the processing of the DHCP 82
option for the DHCP relay function.
When DHCP 82 option is enabled, the DHCP packet received from the
client will be inserted with the option 82 field before being relayed to
the server. The DHCP 82 option contains 2 suboptions, which are
circuit ID suboption and remote ID suboption.
The formats for the circuit ID suboption and the remote ID suboption
are as follows. For the circuit ID suboption of a standalone switch, the
module field is always zero.
Remote ID suboption format 2 (Using user-defined string as remote
ID):
A. B. C. D. E.
2
n + 2 1
n
User-defined string
1 byte 1 byte 1 byte 1 byte 6 bytes
A. Suboption type
B. Length: the string length of the Remote ID suboption
C. Remote ID type
D. Length: the string length of a user-defined string
E. User-defined string
Parameters
None.
Restrictions
Only Administrator level, Operator level or Power User level users can
issue this command.
Example usage:
To configure DHCP relay option 82 remote id :
DES-1228/ME:5#config dhcp_relay option_82 remote_id user_define “D-Link L2
Switch”
Command: config dhcp_relay option_82 remote_id user_define "D-Link L2
Switch”
DES-1228/ME:5#
show dhcp_relay
Purpose
Used to display the current DHCP/BOOTP relay configuration.
Syntax
show dhcp_relay {ipif [System]}
Description
This command is used to display the current DHCP relay configuration
for the Switch.
Parameters
ipif System
−
The name of the IP interface for which to display the
current DHCP relay configuration.
Restrictions
None.