Technical Documentation



match-direction (input | output | input-output);

Hierarchy Level

[edit services cos rule rule-name]

Release Information

Statement introduced in JUNOS Release 8.1.


Specify the direction in which the rule match is applied.


input—Apply the rule match on the input side of the interface.

output—Apply the rule match on the output side of the interface.

input-output—Apply the rule match bidirectionally.

Usage Guidelines

See Configuring CoS Rules.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2010-04-28