xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
22-22
config dhcp_relay ports
Description
This command is used to configure the state of the DHCP relay function for each port.
Format
config dhcp_relay ports [<portlist> | all] state [enable | disable]
Parameters
<portlist> - Enter the list of ports, used for this configuration, here.
all - Specifies that all the ports will be used for this configuration.
state - Specifies the state of the DHCP relay function for each port.
enable - Specifies that the DHCP relay function, for the specified port(s), will be enabled.
disable - Specifies that the DHCP relay function, for the specified port(s), will be disabled.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To enable the DHCP relay function on ports 1 to 3:
DGS-3620-28PC:admin#config dhcp_relay ports 1:1-1:3 state enable
Command: config dhcp_relay ports 1:1-1:3 state enable
Success.
DGS-3620-28PC:admin#
22-23
show dhcp_relay ports
Description
This command is used to show the DHCP relay port configuration.
Format
show dhcp_relay ports {<portlist>}
Parameters
<portlist> - (Optional) Enter the list of ports, used for this display, here.
If no parameter is specified, information for all ports will be displayed.
Restrictions
None.
388