Description

AE interface apply the shaping rate behavior is described in the KB31497 [juniper.net], does the behavior is same on the SRX RETH LAG ?

Solution

Build a LAB and test the shaping-rate feature on the RETH LAG interface, the shaping-rate bandwidth will not be divided by the number of RETH LAG interface.

 

root@test# run show version 

node0:

--------------------------------------------------------------------------

Hostname: test

Model: srx4100

Junos: 22.1R3.9

 

set chassis cluster reth-count 10

set chassis cluster redundancy-group 0 node 0 priority 200

set chassis cluster redundancy-group 0 node 1 priority 100

set chassis cluster redundancy-group 1 node 0 priority 200

set chassis cluster redundancy-group 1 node 1 priority 100

set security policies default-policy permit-all

set security zones security-zone trust interfaces reth0.0 host-inbound-traffic system-services all

set security zones security-zone trust interfaces reth0.0 host-inbound-traffic protocols all

set security zones security-zone untrust interfaces reth1.0 host-inbound-traffic system-services all

set security zones security-zone untrust interfaces reth1.0 host-inbound-traffic protocols all

set interfaces xe-0/0/0 gigether-options redundant-parent reth0

set interfaces xe-0/0/1 gigether-options redundant-parent reth1

set interfaces xe-0/0/2 gigether-options redundant-parent reth1

set interfaces xe-7/0/0 gigether-options redundant-parent reth0

set interfaces xe-7/0/1 gigether-options redundant-parent reth1

set interfaces xe-7/0/2 gigether-options redundant-parent reth1

set interfaces reth0 redundant-ether-options redundancy-group 1

set interfaces reth0 unit 0 family inet address 192.168.1.1/24

set interfaces reth1 per-unit-scheduler

set interfaces reth1 redundant-ether-options redundancy-group 1

set interfaces reth1 redundant-ether-options minimum-links 1

set interfaces reth1 redundant-ether-options lacp passive

set interfaces reth1 redundant-ether-options lacp periodic slow

set interfaces reth1 unit 0 family inet filter output test

set interfaces reth1 unit 0 family inet address 172.16.1.1/24

set class-of-service forwarding-classes queue 0 best-effort

set class-of-service forwarding-classes queue 4 test_1m

set class-of-service interfaces reth1 unit 0 scheduler-map cos-map

set class-of-service interfaces reth1 unit 0 shaping-rate 2g

set class-of-service scheduler-maps cos-map forwarding-class best-effort scheduler be-scheduler

set class-of-service scheduler-maps cos-map forwarding-class test_10m scheduler band_1m

set class-of-service schedulers band_1m shaping-rate 1m

set class-of-service schedulers band_1m priority high

set class-of-service schedulers be-scheduler transmit-rate remainder

set class-of-service schedulers be-scheduler buffer-size remainder

set class-of-service schedulers be-scheduler priority high

set firewall family inet filter test term 1 from source-address 192.168.1.2/32

set firewall family inet filter test term 1 from destination-address 172.16.1.2/32

set firewall family inet filter test term 1 then forwarding-class test_1m

set firewall family inet filter test term 1 then accept

set firewall family inet filter test term default then forwarding-class best-effort

set firewall family inet filter test term default then accept

 

Modification History

2024-08-29 : Article Created

Related Information

KB31497 [juniper.net]:
https://supportportal.juniper.net/s/article/SRX-Traffic-shaping-behavior-on-one-single-SRX-output-aggregated-interface