1562
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
IP
DHCP
-
RELAY
INFORMATION
POLICY
ip dhcp-relay information policy
Overview
This command sets the policy for how the DHCP relay deals with packets arriving
from the client that contain DHCP Relay Agent Option 82 information.
If the command
ip dhcp-relay agent-option
has not been configured, then this
command has no effect at all - no alteration is made to Option 82 information in
packets arriving from the client side.
However, if the command
ip dhcp-relay agent-option
has been configured, this
command modifies how the DHCP relay service deals with cases where the packet
arriving from the client side already contains DHCP Relay Agent Option 82
information.
This command sets the action that the DHCP relay should take when a received
DHCP client request contains DHCP Relay Agent Option 82 information.
By default, the DHCP Relay Agent replaces any existing DHCP Relay Agent Option
82 field with its own DHCP Relay Agent field. This is equivalent to the functionality
of the
replace
parameter.
The
no
variant of this command returns the policy to the default behavior - i.e.
replacing the existing DHCP Relay Agent Option 82 field.
For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information,
see the
DHCP Feature Overview and Configuration Guide
.
NOTE
:
The DHCP-relay service might alter the content of the DHCP Relay Agent Option
82 field, if the commands
ip dhcp-relay agent-option
and
ip dhcp-relay information
policy
have been configured.
Syntax
ip dhcp-relay information policy {append|drop|keep|replace}
no ip dhcp-relay information policy
Mode
Interface Configuration for a VLAN interface.
Parameter
Description
append
The DHCP Relay Agent appends the DHCP Relay Agent Option 82 field
of the packet with its own DHCP Relay Agent Option 82 details.
drop
The DHCP Relay Agent discards the packet.
keep
The DHCP Relay Agent forwards the packet without altering the DHCP
Relay Agent Option 82 field.
replace
The DHCP Relay Agent replaces the existing DHCP Relay Agent details
in the DHCP Relay Agent Option 82 field with its own details before
forwarding the packet.