Hello Xinhui,
For me both configurations work:
user@mx> show version | match os:
Junos: 15.1F6.9
user@mx> show chassis hardware models | match "FPC 11"
FPC 11 REV 51 750-062581 CAKG8606 MPC-3D-16XGE-SFPP
user@mx> show configuration interfaces ae1 | display set
set interfaces ae1 per-unit-scheduler
set interfaces ae1 flexible-vlan-tagging
set interfaces ae1 unit 2777 vlan-id 77
set interfaces ae1 unit 2777 family inet address 10.77.1.1/24
set class-of-service scheduler-maps sm-10m forwarding-class FC_BEST_EFFORT scheduler 10m
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 2777 output-traffic-control-profile tcp-10m
set class-of-service schedulers 10m transmit-rate 1m
set class-of-service schedulers 10m transmit-rate rate-limit
user@mx> show interfaces queue ae1.2777
Logical interface ae1.2777 (Index 358) (SNMP ifIndex 785)
Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.77 ] Encapsulation: ENET2
Statistics Packets pps Bytes bps
Bundle:
Input : 19546810 74996 9343374762 286787952
Output: 17700137 237 8531465162 917720
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Forwarding classes: 16 supported, 6 in use
Egress queues: 8 supported, 6 in use
Burst size: 0
Queue: 0, Forwarding classes: FC_BEST_EFFORT
Queued:
Packets : 17700141 239 pps
Bytes : 9274873430 1003904 bps
Transmitted:
Packets : 17700141 239 pps
Bytes : 9274873430 1003904 bps
Tail-dropped packets : 0 0 pps
RL-dropped packets : 1899065 74761 pps
RL-dropped bytes : 957128760 301436928 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
And
set class-of-service scheduler-maps sm-10m forwarding-class FC_BEST_EFFORT scheduler 10m
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 2777 output-traffic-control-profile tcp-10m
set class-of-service schedulers 10m shaping-rate 1m
user@mx> show interfaces queue ae1.2777
Logical interface ae1.2777 (Index 358) (SNMP ifIndex 785)
Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.77 ] Encapsulation: ENET2
Statistics Packets pps Bytes bps
Bundle:
Input : 36796810 74998 17588874762 286795744
Output: 21106820 237 10173486368 917720
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Forwarding classes: 16 supported, 6 in use
Egress queues: 8 supported, 6 in use
Burst size: 0
Queue: 0, Forwarding classes: FC_BEST_EFFORT
Queued:
Packets : 22370128 75001 pps
Bytes : 11721946618 314406144 bps
Transmitted:
Packets : 21106826 238 pps
Bytes : 11059976370 997632 bps
Tail-dropped packets : 991 0 pps
RL-dropped packets : 0 0 pps
RL-dropped bytes : 0 0 bps
RED-dropped packets : 1262311 74763 pps
Low : 1262311 74763 pps
Medium-low : 0 0 pps
Medium-high : 0 0 pps
High : 0 0 pps
RED-dropped bytes : 661450964 313408512 bps
Low : 661450964 313408512 bps
Medium-low : 0 0 bps
Medium-high : 0 0 bps
High : 0 0 bps
Can you please provide the following outputs:
user@mx> show class-of-service scheduler-hierarchy interface ae1.2777
Interface/ Shaping Guarnteed Guaranteed/ Queue Excess
Resource name rate rate Excess weight weight
kbits kbits priority high/low
xe-11/0/0.2777 10000 10000 62 62
FC_BEST_EFFORT 1000 1000 Low Low 125
user@mx> show class-of-service scheduler-map sm-10m
Scheduler map: sm-10m, Index: 41643
Scheduler: 10m, Forwarding class: FC_BEST_EFFORT, Index: 49773
Transmit rate: unspecified, Rate Limit: none, Buffer size: remainder, Buffer Limit: none, Priority: low
Excess Priority: unspecified
Shaping rate: 1000000 bps
Drop profiles:
Loss priority Protocol Index Name
Low any 1 <default-drop-profile>
Medium low any 1 <default-drop-profile>
Medium high any 1 <default-drop-profile>
High any 1 <default-drop-profile>
Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved
-------------------------------------------------------------------