On J-series Services Routers and SRX-series services gateways, you configure CoS functions using different components. These components are configured individually or in a combination to define particular CoS services. Figure 83 displays the relationship of different CoS components to each other and illustrates the sequence in which they interact. JUNOS CoS Components defines the components and explains their use.
Figure 83: Packet Flow Through J-series or SRX-series Device

Each box in Figure 83 represents a CoS component. The solid lines show the direction of packet flow in a device. The upper row indicates an incoming packet, and the lower row an outgoing packet. The dotted lines show the inputs and outputs of particular CoS components. For example, the forwarding class and loss priority are outputs of behavior aggregate classifiers and multifield classifiers and inputs for rewrite markers and schedulers.
Typically, only a combination of some components shown in Figure 83 (not all) is used to define a CoS service offering. For example, if a packet's class is determined by a behavior aggregate classifier, it is associated with a forwarding class and loss priority and does not need further classification by the multifield classifier.