![D-Link xStack DGS-3420 Series Reference Manual Download Page 303](http://html.mh-extra.com/html/d-link/xstack-dgs-3420-series/xstack-dgs-3420-series_reference-manual_78239303.webp)
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
298
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 Administrator, Operator and Power-User level users can issue this command.
Example
To enable the DHCP relay function on ports 1 to 3:
DGS-3420-28SC:admin#config dhcp_relay ports 1:1-1:3 state enable
Command: config dhcp_relay ports 1:1-1:3 state enable
Success.
DGS-3420-28SC:admin#
21-22
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.
Example
To display the DHCP relay state of ports 1 to 10:
Summary of Contents for xStack DGS-3420 Series
Page 1: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide I ...
Page 188: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 183 ...
Page 713: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 708 ...
Page 902: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 897 ...