D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
233
Chapter 21
DHCP Relay
Commands
config dhcp_relay {hops <int 1-16> | time <sec 0-65535>}(1)
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
config dhcp_relay option_60 add string <multiword 255> relay <ipaddr> [exact-match | partial-
match]
config dhcp_relay option_60 default [relay <ipaddr> | mode [relay | drop]]
config dhcp_relay option_60 delete [string <multiword 255> {relay <ipaddr>} | ipaddress
<ipaddr> | all | default {<ipaddr>}]
config dhcp_relay option_60 state [enable | disable]
config dhcp_relay option_61 add [mac_address <macaddr> | string <desc_long 255>] [relay
<ipaddr> | drop]
config dhcp_relay option_61 default [relay <ipaddr> | drop]
config dhcp_relay option_61 delete [mac_address <macaddr> | string <desc_long 255> | all]
config dhcp_relay option_61 state [enable | disable]
config dhcp_relay option_82 check [enable | disable]
config dhcp_relay option_82 policy [replace | drop | keep]
config dhcp_relay option_82 remote_id [default | user_define <desc 32>]
config dhcp_relay option_82 state [enable | disable]
enable dhcp_relay
disable dhcp_relay
show dhcp_relay {ipif <ipif_name 12>}
show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]}
show dhcp_relay option_61
Note: 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.
Note: 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.
21-1 config dhcp_relay
Description
This command is used to configure the DHCP relay feature of the switch.
Format
config dhcp_relay {hops <int 1-16> | time <sec 0-65535>}(1)