xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
239
Format
config dhcp_relay add vlanid <vlan_id_list> <ipaddr>
Parameters
vlanid
- Specify the VLAN ID list used for this configuration.
<vlan_id_list>
- Enter the VLAN ID list used for this configuration here.
<ipaddr>
- Enter the DHCP/BOOTP server IP address used here.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
(SI Mode Only)
Example
To add a DHCP/BOOTP server 10.43.21.12 to VLAN 1 to 10:
DGS-3120-24TC:admin# config dhcp_relay add vlanid 1-10 10.43.21.12
Command: config dhcp_relay add vlanid 1-10 10.43.21.12
Success.
DGS-3120-24TC:admin#
To display the DHCP relay status:
DGS-3120-24TC: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 : 00-80-C2-00-32-E0
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
Server VLAN ID List
--------------- -----------------------------------------------------------
10.43.21.12 1-10
DGS-3120-24TC:admin#