CoS queuing, scheduling, and shaping allow you to control and improve the flow of traffic through tunnel interfaces like GRE and IP-IP interfaces. The GRE and IP-IP interfaces on a J-series router are internal, configurable interfaces named gr-0/0/0 and ip-0/0/0.
To configure CoS for a GRE or IP-IP tunnel, you must first enable tunnel queuing on the router. If tunnel queuing is not enabled, the router continues to send traffic through the tunnel but ignores any configured CoS schedulers and shapers.
![]() |
Note: You cannot enable tunnel queuing on J-series interfaces other than tunnel interfaces, although the router allows you to commit such a configuration. |
You then define the GRE or IP-IP tunnel interface and its per-unit scheduler and set a line rate for the tunnel with the CoS shaper.