xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
231
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>}(1)
config dhcp_relay add ipif
<ipif_name 12> <ipaddr>
config dhcp_relay delete ipif
<ipif_name 12> <ipaddr>
config dhcp_relay option_82 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>]
show dhcp_relay
{ipif <ipif_name 12>}
enable dhcp_relay
disable dhcp_relay
config dhcp_relay option_60 state
[enable | disable]
config dhcp_relay option_60 add
string <mutiword 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 <mutiword 255> {relay <ipaddress>} | ipaddress < ipaddr > | all |
default {< ipaddr>}]
show dhcp_relay option_60
{[string <mutiword 255> | ipaddress < ipaddr> | default]}
config dhcp_relay option_61 state
[enable | disable]
config dhcp_relay option_61 default
[relay <ipaddr> | drop]
config dhcp_relay option_61 add
[mac_address <macaddr> | string <desc_long 255>] [relay <ipaddr> |
drop]
config dhcp_relay option_61 delete
[mac_address <macaddr> | string <desc_long 255> | all]
show dhcp_relay option_61
config dhcp_local_relay vlan
<vlan_name 32> state [enable | disable]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
config dhcp_relay
[add | delete] vlanid <vlan_id_list> <ipaddr>
Each command is listed in detail in the following sections.