xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
176
20
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 [System] <ipaddr>
config dhcp_relay delete ipif [System] <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 <string 32> ]
show dhcp_relay {ipif [System]}
enable dhcp_relay
disable dhcp_relay
Each command is listed in detail in the following sections:
config dhcp_relay
Purpose
Used to configure the DHCP/BOOTP relay feature of the switch.
Syntax
config dhcp_relay {hops <value 1-16> | time <sec 0-65535>} (1)
Description
This command is used to configure the DHCP/BOOTP relay feature.
Parameters
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 not
relay the DHCP packet.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To config DHCP relay:
DES-3200-28:4#config dhcp_relay hops 2 time 23
Command: config dhcp_relay hops 2 time 23
Success.
DES-3200-28:4#