User guide
QOS Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-32
7.1.5.1.18 CLASSIFIER PROFILE SET RULE METERID
Syntax CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} METERID <meterid>
Description This command determines what happens if a rule is matched. You can configure the clas-
sifier to assign a meter Id to the packet matching a rule.
Once you have set which meter Id to assign, you need to create an association between
the classified stream and the meter instance using the TRANSPORTS SET METER
INSTANCE command.
If the meter device is not in use, this setting has no effect.
Options The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Example --> classifier profile pr1 set rule r1 meterid 1
See also CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
TRANSPORTS SET METER INSTANCE PROFILE
7.1.5.1.19 CLASSIFIER PROFILE SET RULE OFFSET
Syntax CLASSIFIER PROFILE <profilename> SET RULE <rule name> OFFSET
<offset> MASK <mask> VALUE <value>
Description This command tries to match all bytes in the packet starting at a valid offset from the
Ethernet header.
Options The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Option Description Default Value
name
An existing profile. To display profile names, use the
CLAS-
SIFIER LIST PROFILES
command.
N/A
number An existing profile. To display profile numbers, use the
CLASSIFIER LIST PROFILES command.
N/A
rule name
An existing rule. To display rule names, use the
CLASSI-
FIER PROFILE LIST RULES
command.
N/A
meterid A number that represents a meter instance. The meter
instance and profile is set on a specific transport using the
TRANSPORTS SET METER INSTANCE command.
N/A