DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
169
the bit length of the option.
MASK
(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
.
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
Specifies the relay destination DHCP server IP address.
Default
None.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...