rule (Services CoS)
Syntax
rule rule-name {
match-direction (input | output | input-output);
term term-name {
from {
application-sets set-name;
applications [ application-names ];
destination-address address;
destination-prefix-list list-name <except>;
source-address address;
source-prefix-list list-name <except>;
}
then {
application-profile profile-name;
dscp (alias | bits);
forwarding-class class-name;
syslog;
reflexive; | revert; | reverse {
application-profile profile-name;
dscp (alias | bits);
forwarding-class class-name;
syslog;
}
}
}
}
Hierarchy Level
[edit services cos], [edit services cos rule-set rule-set-name]
Description
Specify the rule the router uses when applying this service.
Options
rule-name—Identifier
for the collection of terms that constitute this rule.
The remaining statements are explained separately.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.1.