D-Link DGS-510 Reference Manual page 172

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
MASK
Default
None.
Command Mode
DHCP Class Configuration Mode.
Command Default Level
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.
the bit length of the option.
(Optional) Specifies the hex bit mask for masking of the pattern. The
masked pattern bits will be matched. If not specified, all bits
specified by PATTERN will be checked. The bit set to FF will be
checked. The input format should be the same as PATTERN.
Specifies the relay destination DHCP server IP address.
169

Advertisement

Table of Contents
loading

Table of Contents