![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 232](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439232.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
232
config dhcp_relay
Purpose
Used to configure the DHCP/BOOTP relay feature of the Switch.
Syntax
config dhcp_relay {hops <value 1-16> | time <sec 0-65535>}(1)
Description
This command is used to configure the DHCP/BOOTP relay feature.
Parameters
hops <value 1-16>
−
Specifies the maximum number of relay agent hops that the DHCP
packets can cross. The Default setting is 4.
time <sec 0-65535>
−
If this time is equal to or more than the entered value, the Switch will
relay the DHCP packet. The Default setting is 0.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To config DHCP relay:
DES-3528:admin# config dhcp_relay hops 2 time 23
Command: config dhcp_relay hops 2 time 23
Success.
DES-3528:admin#
config dhcp_relay add ipif
Purpose
Used to add an IP destination address to the Switch's DHCP/BOOTP relay table.
Syntax
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Description
This command adds an IP address as a destination to forward (relay) DHCP/BOOTP relay
packets to.
Parameters
<ipif_name 12>
−
The name of the IP interface in which DHCP relay is to be enabled.
<ipaddr>
−
The DHCP server IP address.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To add an IP destination to the DHCP relay table:
DES-3528:admin# config dhcp_relay add ipif System 10.58.44.6
Command: config dhcp_relay add ipif System 10.58.44.6
Success.
DES-3528:admin#
config dhcp_relay delete ipif
Purpose
Used to delete one or all IP destination addresses from the Switch's DHCP/BOOTP relay
table.
Syntax
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
Description
This command is used to delete an IP destination addresses in the Switch’s DHCP/BOOTP
relay table.
Parameters
<ipif_name 12>
−
The name of the IP interface that contains the IP address below.
<ipaddr>
−
The DHCP server IP address.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To delete an IP destination from the DHCP relay table: