xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
261
22-19 create dhcp class
Description
This command is used to create a DHCP class. Administrators can create a DHCP class with a
name that is a symbolic string, like "class1”.
Format
create dhcp class <class_name 12>
Parameters
<class_name 12> - Enter the DHCP class’s name used here. This name can be up to 12
characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a DHCP class:
DGS-3420-28SC:admin#create dhcp class class2
Command: create dhcp class class2
Success.
DGS-3420-28SC:admin#
22-20 config dhcp class
Description
This command is used to add or delete an option to or from DHCP server class. The user can use
the string or hex parameters to add a value for the option. The value of DHCP client packet’s
option needs exactly match it. The user can use a wildcard character “*” to use a partial match for
the specified string.
Format
config dhcp class <class_name 12> [add option <int> [string <multiword 255> | hex <string
255>] | delete option <int>]
Parameters
class - Specifies the DHCP class name used.
<class_name 12> - Enter the DHCP class name used here. This name can be up to 12
characters long.
add - Specifies to add an option to the DHCP server class.
option - Specifies the Option index that will be added.
<int> - Enter the Option index value used here.