xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
DGS-3612G:4#config dhcp_relay option_82 check enable
Command: config dhcp_relay option_82 check enable
Success.
DGS-3612G:4#
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 users can issue this command.
Example usage:
To configure DHCP relay option 82 policy:
DGS-3612G:4#config dhcp_relay option_82 policy replace
Command: config dhcp_relay option_82 policy replace
Success.
DGS-3612G:4#
show dhcp_relay
Purpose
Used to display the current DHCP/BOOTP relay configuration.
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.
Syntax
Example usage:
To show the DHCP relay configuration:
155