Hi all.
I'm trying to configure CoS feature on Junos. I've made a lab like this
SRX240-(ge-0/0/4)--------(ge-0/0/4)->EX4200
I'm using BA to classify incoming packets, with the configuration like this.
set class-of-service classifiers inet-precedence TEST_CLASS forwarding-class FC_TEST loss-priority high code-points 010
set class-of-service forwarding-classes class FC_TEST queue-num 6
set class-of-service interfaces ge-0/0/4 scheduler-map SCHED-MAP-EX
set class-of-service scheduler-maps SCHED-MAP-EX forwarding-class FC_TEST scheduler NEW_CLASS_SCHE
set class-of-service schedulers NEW_CLASS_SCHE transmit-rate percent 30
set class-of-service schedulers NEW_CLASS_SCHE buffer-size percent 50
set class-of-service schedulers NEW_CLASS_SCHE priority low
As I understand, with this configuration, every incoming packets on interface ge-0/0/4 will be classified FC_TEST (instead of best-efford forwarding-class).
But, when I ping from SRX to EX4200, and issue the command, show interface queue ge-0/0/4, there's nothing on queue 6, and queue 7 increase (that means traffic still maps queue 7 - network control).
Queue: 6, Forwarding classes: FC_TEST
Queued:
Transmitted:
Packets : 0
Bytes : 0
Tail-dropped packets : 0
Queue: 7, Forwarding classes: network-control
Queued:
Transmitted:
Packets : 4363
Bytes : 574715
Tail-dropped packets : 0
--------------still ping from SRX------------
Queue: 6, Forwarding classes: FC_TEST
Queued:
Transmitted:
Packets : 0
Bytes : 0
Tail-dropped packets : 0
Queue: 7, Forwarding classes: network-control
Queued:
Transmitted:
Packets : 4396
Bytes : 578459
Tail-dropped packets : 0
Please correct me, if my configuration is wrong.