xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
The DHCP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command
config dhcp_relay
config dhcp_relay add ipif
config dhcp_relay delete ipif
config dhcp_relay option_82 state
config dhcp_relay option_82 check
config dhcp_relay option_82 policy
show dhcp_relay
enable dhcp_relay
disable dhcp_relay
Each command is listed in detail in the following sections.
config dhcp_relay
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To config DHCP relay:
Used to configure the DHCP/BOOTP relay feature of the switch.
config dhcp_relay {hops <value 1-16> | time <sec 0-65535>}
This command is used to configure the DHCP/BOOTP relay feature.
hops <value 1-16> - Specifies the maximum number of relay agent hops
that the DHCP packets can cross.
time <sec 0-65535> - If this time is exceeded, the Switch will relay the
DHCP packet.
Only Administrator or Operator-level users can issue this command.
DES-3800:admin#config dhcp_relay hops 2 time
23
Command: config dhcp_relay hops 2 time 23
Success.
DES-3800:admin#
Parameters
{hops <value 1-16> | time <sec 0-65535>}
<ipif_name 12> <ipaddr>
<ipif_name 12> <ipaddr>
[enable | disable]
[enable | disable]
[replace | drop | keep]
{ipif <ipif_name 12>}
314
45
DHCP R
ELAY