You can configure port queuing on the SAR scheduler, enabling per-packet rather than per-circuit scheduling. Port queuing mode allows you to use more of the facilities of the HRR scheduler, which are effectively disabled in default integrated mode, while at the same time making the SAR scheduler more transparent. In port queuing mode, you use the QoS application to configure the three levels of the HRR scheduler, including weighted round robin, traffic shaping, and strict priority scheduling.
You can configure the following modes:
The E Series router enables you to shape ATM traffic based on either frames or cells. The default frame shaping mode provides compatibility with previous versions of the E Series software. When you use cell shaping mode to configure the shaping or policing rate, the resulting traffic stream conforms exactly to the policing rates configured in downstream ATM switches. Using cell shaping also reduces the number of packet drops in the ATM network.
ATM policing is sensitive to cell delay variation tolerance (CDVT). If the cells on a particular VC or VP arrive too closely spaced, an ATM switch might drop cells. However, the cell scheduler reduces CDVT by ensuring cell spacing. The router enables you to use techniques such as WRR on the HRR scheduler to achieve the proper packet scheduling. You use the SAR scheduler in series with the HRR scheduler to even out cell bursts into smoother per-VC and per-VP traffic profiles that bound CDVT. You accomplish this by using the qos-shaping-mode cell command to configure the QoS shaping mode, and the qos-mode-port low-cdv command to configure the port queuing mode.
The QoS shaping mode also determines how QoS statistics are reported. Frame shaping reports QoS statistics such as transmitted bytes and dropped bytes based on bytes within frames. Cell shaping reports the statistics in bytes within cells and also accounts for cell encapsulation and padding overhead.
The ERX7xx models, ERX14xx models, and the ERX310 router use an operational shaping mode that is based on the following two commands:
The router uses the following rules to determine the operational shaping mode used for a port:
Table 1 lists the possible combinations of the two commands and the resultant operational shaping mode.
Table 1: Operational Shaping Modes for ERX7xx Models, ERX14xx Models, and the ERX310 Router
Rule | qos-shaping-mode | qos-shaping-mode | qos-mode-port | Operational Shaping Mode for the Specific Port |
|---|---|---|---|---|
Rule 1 | Cell | Cell | low-cdv | Cell |
Frame | Frame | low-latency or none | Frame | |
Rule 2 | No shaping mode | Cell | low-cdv | Cell |
No shaping mode | Frame | low-latency or none | Frame | |
Rule 3 | No shaping mode | No shaping mode | low-cdv | Cell |
No shaping mode | No shaping mode | low-latency or none | Frame |
The E120 router and the E320 router use an operational shaping mode that is based on the following two commands:
The E120 and E320 routers use the following rules to determine the operational shaping mode used for a port:
Table 2 lists the possible combinations of the two commands and the resultant operational shaping mode.
Table 2: Operational Shaping Modes for the E120 Router and E320 Router
Rule | qos-shaping-mode | qos-mode-port | qos-shaping-mode | qos-mode-port | Operational Shaping Mode for Specific Port |
|---|---|---|---|---|---|
Rule 1 | Cell | low-cdv | Any | Any | Cell |
Frame | low-latency or none | Any | Any | Frame | |
Rule 2 | No shaping mode | low-cdv | Any | Any | Cell |
Rule 3 | No shaping mode | low-latency or none | Frame | Any | Frame |
No shaping mode | low-latency or none | Cell | Any | Cell | |
Rule 4 | No shaping mode | low-latency or none | No shaping mode | low-cdv | Cell |
No shaping mode | low-latency or none | No shaping mode | low-latency or none | Frame |