xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
339
Parameters
<multiword 255>
- Specify a string.
relay
- Specify a relay server IP address.
<ipaddr>
- Enter the IP address here.
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 partially match the specified string.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure DHCP Option 60 to decide to relay which DHCP server:
DGS-3620-28SC: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.
DGS-3620-28SC:admin#
22-5
config dhcp_relay option_60 default
Description
This command is used to configure DHCP relay Option 60 default relay servers. When there are
no match servers found for the packet based on Option 60, the relay servers will be determined by
the default relay server setting. When drop is specified, the packet with no matching rules found
will be dropped without further processing. If the setting is no- drop, 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.
Format
config dhcp_relay option_60 default [relay <ipaddr> | mode [relay | drop]]
Parameters
relay
- Specify a relay server IP for the packet that has matching Option 60 rules.
<ipaddr>
- Enter the server IP address here.
mode
- Specify the mode to relay or drop packets.
relay
- The packet will be relayed based on the relay rules.
drop
- Specify to drop the packet that has no matching Option 60 rules.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.