dhcp class
Use dhcp class to create a DHCP user class and enter its view, or enter the view of an existing DHCP user class.
Use undo dhcp class to delete the specified DHCP user class.
Syntax
dhcp class class-name
undo dhcp class class-name
Default
No DHCP user classes exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
class-name: Specifies the name of a DHCP user class, a case-insensitive string of 1 to 63 characters.
Usage guidelines
In the DHCP user class view, you can use the if-match command to configure match rules to group clients to the user class.
Examples
# Create DHCP user class test and enter DHCP user class view.
<Sysname> system-view [Sysname] dhcp class test [Sysname-dhcp-class-test]
Related commands
address range
class ip-pool
class option-group
class range
dhcp policy
if-match