This article provides information on how to configure the schedulers to prioritize specific traffic.
TCP traffic has to be prioritized.
Assume that TCP traffic has to be prioritized over other traffic. To prioritize the TCP traffic, perform the following procedure:
[edit] root@SRX# show firewall filter jtac_cos { term tcp_traffic { from { protocol tcp; } then { forwarding-class tcp_class; accept; } } term other_traffic { then accept; } }
[edit] root@SRX# show interfaces ge-0/0/1 unit 0 { family inet { filter { input jtac_cos; } address e.f.g.h/y; } } }
Queue Forwarding-class 0 best-effort 1 expedited-forwarding 2 assured-forwarding 3 network-control
[edit] root@SRX# show class-of-service forwarding-classes queue 2 tcp_class;
[edit] root@SRX# show class-of-service schedulers tcp_class { transmit-rate percent 25; buffer-size percent 25; priority medium-high; }
[edit] root@SRX# show class-of-service scheduler-maps test-scheduler-map { forwarding-class tcp_class scheduler tcp_class; }
[edit] root@SRX# show class-of-service interfaces ge-0/0/0 { unit 0 { scheduler-map test-scheduler-map; } }
[edit] root@SRX# show interfaces ge-0/0/0 per-unit-scheduler; unit 0 { family inet { address a.b.c.d/x; } }
root@SRX> show interfaces ge-0/0/0 extensive root@SRX> show class-of-service