D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
192
DGS-3627:admin# config dhcp_relay hops 4 time 2
Command: config dhcp_relay hops 4 time 2
Success.
DGS-3627:admin#
config dhcp_relay add
Purpose Used to add an IP destination address to the switch’s DHCP relay table. Used to configure a
DHCP server for relay of packets.
Syntax
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Description The config dhcp_relay add command adds an IP address as a destination to forward (relay)
DHCP/BOOTP packets.
This server IP can either have the same network address as the network address of this ipif
or not. If the network address is different, the system will automatically route the relayed
packet.
Parameters
ipif - The name of the IP interface which contains the IP address below.
<ipaddr> - The DHCP/BOOTP server IP address.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To add a DHCP/BOOTP server to the relay table:
DGS-3627:admin# config dhcp_relay add ipif System 10.43.21.12
Command: config dhcp_relay add ipif System 10.43.21.12
Success.
DGS-3627:admin#
config dhcp_relay delete
Purpose Used to delete one or all IP destination addresses from the switch’s DHCP relay table.
Syntax
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
Description The config dhcp_relay delete command is used to delete one or all of the IP destination
addresses in the swith’s relay table.
Parameters
ipif - The name of the IP interface which contains the IP address below.
<ipaddr> - The DHCP/BOOTP server IP address.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a DHCP/BOOTP server to the relay table: