Wired Intelligent Edge

 View Only
last person joined: 17 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

AOS-CX QoS for audio streams

This thread has been viewed 29 times
  • 1.  AOS-CX QoS for audio streams

    Posted 18 days ago

    Hi,

    Could you, maybe help me a bit (a lot) in configuring QoS on the 6300 and 8325? 

    I have one remote office which creates some audio streams. One is a transport stream with several audio channels in it, unfortunately with minimal error correction and it is about 80 Mbps. The other stream is a http steaming and it is about 200Mbps. Those streams then are sent through  Juniper EX3300 then some L2 circuit from an operator to another Juniper in central office and then to the receivers. I need to move that streams to an Aruba 6300F in the remote office and a VSX pair of 8325 in the central office. The operator honors CoS tags in ethernet frames. As far as I know I need to:

    • classify traffic
    • create policies to remark DSCP and add shaping policy
    • create queue-profile and schedule-profile ( here I have no idea how to configure this)
    • apply policy to the outgoing interface

    For now I managed to convert some configuration from Juniper switches but I am not sure if it makes any sense (probably not)

    class ip LAN
        10 match any 10.x.y.0/255.255.255.0 any count

    class ip LIVESTREAM
        10 match udp 10.x.z.0/255.255.255.0 range 1000 10000 any count

    class ip MEDIUM
        50 match any 10.x.q.0/255.255.0.0 x.x.x.0/24 count

    policy FC_LAN
        10 class ip LAN action dscp CS0
    policy FC_LIVESTREAM
        10 class ip LIVESTREAM action dscp EF action cir kbps ????? cbs ???????? exceed drop
    policy FC_MEDIUM
        10 class ip MEDIUM action dscp AF31 action cir kbps ????? cbs ?????????? exceed drop
    policy QOS_WAN
        10 class ip LIVESTREAM action dscp EF action cir kbps ????? cbs ?????????? exceed drop
        20 class ip MEDIUM action dscp AF31 action cir kbps ????? cbs ?????????? exceed drop
        40 class ip LAN action dscp CS0

    qos queue-profile STREAM_queues
        map queue 0 local-priority 0
        map queue 1 local-priority 1
        map queue 2 local-priority 2
        map queue 3 local-priority 3
        name queue 3 MEDIUM_queue
        map queue 4 local-priority 4
        map queue 5 local-priority 6
        map queue 6 local-priority 7
        map queue 7 local-priority 5
        name queue 7 LIVESTREAM_queue
        strict queue 7 max-bandwidth 100000 kbps

    qos schedule-profile STREAM_schedule
        dwrr queue 0 weight 1
        dwrr queue 1 weight 1
        dwrr queue 2 weight 1
        dwrr queue 3 weight 1
        dwrr queue 4 weight 1
        dwrr queue 5 weight 1
        dwrr queue 6 weight 1
        strict queue 7 max-bandwidth 100000 kbps

    apply qos queue-profile STREAM_queues schedule-profile factory-default

    interface lag 52
        description Operator
        no shutdown
        no routing
        vlan trunk native 3001
        vlan trunk allowed 3001,3011
        [...]
        qos trust dscp
        apply qos schedule-profile STREAM_schedule
        apply policy QOS_WAN out



    ------------------------------
    -- tommyd
    ------------------------------



  • 2.  RE: AOS-CX QoS for audio streams

    EMPLOYEE
    Posted 15 days ago

    you got most of it sorted out. so is the above config snippet for 6300F? and i can't see where are you applying  the policies like QOS_WAN, etvc.

    here is the 6300 QoS user guide for your reference.



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------



  • 3.  RE: AOS-CX QoS for audio streams

    Posted 15 days ago

    It is applied in interface lag 52 at the end. I did mispaste something because I do not leave this configuration active when not testing.  and I was copying things from real switch and GNS3 lab. 

    interface lag 52
        [...]
        qos trust dscp
        apply qos schedule-profile STREAM_schedule
        apply policy QOS_WAN out

    Is there someplace else to activate the policies?



    ------------------------------
    -- tommyd
    ------------------------------



  • 4.  RE: AOS-CX QoS for audio streams

    EMPLOYEE
    Posted 11 days ago

    just note that the CX simulator does not support QoS so dont test it there.

    yes rate limit policies can be attached to interfaces, lags.



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------



  • 5.  RE: AOS-CX QoS for audio streams

    Posted 11 days ago

    Yes, I know that QoS does not work in simulators. I managed to create a LAB that is using coupe of free ports on our 8325 

    The configuration looks like this:

    class ip BIURO
        10 match udp 192.168.201.0/255.255.255.0 192.168.202.0/255.255.255.0 range 5000 5999 count
    class ip LIVESTREAM
        10 match udp 192.168.201.0/255.255.255.0 192.168.202.0/255.255.255.0 range 7000 7999 count
    class ip MEDIUM
        10 match udp 192.168.201.0/255.255.255.0 192.168.202.0/255.255.255.0 range 6000 6999 count
    policy QOS_TEST
        10 class ip LIVESTREAM action pcp 5 action local-priority 5 action dscp AF41 action cir kbps 21504 cbs 215040 exceed drop
        20 class ip MEDIUM action pcp 3 action local-priority 3 action dscp AF31 action cir kbps 102400 cbs 1024000 exceed drop
        40 class ip BIURO action dscp CS0
    
    interface 1/1/37
        no shutdown
        ! Auba-CX 8325 does not have apply policy <NAME> out 
        apply policy QOS_QOS_TEST in 
        no routing
        vlan trunk native 1
        vlan trunk allowed 2001
        qos trust dscp
        exit
    interface 1/1/38
        no shutdown
        no routing
        vlan trunk native 1
        vlan trunk allowed 2002
        qos trust dscp
        exit

     I run an  iperf3  with port in selected range on the Stream Server and a wireshark on the Stream DST. The shaping seems to be working , dscp remarking also but not the Priority Code Point (PCP). The frames arrive to Stream DST with PCP field set to 000. 

     

    According to https://support.hpe.com/hpesc/public/docDisplay?docId=sf000098776en_us&docLocale=en_US&page=index.html

     20 class ip MEDIUM action pcp 3 should mark frames with PCP 3 but it does not seem to work. Do you have any ideas? 



    ------------------------------
    -- tommyd
    ------------------------------



  • 6.  RE: AOS-CX QoS for audio streams

    EMPLOYEE
    Posted 10 days ago

    your config looks good. to narrow it down I  suggest to only change the PCP (remove all the other actions) and see if that gets changed correctly. 



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------



  • 7.  RE: AOS-CX QoS for audio streams

    Posted 10 days ago

    I've left only:

    policy QOS_TEST
        10 class ip LIVESTREAM action pcp 5
        20 class ip MEDIUM action pcp 3
        40 class ip BIURO action dscp CS0

    and the result is the same. 

    BTW: on the 8325 it is possible to apply a policy to the inbound traffic while on 6300 in both directions.  It looks like the  policy is lost when packet is routed. the example I mentioned is for a switched traffic. 



    ------------------------------
    -- tommyd
    ------------------------------



  • 8.  RE: AOS-CX QoS for audio streams

    EMPLOYEE
    Posted 9 days ago

    that is interesting, i think it is time to get in touch with Aruba support to get to the bottom of it.



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------