xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
187
config dhcp_relay option_82 policy
Purpose
Used to configure the reforwarding policy of relay agent information option
82 of the Switch.
Syntax
config dhcp_relay option_82 policy [replace | drop | keep]
Description
This command is used to configure the reforwarding policy of DHCP relay
agent information option 82 of the Switch.
Parameters
replace
- The option 82 field will be replaced if the option 82 field already
exists in the packet received from the DHCP client.
drop
- The packet will be dropped if the option 82 field already exists in the
packet received from the DHCP client.
keep
- The option 82 field will be retained if the option 82 field already
exists in the packet received from the DHCP client.
Restrictions
Only administrator-level and operator-level users can issue this command.
Example usage:
To configure DHCP relay option 82 policy:
DGS-3627:5#config dhcp_relay option_82 policy replace
Command: config dhcp_relay option_82 policy replace
Success.
DGS-3627:5#
show dhcp_relay
Purpose
Used to display the current DHCP/BOOTP relay configuration.
Syntax
show dhcp_relay {ipif <ipif_name 12>}
Description
This command will display the current DHCP relay configuration for the
Switch, or if an IP interface name is specified, the DHCP relay configuration
for that IP interface.
Parameters
ipif <ipif_name 12> -
The name of the IP interface for which to display the
current DHCP relay configuration.
Restrictions None.
Example usage:
To show the DHCP relay configuration:
DGS-3627:5#show dhcp_relay
Command: show dhcp_relay
DHCP/BOOTP Relay Status : Enabled
DHCP/BOOTP Hops Count Limit : 2
DHCP/BOOTP Relay Time Threshold : 23
DHCP Relay Agent Information Option 82 State : Enabled
DHCP Relay Agent Information Option 82 Check : Enabled
DHCP Relay Agent Information Option 82 Policy : Replace
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- --------------
System 10.58.44.6