Chapter 25 Dhcp Relay Command List - D-Link xStack Reference Manual

Dgs-3120 series layer 3 managed gigabit switch
Hide thumbs Also See for xStack:
Table of Contents

Advertisement

®
xStack
DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide

Chapter 25 DHCP Relay Command List

config dhcp_relay {hops <int 1-16> | time <sec 0-65535>}
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
config dhcp_relay add vlanid <vlan_id_list> <ipaddr>
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
config dhcp_relay delete vlanid <vlan_id_list> <ipaddr>
enable dhcp_relay
disable dhcp_relay
show dhcp_relay {ipif <ipif_name 12>}
config dhcp_relay option_60 state [enable | disable]
config dhcp_relay option_60 add string <multiword 255> relay <ipaddr> [exact-match | partial-
match]
config dhcp_relay option_60 default [relay <ipaddr> | mode [drop | relay]]
config dhcp_relay option_60 delete [string <multiword 255> {relay <ipaddr>} | ipaddress
<ipaddr> | all | default {<ipaddr>}]
show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]}
config dhcp_relay option_61 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]
show dhcp_relay option_61
config dhcp_relay option_82 check [enable | disable]
config dhcp_relay option_82 circuit_id [default | user_define <desc 32> | vendor1 | vendor2 |
vendor4]
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]
25-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>}
Parameters
hops - (Optional) Specify 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.
<int 1-16> - Enter the maximum number of relay hops here. This value must be between 1
and 16.
time - (Optional) The time 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.
<sec 0-65535> - Enter the relay time here. This value must be between 0 and 65535 seconds.
292

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the xStack and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Xstack dgs-3120-24tc

Table of Contents