Junos
Highlighted
Junos

mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

Model: mx480
Junos: 15.1F6.9

MPC-3D-16XGE-SFPP

 

I use these below configuration limit queue 1 bandwidth no more than 1m, but failed. anyone help me figure out the problem thanks so much

 

set interfaces ae1 per-unit-scheduler
set interfaces ae1 flexible-vlan-tagging

 

set class-of-service forwarding-classes class fc_CN queue-num 1
set class-of-service forwarding-classes class fc_CN priority low
set class-of-service traffic-control-profiles tcp-10m scheduler-map sm-10m
set class-of-service traffic-control-profiles tcp-10m shaping-rate 10m
set class-of-service scheduler-maps sm-10m forwarding-class fc_CN scheduler 10m
set class-of-service schedulers 10m shaping-rate 1m
set class-of-service schedulers 10m shaping-rate burst-size 150k
set class-of-service schedulers 10m buffer-size temporal 5

set class-of-service interfaces ae1 unit 2374 output-traffic-control-profile tcp-10m

 

9 REPLIES 9
Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

Hello Xinhui,

 

I believe you should configure shaping for fc_CN in a bit different way:

delete class-of-service schedulers 10m
set class-of-service schedulers 10m transmit-rate 1m exact

Please try it and let us know the results.

 

The following article contains a very good overview of Juniper class of service:

https://www.saidvandeklundert.nl/qos.php


Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved Smiley Happy
-------------------------------------------------------------------

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

Hi xinhui,

 

output-traffic-control-profile feature is not supported on MPC-3D-16XGE-SFPP,  it requires specific HW. 

Quote:

The statement is supported on the following interfaces:

  • Enhanced Queuing DPC, MIC, and MPC interfaces on MX Series routers

 

Thanks,

Alex

 

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

I believe it's a doc error - output-traffic-control-profile is mentioned in Scaling of Per-VLAN Queuing on Non-Queuing MPCs:

"To enable logical interface scheduling, you include the per-unit-scheduler statement at the [edit interfaces interface name] hierarchy level. When per-unit schedulers are enabled, you can define dedicated schedulers for logical interfaces by including the scheduler-map statement at the [edit class-of-service interfaces interface name unit logical unit number] hierarchy level. Alternatively, you can include the scheduler-map statement at the [edit class-of-service traffic-control-profiles traffic control profile name] hierarchy level and then include the output-traffic-control-profile statement at the [edit class-of-service interfaces interface name unit logical unit number] hierarchy level."


Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved Smiley Happy
-------------------------------------------------------------------

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

Hi, I enable it, but it doesn't work. any ideas?

set interfaces ae1 per-unit-scheduler

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday
Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

Hi Xinhui,

 

Can you please try the following configuration and let us know if bandwidth for fc_CN is limited to 1m or not:

set interfaces ae1 per-unit-scheduler
set interfaces ae1 flexible-vlan-tagging

set class-of-service forwarding-classes class fc_CN queue-num 1
set class-of-service forwarding-classes class fc_CN priority low
set class-of-service traffic-control-profiles tcp-10m scheduler-map sm-10m
set class-of-service traffic-control-profiles tcp-10m shaping-rate 10m
set class-of-service scheduler-maps sm-10m forwarding-class fc_CN scheduler 10m
set class-of-service schedulers 10m transmit-rate 1m exact

set class-of-service interfaces ae1 unit 2374 output-traffic-control-profile tcp-10m


Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved Smiley Happy
-------------------------------------------------------------------

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

I use these configurations, use iperf testing unfortunately, it does not work. queue 1 bandwidth more than 10m.

 

iperf testing result below

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-100.00 sec 179 MBytes 15.0 Mbits/sec 0.081 ms 0/22866 (0%)
[ 4] Sent 22866 datagrams

 

 

# run show configuration class-of-service
forwarding-classes {
class fc_CN queue-num 1 priority low;
}
traffic-control-profiles {
tcp-10m {
scheduler-map sm-10m;
shaping-rate 10m;
}
}
interfaces {
ae1 {
unit 2374 {
output-traffic-control-profile tcp-10m;
}
}
}
scheduler-maps {
sm-10m {
forwarding-class fc_CN scheduler 10m;
}
}
schedulers {
10m {
transmit-rate {
1m;
exact;
}
}
}

 

 

run show interfaces queue ae1.2374
Logical interface ae1.2374 (Index 594) (SNMP ifIndex 6618)
Description: 00-HKSRV2374
Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.2374 ] Encapsulation: ENET2
Statistics Packets pps Bytes bps
Bundle:
Input : 37766953 4 2274559423 4152
Output: 166306107 1376 231777486719 15244832
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Forwarding classes: 16 supported, 4 in use
Egress queues: 8 supported, 4 in use
Burst size: 0
Queue: 0, Forwarding classes: best-effort
Queued:
Packets : 8272530915 4516 pps
Bytes : 4033876175797 28134912 bps
Transmitted:
Packets : 8272530915 4516 pps
Bytes : 4033876175797 28134912 bps
Tail-dropped packets : 0 0 pps
RL-dropped packets : 0 0 pps
RL-dropped bytes : 0 0 bps
RED-dropped packets : 0 0 pps
Low : 0 0 pps
Medium-low : 0 0 pps
Medium-high : 0 0 pps
High : 0 0 pps
RED-dropped bytes : 0 0 bps
Low : 0 0 bps
Medium-low : 0 0 bps
Medium-high : 0 0 bps
High : 0 0 bps
Queue: 1, Forwarding classes: fc_CN
Queued:
Packets : 2790158556 3967 pps
Bytes : 1243854600894 27112704 bps
Transmitted:
Packets : 2790117466 3967 pps
Bytes : 1243811699411 27112704 bps

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

I don't see any issues with your configuration - it should work. Policer should definitely work - can you please check:

delete class-of-service schedulers 10m transmit-rate 1m exact
set class-of-service schedulers 10m transmit-rate 1m rate-limit

 

Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved Smiley Happy
-------------------------------------------------------------------

Junos

Re: mx480 MPC-3D-16XGE-SFPP per unit scheduler , queue bandwidth limit fail

Wednesday

thanks for an answer.it doesn't work either. I have not any idea, that's the problem.

 

set class-of-service forwarding-classes class fc_CN queue-num 1
set class-of-service forwarding-classes class fc_CN priority low
set class-of-service traffic-control-profiles tcp-10m scheduler-map sm-10m
set class-of-service traffic-control-profiles tcp-10m shaping-rate 10m
set class-of-service interfaces ae1 unit 2374 output-traffic-control-profile tcp-10m
set class-of-service scheduler-maps sm-10m forwarding-class fc_CN scheduler 10m
set class-of-service schedulers 10m transmit-rate 1m
set class-of-service schedulers 10m transmit-rate rate-limit

 

 

run show interfaces queue ae1.2374
Logical interface ae1.2374 (Index 594) (SNMP ifIndex 6618)
Description: 00-HKSRV2374
Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.2374 ] Encapsulation: ENET2
Statistics Packets pps Bytes bps
Bundle:
Input : 37830591 1 2282082485 1136
Output: 166817375 1375 232334458842 15242584
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Forwarding classes: 16 supported, 4 in use
Egress queues: 8 supported, 4 in use
Burst size: 0
Queue: 0, Forwarding classes: best-effort
Queued:
Packets : 8419177259 2953 pps
Bytes : 4143823689563 15752448 bps
Transmitted:
Packets : 8419177259 2953 pps
Bytes : 4143823689563 15752448 bps
Tail-dropped packets : 0 0 pps
RL-dropped packets : 0 0 pps
RL-dropped bytes : 0 0 bps
RED-dropped packets : 0 0 pps
Low : 0 0 pps
Medium-low : 0 0 pps
Medium-high : 0 0 pps
High : 0 0 pps
RED-dropped bytes : 0 0 bps
Low : 0 0 bps
Medium-low : 0 0 bps
Medium-high : 0 0 bps
High : 0 0 bps
Queue: 1, Forwarding classes: fc_CN
Queued:
Packets : 2872677444 3524 pps
Bytes : 1277347661707 24923264 bps
Transmitted:
Packets : 2872636354 3524 pps
Bytes : 1277304760224 24923264 bps