xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
154
DGS-3450:admin#show dhcp_relay ipif System
Command: show dhcp_relay ipif System
DHCP/BOOTP Relay Status : Disabled
DHCP/BOOTP Hops Count Limit : 4
DHCP/BOOTP Relay Time Threshold : 0 second(s)
DHCP Vendor Class Identifier Option 60 State: Disabled
DHCP Client Identifier Option 61 State: Disabled
DHCP Relay Agent Information Option 82 State : Disabled
DHCP Relay Agent Information Option 82 Check : Disabled
DHCP Relay Agent Information Option 82 Policy : Replace
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
System 10.48.74.122 10.23.12.34 10.12.34.12 10.48.75.121
DGS-3450:admin#
config dhcp_relay option_60 state
Purpose
Used to config dhcp_relay opton_60 state.
Syntax
config dhcp_relay option_60 state [enable | disable]
Description
This decides whether dhcp_relay will process the DHCP option 60 or not.
When option_60 is enabled, if the packet does not have option 60, then the relay servers
cannot be determined based on option 60. The relay servers will be determined based on
either option 61 or per IPIF configured servers.
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
- Enables the fuction dhcp_relay use option_60 rules to relay dhcp packet.
disable
- Disables the fuction dhcp_relay use option_60 rules 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 60:
DGS-3450:admin# config dhcp_relay option_60 state enable
Command: config dhcp_relay option_60 state enable
Success
DGS-3450:admin#
config dhcp_relay option_60 add
Purpose
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 string can be specified
with the same relay server, and the same string can be specified with multiple relay servers.