This message was posted by a user wishing to remain anonymous
This above example is working fine for ingress(upload) traffic generated from user under irb interface and that is already tested. My goal is to limit egress(download) towards user PC. I have tried by creating scheduler-map and it's working fine for physical interface but not with logical.
Original Message:
Sent: 08-16-2024 00:55
From: CHINGIZ MAMMADOV
Subject: How to configure egress bandwidth limit for a vlan interface in QFX5130
Hello,
Have you tried policer?
policer 2M {
if-exceeding {
bandwidth-limit 10m;
burst-size-limit 150k;
}
then discard;
}
If it is not working try policer with firewall filter.
https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/example/firewall-filter-ex-series-configuring.html
------------------------------
CHINGIZ MAMMADOV
Original Message:
Sent: 08-14-2024 02:35
From: Anonymous
Subject: How to configure egress bandwidth limit for a vlan interface in QFX5130
This message was posted by a user wishing to remain anonymous
I am trying to limit egress bandwidth for vlan interaface in QFX5130 switch but unfortunately unable to do that. I have successfully tested egress bandwidth limit for physical port and it's working fine but this is only happening when the scheduler is configured with "shaping-rate" instead of "transmit-rate". But with physical interface it works as expected. As per the Juniper documentation that I have found in their KB I need to apply the "scheduler-maps" to the desired interface. But when I am trying to do that for vlan interface it's not taking the irb interface e.g. irb.3050 instead it's asking for the unit number but there is no possible completions for "scheduler-map". It seems that "scheduler-map" is not supported for irb interface here.
So my question is is there any other way I can configure Bandwidth limit for vlan egress interface then please send me a sample configuration. Below are my configurations for egress bandwidth rate limiting
root@re0# show class-of-service
interfaces {
et-0/0/29:2 {
scheduler-map TEST_10M;
}
}
scheduler-maps {
TEST_10M {
forwarding-class best-effort scheduler 10M;
}
}
schedulers {
10M {
transmit-rate 6500000;
priority strict-high;
}
TEST {
shaping-rate 1100000000;
}
}
root@re0# set class-of-service interfaces irb.3050
^
unit number is not appropriate: irb.3050 at 'irb.3050'
[edit]
root@re0# set class-of-service interfaces irb unit 3050 ?
Possible completions:
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
> classifiers Classifiers applied to incoming packets
forwarding-class Forwarding class assigned to incoming packets
> rewrite-rules Rewrite rules applied to outgoing packets
Thanks in advance