EasyManua.ls Logo

D-Link DES-3010F - DHCP Relay Commands

D-Link DES-3010F
231 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DES-3000 Series Layer 2 Switch CLI Reference Manual
53
8
DHCP RELAY COMMANDS
The DHCP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config dhcp_relay { hops <value 1-16> | time <sec 0-65535>}
config dhcp _relay [add|delete] ipif <ipif_name 12> <ipaddr>
config dhcp_relayoption_82 { state [enable|disable] | check [enable|disable] | policy
[replace|drop|keep] }
enable dhcp _relay
disable dhcp _relay
show dhcp _relay {ipif <ipif_name 12>}
config dhcp_relay
option_60 state
[enable|disable]
configure dhcp_relay
option_60 add
string <desc 255> relay <ipaddr> [exact-match|partial-
match]
config dhcp_relay
option_60 default
[relay <ipaddr>| mode [drop|relay]]
config dhcp_relay delete
option_60
[ string <desc 255> {relay <ipaddr>}| ipaddress < ipaddr
>|all |default {< ipaddr>}]
show dhcp_relay option_60 {[string <desc 255>| ipaddress < ipaddr>|default]}
config dhcp_relay
option_61
state [enable|disable]
config dhcp_relay
option_61 add
[mac_address <macaddr> |string <desc 255>] [relay
<ipaddr>| drop]
config dhcp_relay
option_61 default
[relay <ipaddr>|drop]
config dhcp_relay
option_61 delete
[mac_address <macaddr> | string <desc 255>|all]
show dhcp_relay option_61
Each command is listed, in detail, in the following sections.
config dhcp_relay
Purpose Used to configure the DHCP relay feature of the switch.
Syntax
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 hops <value 1-16> – specifies the maximum number of relay hops
that the DHCP/BOOTP packets can cross. The range is 1 to 16. The
default value is 4. The DHCP packet will be dropped when the relay
hop count in the received packet is equal to or greater than this
setting.
time <sec 0-65535> – the secs field in the DHCP packet must be
equal to or greater than this setting to be relayed by the router. The
default value is 0.

Related product manuals