DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
157
Parameters
NAME
Specifies the DHCP class name with a maximum of 32 characters.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to enter the DHCP class configuration mode. In the mode, the user can use the
option hex
command to define the option matching pattern for the DHCP class. When a class has no
option hex associated, the class will be matched by any packet.
Example
This example shows how to a DHCP class “Service-A” is configured and defined with DHCP option 60
matching pattern 0x112233.
Switch# configure terminal
Switch(config)# ip dhcp class Service-A
Switch(config-dhcp-class)# option 60 hex 112233
Switch(config-dhcp-class)#
17-3
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
Specifies the address pool name with a maximum of 32 characters.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
In addition to DHCP relay packets, 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. To relay based on
Содержание 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 ...