xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
config dhcp_relay add ipif
Purpose
Used to add an IP destination address to the switch's DHCP/BOOTP
relay table.
Syntax
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Description
This command adds an IP address as a destination to which to forward
(relay) DHCP/BOOTP relay packets.
Parameters
<ipif_name 12> -
The name of the IP interface in which DHCP relay is
to be enabled.
<ipaddr> -
The DHCP server IP address.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To add an IP destination to the DHCP relay table:
DGS-3612G:4#config dhcp_relay add ipif System 10.58.44.6
Command: config dhcp_relay add ipif System 10.58.44.6
Success.
DGS-3612G:4#
config dhcp_relay delete ipif
Purpose
Used to delete one or all IP destination addresses from the Switch's
DHCP/BOOTP relay table.
Syntax
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
Description
This command is used to delete an IP destination addresses in the
Switch’s DHCP/BOOTP relay table.
Parameters
<ipif_name 12>
The name of the IP interface that contains the IP
address below.
<ipaddr>
The DHCP server IP address.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To delete an IP destination from the DHCP relay table:
DGS-3612G:4#config dhcp_relay delete ipif System 10.58.44.6
Command: config dhcp_relay delete ipif System 10.58.44.6
Success.
DGS-3612G:4#
config dhcp_relay option_82 state
Purpose
Used to configure the state of DHCP relay agent information option 82
of the switch.
Syntax
config dhcp_relay option_82 state [enable | disable]
Description
This command is used to configure the state of DHCP relay agent
information option 82 of the switch. The relay agent will insert and
remove DHCP relay information (option 82 field) in messages between
153