Dhcp Relay Command List; Config Dhcp_Relay - D-Link DGS-3200 SERIES Cli Manual

Layer 2 gigabit ethernet managed switch
Hide thumbs Also See for DGS-3200 SERIES:
Table of Contents

Advertisement

44 DHCP Relay Command List

config dhcp_relay { hops <value 1-16> | time <sec 0-65535>}
config dhcp _relay [add|delete] ipif <ipif_name 12> <ipaddr>
config dhcp_relay option_82 { state [enable|disable] | check [enable|disable] | policy
[replace|drop|keep] }
enable dhcp _relay
disable dhcp _relay
show dhcp _relay {ipif <ipif_name 12>}
Note: 1. The DHCP relay commands include all the commands defined in the BOOTP relay command section; If this
DHCP relay command set is supported in your system, the BOOTP relay commands can be ignored.
2. The system supporting DHCP relay will accept BOOTP relay commands in the config file but not allow input
from the console screen, and these BOOTP relay commands setting from the config file will be saved as DHCP
relay commands while the save command is performed.

44-1 config dhcp_relay

Purpose
Used to configure the DHCP relay feature of the switch.
Format
config dhcp_relay { hops <value 1-16> | time <sec 0-65535>}
Description
The config dhcp_relay command configures the DHCP relay feature of the switch.
Parameters
Parameters
hops
time
Restrictions
You must have administrator privileges.
Examples
To configure DHCP relay status.
DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
Description
Specifies the maximum number of router hops that the DHCP/BOOTP
packets can cross. The range is 1 to 16. The default value is 4.
The minimum time in seconds within which the switch must relay the
DHCP/BOOTP request. If this time is exceeded, the switch will drop the
DHCP/BOOTP packet.The range is 0 to 65535. The default value is 0.
391

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents