xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
237
DES-3528:admin# config dhcp_relay option_60 state enable
Command: config dhcp_relay option_60 state enable
Success.
DES-3528:admin#
config dhcp_relay option_60 add
Purpose
This command is used to add a entry for dhcp_relay option_60
Syntax
config dhcp_relay option_60 add string <mutiword 255> relay <ipaddr> [exact-match |
partial-match]
Description
This command configures the option 60 relay rules. Note that different strings can be
specified with the same relay server, and the same string can be specified with multiple relay
servers. The system will relay the packet to all the matching servers.
Parameters
exact-match
– The option 60 string in the packet must fully match the specified string.
partial-match
– The option 60 string in the packet only need partial match with the specified
string.
string
– The specified string.
ipaddress
– Specify a relay server IP address.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To configure a new dhcp relay with option 60:
DES-3528:admin# config dhcp_relay option_60 add string "abc" relay 10.90.90.1 exact-
match
Command: config dhcp_relay option_60 add string "abc" relay 10.90.90.1 exact-match
Success.
DES-3528:admin#
config dhcp_relay option_60 default
Purpose
This command is used to configure dhcp_relay option_60 default relay servers
Syntax
config dhcp_relay option_60 default [relay <ipaddr> | mode[relay | drop]]
Description
When there are no matching servers found for the DHCP client request packet based on
option 60 string, the relay servers will be determined by the default relay server settings. On
the other hand, if the drop option is specified, the packet with no matching rules found will be
dropped without further actions. If the setting states relay, then the packet will be processed
further based on option 61. The final relay servers will be the union of option 60 default relay
servers and the relay servers determined by option 61.
Parameters
ipaddress
– The specified ipaadress for dhcp_relay forward. Specifies a relay server IP for
the packet that has mathcing option 60 rules.
drop
– Specify to drop the packet that has no matching option 60 rules.
relay
– The packet will be relayed based on the relay rules.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To configure the DHCP relay default option 60:
DES-3528:admin# config dhcp_relay option_60 default mode drop
Command: config dhcp_relay option_60 default mode drop
Success.
DES-3528:admin#