DES-1228/ME Metro Ethernet Managed Switch CLI Reference Guide
293
config dhcp_local_relay option_82 ports
Purpose
Used to configure the processing of DHCP option 82 for the DHCP Local
Relay function.
Syntax
config dhcp_local_relay option_82 ports <portlist> policy [replace | drop |
keep]
Description
This command is used to specify the way to process the packets which
come from the client side and have the option 82 field.
No matter what policy is configured, the switch should insert an option 82
field into the packet if it does not have any option 82 field inside.
Parameters
<portlist>
−
Specifies the list of ports to be configured.
policy – Specifies the way to process the packet come from the client
side which has the option 82 field.
replace – Replace the existing option 82 field in the packet.
drop – Discard if the packet has the option 82 field.
keep – Retain the existing option 82 field in the packet.
The default setting is keep.
Restrictions
Only Administrator level, Operator level or Power User level users can
issue this command.
Example usage:
To configure the DHCP local relay policy of port 1 as ‘replace’:
D E S - 1 2 2 8 / M E : 5 # c o n f i g d h c p _ l o c a l _ r e l a y o p t i o n _ 8 2 p o r t s 1 p o l i c y r e p l a c e
C o m m a n d : c o n f i g d h c p _ l o c a l _ r e l a y o p t i o n _ 8 2 p o r t s 1 p o l i c y r e p l a c e
S u c c e s s .
DES-1228/ME:5#
config dhcp_local_relay option_82 remote_id
Purpose
Used to configure the option 82 Remote ID suboption of DHCP Local
Relay function.
Syntax
config dhcp_local_relay option_82 remote_id [default | user_define
<string 32>]
Description
This command is used to specify the content in option 82 Remote ID
suboption.
Parameters
remote_id – Specifies the content in the remote_id sub-option.
Restrictions
Only Administrator level, Operator level or Power User level users can
issue this command.
Example usage:
To configure the Remote ID of the switch as ‘access1’:
D E S - 1 2 2 8 / M E : 5 # c o n f i g d h c p _ l o c a l _ r e l a y o p t i o n _ 8 2 r e m o t e _ i d u s e r _ d e f i n e
a c c e s s 1
C o m m a n d : c o n f i g d h c p _ l o c a l _ r e l a y o p t i o n _ 8 2 r e m o t e _ i d u s e r _ d e f i n e
a c c e s s 1
S u c c e s s .
DES-1228/ME:5#