[Contents][Prev][Next][Index][Report an Error]

rule

Syntax

rule rule-name {
match-direction (input | output | input-output);
term term-name {
from {
applications [ application-names ];
application-sets [ set-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 | 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]

Release Information

Statement introduced in JUNOS Release 8.1.

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.

Usage Guidelines

See Configuring Class-of-Service Rule Content.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.


[Contents][Prev][Next][Index][Report an Error]