xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
245
Example
To disable the DHCP relay function:
DGS-3420-28SC:admin#disable dhcp_relay
Command: disable dhcp_relay
Success.
DGS-3420-28SC:admin#
21-18 show dhcp_relay
Description
This command is used to display the current DHCP relay configuration.
Format
show dhcp_relay {ipif <ipif_name 12>}
Parameters
ipif – (Optional) Specify the IP interface name.
<ipif_name 12> - Specify the IP interface name. The IP interface name can be up to 12
characters long.
Note: If no parameter is specified, the system will display all DHCP relay configurations.
Restrictions
None.
Example
To display the DHCP relay status:
DGS-3420-28SC:admin#show dhcp_relay
Command: show dhcp_relay
DHCP/BOOTP Relay Status : Disabled
DHCP/BOOTP Hops Count Limit : 4
DHCP/BOOTP Relay Time Threshold : 0
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
DHCP Relay Agent Information Option 82 Remote ID : D-Link Switch
Interface Server 1 Server 2 Server 3 Server 4
------------- --------------- ---------------- --------------- --------------