Dhcp Relay Commands - D-Link DXS-3600 Series Cli Reference Manual

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide

21. DHCP Relay Commands

21-1 ip dhcp pool (DHCP Relay)
This command is used to configure a DHCP relay pool on a DHCP relay agent and enter the DHCP pool
configuration mode. Use the no form of this command to delete a DHCP relay pool
ip dhcp pool NAME
no ip dhcp pool NAME
Parameters
NAME
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
In addition to DHCP relay packets, based on the ip helper-address command, the relay destination of
the DHCP server can be specified in the DHCP relay pool. To do this, use the ip dhcp pool command to
enter the DHCP pool configuration, use the relay source command to specify the source subnet of the
client requests, and use the relay destination command to specify the relay destination server address.
When receiving a DHCP request packet, if the subnet that the packet comes from matches the relay
source of a relay pool, the packet will be relayed based on the matched relay pool. Otherwise, the packet
is relayed based on the IP helper-address configured on the received interface. To relay based on the
relay pool, if the request packet is a relayed packet, the Gateway IP Address (GIADDR) of the packet is
the source of the request. If the GIADDR is zero, the subnet of the received interface is the source of the
packet.
In a DHCP relay pool, the user can further use the class command and the relay target command to
define the relay target address for the request packets that match the option pattern.
Example
This example shows how a DHCP relay pool, called pool1, is created. In the relay pool, the subnet
172.19.18.0/255.255.255.0 is specified as the source subnet. 10.2.1.1 is specified as the relay destination
address.
Switch# configure terminal
Switch(config)# ip dhcp pool pool1
Switch(config-dhcp-pool)# relay source 172.19.18.0 255.255.255.0
Switch(config-dhcp-pool)# relay destination 10.2.1.1
Switch(config-dhcp-pool)#
21-2 ip dhcp relay information check
Specify the address pool name with a maximum of 32 characters.
322

Advertisement

Table of Contents
loading

Table of Contents