xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
157
DGS-3450:admin#show dhcp_relay option_60
Command: show dhcp_relay option_60
Default Processing Mode: Drop
Default Servers:
Matching Rules:
String Match Type IP Address
------- --------- ---------
101 Partial Match 110.1.1.4
102 Partial Match 110.1.1.4
103 Partial Match 110.1.1.4
Total Entries : 3
DGS-3450:admin#
config dhcp_relay option_61 state
Purpose
This command is used to configure the DHCP Relay opton 61 state.
Syntax
config dhcp_relay option_61 state [enable | disable]
Description
This decides whether dhcp_relay will process the DHCP option 61 or not.
When option_61 is enabled, if the packet does not have option 61, then the relay servers
cannot be determined based on option 61.
If the relay servers are determined based on option 60 or option 61, then per IPIF configured
servers will be ignored.
If the relay servers are not determined either by option 60 or option 61, then per IPIF
configured servers will be used to determine the relay servers.
Parameters
state
- See below:
enable
- Enable the fuction dhcp_relay use option_61 ruler to relay dhcp packet.
disable
- Disable the fuction dhcp_relay use option_61 ruler to relay dhcp packet.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the state of dhcp_relay option 61:
DGS-3450:admin# config dhcp_relay option_61 state enable
Command: config dhcp_relay option_61 state enable
Success
DGS-3450:admin#
config dhcp_relay option_61 add
Purpose
This command is used to add a rule for DHCP Relay option 61.
Syntax
config dhcp_relay option_61 add [mac_address <macaddr> | string <mutiword 255>]
[relay <ipaddr> | drop]
Description
This command adds a rule to determine the relay server based on option 61.
The match rule can base on either MAC address or a user-specified string.