On M-series platforms, CoS actions are performed in several locations in a Juniper Networks router: the incoming I/O Manager ASIC, the Internet Processor II ASIC, and the outgoing I/O Manager ASIC. These locations are shown in Figure 2.
Figure 2: M-series Packet Forwarding Engine Components and Data Flow

The following sections describe the packet flow in more detail: