DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
273
Example
To configure the DHCP relay hops and time parameters:
DWS-3160-24PC:admin# config dhcp_relay hops 4 time 2
Command: config dhcp_relay hops 4 time 2
Success.
DWS-3160-24PC:admin#
24-2
config dhcp_relay add
Description
This command is use to add an IP destination address to the Switch’s DHCP relay table. Used to
configure a DHCP server for relay of packets.
Format
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Parameters
ipif_name
- The name of the IP interface which contains the IP address below.
<ipif_name 12>
- Enter the IP interface name used here. This name can be up to 12
characters long.
<ipaddr>
- The DHCP/BOOTP server IP address.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add a DHCP/BOOTP server to the relay table:
DWS-3160-24PC:admin# config dhcp_relay add ipif System 10.43.21.12
Command: config dhcp_relay add ipif System 10.43.21.12
Success.
DWS-3160-24PC:admin#
24-3
config dhcp_relay delete
Description
This command is used to delete one of the IP destination addresses in the Switch’s relay table.
Format
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>