DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
218
Chapter 20
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>
config dhcp_relay option_82
{state [enable | disable] | check [enable | disable] | policy [replace |
drop | keep] | remote_id [default | user_define <desc 32>]}
config dhcp_relay option_82 circuit_id
[default | vendor1 | vendor6]
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 [relay | drop]]
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 <multiword 255>] [relay
<ipaddr> | drop]
config dhcp_relay option_61 default
[relay <ipaddr> | drop]
config dhcp_relay option_61 delete
[mac_address <macaddr> | string <multiword 255> | all]
show dhcp_relay option_61
config dhcp_relay ports
[<portlist> | all] state [enable | disable]
show dhcp_relay ports
{<portlist>}
config dhcp_relay option_125 add enterprise_number
<int> [string <multiword 255> | hex
<string 255>] relay <ipaddr> [exact-match | partial-match]
config dhcp_relay option_125 default
[relay <ipaddr> | mode [relay | drop]]
config dhcp_relay option_125 delete
[enterprise_number <int> {[string <multiword 255> | hex
<string 255>]} {relay <ipaddr>} | [string <multiword 255> | hex <string 255>] {relay <ipaddr>} |
ipaddress <ipaddr> | all | default {<ipaddr>}]
config dhcp_relay option_125 state
[enable|disable]
show dhcp_relay option_125
{[enterprise_number <int> | [string <multiword 255> | hex <string
255>] | ipaddress <ipaddr> | default]}
config dhcp_relay
20-1
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>}
Summary of Contents for DGS-3000 series
Page 1: ......