Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Classifying DHCP Subscribers (SRC CLI)

 

Use the following configuration statements to configure DHCP classification scripts:

A classification script can contain either a target and a condition or a script. If you do not define a script, the classifier must have both a target and a condition.

To configure DHCP classification scripts:

  1. From configuration mode, enter the DHCP classifier configuration. In this sample procedure, the classifier is configured in the east-region SAE group.

  2. Create a rule for the classifier. You can create multiple rules for the classifier.

  3. Configure either a target or a script for the rule.

    • Configure the target for the rule. If you configure a target, see Syntax for DHCP Classification Targets.

      If you configured a target for the rule, you must configure a match condition for the rule. You can create multiple conditions for the rule. See DHCP Classification Conditions.

    • Configure the script for the rule.

      (Optional) You can specify a script target.

      (Optional) You can include a script that has already been created.

      where include is a reference to an existing script that is included in the script you are configuring.

  4. (Optional) Change the order of rules.

  5. (Optional) Rename a rule.

  6. (Optional) Verify the classifier rule configuration.

  7. (Optional) Verify the DHCP classifier configuration.