D-Link xStack DGS-3120 Series Cli Reference Manual page 301

Dgs-3120 series layer 3 managed gigabit ethernet switch
Hide thumbs Also See for xStack DGS-3120 Series:
Table of Contents

Advertisement

®
xStack
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
25-3
config dhcp_relay add vlanid
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 Administrator, Operator and Power-User level users can issue this command.
Example
To add a DHCP/BOOTP server 10.90.90.1 to VLAN 1 to 10:
DGS-3120-24TC:admin#config dhcp_relay add vlanid 1-10 10.90.90.1
Command: config dhcp_relay add vlanid 1-10 10.90.90.1
Success.
DGS-3120-24TC:admin#
25-4
config dhcp_relay delete
Description
This command is used to delete one of the IP destination addresses in the swith's relay table.
Format
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
Parameters
ipif - The name of the IP interface which contains the IP address below.
<ipif_name 12> - Enter the IP interface name used here. This name can be up to 12
characters long.
<ipaddr> - The DHCP/BOOTP server IP address.
296

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120-24pcXstack dgs-3120-48pc

Table of Contents