D-Link dgs-1510-28 [168/702] Example

D-Link dgs-1510-28 [168/702] Example
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
165
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)#
16-19 relay destination
This command is used to specify the DHCP relay destination IP address associated with a relay pool. Use
the no 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.
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 the
relay pool, if the request packet is a relayed packet, the GIADDR of the packet is the source of the
request. If the request packet is not a relayed packet, the subnet of the received interface is the source of
the packet.

Содержание

Скачать