DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
220
DGS-3000-26TC:admin#config dhcp_relay add ipif System 10.43.21.12
Command: config dhcp_relay add ipif System 10.43.21.12
Success.
DGS-3000-26TC:admin#
config dhcp_relay add vlanid
20-3
Description
This command is used to add an IP address as a destination to forward (relay) DHCP/BOOTP
packets. If there is an IP interface in the VLAN and it has configured a DHCP server at the
interface level, then the configuration at the interface level has higher priority. In this case, the
DHCP server configured on the VLAN will not be used to forward the DHCP packets.
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 Administrators, Operators and Power-Users can issue this command.
Example
To add a DHCP/BOOTP server 10.43.21.12 to VLAN 1 to 10:
DGS-3000-26TC: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-3000-26TC:admin#
To display the DHCP relay status:
Содержание DGS-3000 series
Страница 1: ......