Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  configure QoS for a port with specific Access List match

    Posted 08-24-2018 02:26

    I am looking to configure my QFX5100 32Q switch with a QoS for a specific ACL match. 

    1) I would like to specifiy a ACL rule (with match field based on 5-tuple)

    2) For the traffic that matches the 5-tuple I would like to define QoS metric with action such as: DSCP marking and Rate-limiting. Can some one please suggest appropriate configuration commands. 

     

    I have already looked into: 

    https://www.juniper.net/documentation/en_US/junos/topics/example/cos-ex-series-configuring.html

    https://www.juniper.net/documentation/en_US/junos13.2/topics/example/cos-hierarchical-port-scheduling-ets-configuring.html#jd0e634

     

    but couldn't find correct commands for configuration.  I see one option is to do it via the edit firewall command. 

     

    set firewall family inet filter sample term block-bad from source-address 10.21.2.1/24

    set firewall family inet filter sample term block-bad then dscp 10

    set firewall family inet filter sample term block-bad then policer 

    set interfaces so-0/1/0 unit 0 family inet filter input filter1

     

    In every other vendor, e.g. cisco and arista these are part of QoS related commands where as in Junos this is part of firewall. 

    Then what is the specific relavence of ClassOfService ? 

     

    ALso how can I define the IN/ OUT direction for the port ??

     

    Thank you


    #QOS
    #rate-limiting
    #DSCP
    #interface
    #COS
    #ACL


  • 2.  RE: configure QoS for a port with specific Access List match
    Best Answer

    Posted 08-28-2018 22:09

    In case, someone is looking for the same:

    set interfaces so-0/1/0 unit 0 family inet filter input filter1 
    set interfaces so-0/1/0 unit 0 family inet filter output filter1

    Here the input and output define the directions.