D-Link xStack DGS-3420 Series Reference Manual page 303

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
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:
298

Advertisement

Table of Contents
loading

Table of Contents