Use this command to assign incoming untagged frames to a specific policy profile and to VLAN or Class-of-Service classification rules.
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. |
All command modes.
Classification rules are automatically enabled when created.
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.