Routing

 View Only
last person joined: yesterday 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  How to configure egress bandwidth limit for a vlan interface in QFX5130

    This message was posted by a user wishing to remain anonymous
    Posted 26 days ago
    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



  • 2.  RE: How to configure egress bandwidth limit for a vlan interface in QFX5130

    Posted 24 days ago

    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
    ------------------------------



  • 3.  RE: How to configure egress bandwidth limit for a vlan interface in QFX5130

    This message was posted by a user wishing to remain anonymous
    Posted 24 days ago
    This message was posted by a user wishing to remain anonymous

    Hi,

    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.

    Regards,

    A