D-Link DGS-1510 Series Reference Manual page 167

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Level: 12.
Usage Guideline
Use the ip dhcp class command with this command to define a DHCP class. The classes in a pool
are matched in the sequence of the class configuration in a pool.
With the option hex command, the user can specify the DHCP option code number with its matching
pattern for a DHCP class. Multiple option patterns can be specified for a DHCP class. If the packet
matches any of the specified pattern of a DHCP class, the packet will be classified to the DHCP class
and forwarded based on the specified target.
The following are some common used option codes:
Option 60: vendor class identifier.
Option 61: client identifier.
Option 77: user class.
Option 124: vendor-identifying vendor class.
Option 125: vendor-identifying vendor-specific information.
Example
This example shows how to a DHCP class, "Service-A", is configured, defined with DHCP option 60
matching pattern 0x112233 and 0x102030.
Switch# configure terminal
Switch(config)# ip dhcp class Service-A
Switch(config-dhcp-class)# option 60 hex 112233
Switch(config-dhcp-class)# option 60 hex 102030
Switch(config-dhcp-class)#
17-19
relay destination
This command is used to specify the DHCP relay destination IP address associated with a relay pool.
Use the no form of this command to delete a DHCP relay destination from the DHCP relay pool.
relay destination IP-ADDRESS
no relay destination IP-ADDRESS
Parameters
IP-ADDRESS
Default
None.
Command Mode
DHCP Pool Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
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 mode and then use the relay source
command to specify the source subnet of the client requests. Use the relay destination command to
specify the relay destination server address. Multiple relay sources and multiple relay destinations can
be specified in a pool. If a packet matches anyone of the relay sources, the packet will be forwarded
to all of the relay destinations.
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 this relay pool. To relay a packet based on
Specifies the relay destination DHCP server IP address.
164

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents