dhcp-class (dhcpv4-server-policy-config)

Creates a DHCP server class and enters its configuration mode. Use this command to configure or modify user class option values. Once defined, the controller‘s internal DHCP server uses the configured values to group wireless clients into DHCP classes, such that each user class consists of wireless clients sharing the same set of user class values.

A controller, service platform, or access point‘s local DHCP server assigns IP addresses to requesting DHCP clients based on user class option names. The DHCP server can assign IP addresses from as many IP address ranges as defined by an administrator. The DHCP user class associates a particular range of IP addresses to a device in such a way that all devices of that type are assigned IP addresses from the defined range.

A DHCP user class applies different DHCP settings to a set of wireless clients. Wireless clients using the same DHCP settings are grouped under one DHCP class. Grouping users into classes facilitates the provision of differentiated service.

Supported in the following platforms:

Syntax

dhcp-class <DHCP-CLASS-NAME>

Parameters

dhcp-class <DHCP-CLASS-NAME>

<DHCP-CLASS-NAME>

Creates a DHCP user class

  • <DHCP-CLASS-NAME> – Specify a name that appropriately identifies this class of wireless clients. If a class with the specified name does not exist, it is created. The class name should not exceed 32 characters in length.

Examples

Use the dhcp-class command to configure a DHCP user class.

nx9500-6C8809(config-dhcp-policy-test)#dhcp-class dhcpclass1
nx9500-6C8809(config-dhcp-policy-test-class-dhcpclass1)#?
DHCP class Mode commands:
  multiple-user-class  Enable multiple user class option
  no                   Negate a command or set its defaults
  option               Configure DHCP Server options

  clrscr               Clears the display screen
  commit               Commit all changes made in this session
  do                   Run commands from Exec mode
  end                  End current mode and change to EXEC mode
  exit                 End current mode and down to previous mode
  help                 Description of the interactive help system
  revert               Revert changes
  service              Service Commands
  show                 Show running system information
  write                Write running configuration to memory or terminal

nx9500-6C8809(config-dhcp-policy-test-class-dhcpclass1)#
The following table summarizes the DHCP user class configuration commands:
Table 1. DHCP-User-Class Config Mode Commands
Command Description
multiple-user-class (dhcpv4-class-config) Enables or disables multiple user class option for this DHCP user class policy
option (dhcpv4-class-config) Configures DHCP user class options for this DHCP user class policy
no (dhcpv4-class-config) Removes this DHCL class settings
no (dhcpv4-server-policy-config) Removes this DHCP class from the DHCP server policy