set policy rule admin-profile (7100-Series)

Use this command to assign incoming untagged frames to a specific policy profile and to VLAN or Class-of-Service classification rules.

Syntax

set policy rule admin-profile {macsource | port} data [mask mask] port-string port-string [storage-type {non-volatile | volatile}] [admin-pid admin-pid]

Parameters

macsource Classifies based on MAC source address.
port Classifies based on port-string.
data (Not required for ipfrag classification.) Specifies the code for a predefined classifier. This value is dependent on the classification type entered. Refer to Valid Values for Policy Classification Rules for valid values for each classification type.
mask mask (Optional) Specifies the number of significant bits to match, dependent on the data value entered. Refer to Valid Values for Policy Classification Rules for valid values for each classification type and data value.
port-string port-string (Optional) The rule is applied to the specified ingress port. If the port parameter is specified, the specified port strings must be the same.
storage-type non-volatile | volatile (Optional) Adds or removes this entry from non-volatile storage.
admin-pid admin-pid (Optional) If admin-profile is specified, associates this rule with a policy profile index ID. Valid values are 1 - 1023 on the S- and K-Series and 1 - 63 on the 7100-Series.

Defaults

  • If mask is not specified, all data bits will be considered relevant.
  • If port-string is not specified, rule will be scoped to all ports.
  • If drop or forward is not specified, the rule does not apply these behaviors.

Mode

All command modes.

Usage

Classification rules are automatically enabled when created.

Examples

This example shows how to configure classification rule 2 as an administrative profile and assign it to ingress port ge.1.1:

System(rw)->set policy rule admin-profile port ge.1.1 port-string ge.1.1 admin-pid 2

Valid Values for Policy Classification Rules provides the set policy rule data values that can be entered for a particular classification type, and the mask bits that can be entered for each classifier associated with that parameter.