![D-Link DGS-3700 Series Reference Manual Download Page 493](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575493.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 493
show dhcp_relay
Purpose
Used to display the current DHCP/BOOTP relay configuration.
Syntax
show dhcp_relay {ipif <ipif_name 12>}
Description
This command will display the current DHCP relay configuration for the Switch, or if
an IP interface name is specified, the DHCP relay configuration for that IP
interface.
Parameters
ipif
−
The name of the IP interface for which to display the current DHCP relay
configuration.
Restrictions
None.
Example usage:
To show the DHCP relay configuration:
DGS-3700-12G:5#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 : 00-21-91-AF-3C-07
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
DGS-3700-12G:5#
Example usage:
To show a single IP destination of the DHCP relay configuration:
DGS-3700-12G:5#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
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 : 00-21-91-AF-3C-07
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
DGS-3700-12G:5#
enable dhcp_relay
Purpose
Used to enable the DHCP/BOOTP relay function on the Switch.
Syntax
enable dhcp_relay