xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
153
enable dhcp_relay
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the DHCP relay function:
DGS-3450:admin# enable dhcp_relay
Command: enable dhcp_relay
Success.
DGS-3450:admin#
disable dhcp_relay
Purpose
Used to disable DHCP relay function on the switch.
Syntax
disable dhcp_relay
Description
The disable dhcp_relay command disables the DHCP relay function on the switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the DHCP relay function:
DGS-3450:admin# disable dhcp_relay
Command: disable dhcp_relay
Success.
DGS-3450:admin#
show dhcp_relay
Purpose
Used to display the current DHCP relay configuration.
Syntax
show dhcp_relay {ipif <ipif_name 12>}
Description
The show dhcp_relay command displays the current DHCP relay configuration.
Parameters
ipif
- IP interface name.
If no parameter specified, the system will display all dhcp relay configuration.
Restrictions
None.
Example usage:
To display dhcp relay status: