Developer

last person joined: yesterday 

Expand all | Collapse all

QOS

This thread has been viewed 8 times
  • 1.  QOS

    Posted May 28, 2019 10:36 AM

    Hi pals.

     

    I am wondering if it is possible to develop a command for AOS-S and AOS-CX that performs a similar function like Cisco Auto QoS (not the same, but at least similar).

     

    In particular I am interested in the following two commands. Here some information about what these commands do:

     

    AutoQoS

    AutoQoS is a macro that applies the recommended Architecture for Voice, Video, and Integrated Data (AVVID) QoS settings to a port.

     

    AutoQoS Support for a Cisco IP Phone

    AutoQoS supports Cisco IP phones with the auto qos voip cisco-phone interface configuration command. When you enter the auto qos voip cisco-phone interface configuration command on a port that is configured to support an IP phone and to which an IP phone is connected, the autoQoS feature does the following:

    • If QoS was not already enabled, enables QoS globally.
    • If VLAN-based QoS was configured for the port, reverts to the default port-based QoS (done for all ports on switching modules with 1p1q0t/1p3q1t ports).
    • Sets the port trust state to trust CoS.
    • Creates and applies a trust-CoS QoS policy to ports on switching modules with non-Gigabit Ethernet 1q4t/2q2t ports, which do not support port trust.

     

    AutoQoS Support for Marked Traffic

    Ports that connect to the interior of your network might receive traffic that has already been marked with QoS labels that are consistent with your network QoS policies, and which do not need to be changed. You can use the QoS trust feature to process the marked traffic using the received QoS values.

    AutoQoS supports marked traffic with the auto qos voip trust interface configuration command. When you enter the auto qos voip trust interface configuration command, the autoQoS feature does the following:

    • If QoS was not already enabled, enables QoS globally.
    • If VLAN-based QoS was configured for the port, reverts to the default port-based QoS (done for all ports on switching modules with 1p1q0t/1p3q1t ports).
    • If the port is configured with the switchport command, sets the port trust state to trust CoS.
    • If the port is not configured with the switchport command, sets the port trust state to trust DSCP.
    • Creates and applies a trust-CoS or trust-DSCP QoS policy to ports on switching modules with non-Gigabit Ethernet 1q4t/2q2t ports, which do not support port trust.

    References:

    https://www.cisco.com/en/US/tech/tk543/tk759/technologies_white_paper09186a00801348bc.shtml

    https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/auto_qos.pdf

     

    Thanks in advance for your support.



  • 2.  RE: QOS

    MVP GURU
    Posted May 29, 2019 01:25 AM

    Hi,

     

    Yes, i think it is possible..

    The idea it is to check if there is a QoS trust (dscp ?) enable on each port ? and enable if it is not enable ?



  • 3.  RE: QOS

    Posted May 29, 2019 10:43 AM

    Hi Alexis.

    Because Aruba does not have its own IP phones, it has no sense to create a macro for a Cisco IP Phone.

     

    I think we can focus on the second command: "AutoQoS Support for Marked Traffic"

    This macro should be applied on the interface configuration level, and should do the following:

    • If QoS was not already enabled, enables QoS globally.
    • If VLAN-based QoS was configured for the port, reverts to the default port-based QoS.
    • If the port is configured with the switchport command, sets the port trust state to trust CoS.
    • If the port is not configured with the switchport command, sets the port trust state to trust DSCP.
    • Creates and applies a trust-CoS or trust-DSCP QoS policy to ports which do not support port trust.

    Maybe all this tasks cannot be made during QoS configuration of a port for Aruba, if that is the case, we should focus in the way Aruba configures QoS for that port and try to make a macro following that procedure, so that common and frequently used parameters could be set as default, creating an Aruba AutoQoS macro (command) equivalent to the one Cisco has.

     

    Regards



  • 4.  RE: QOS

    EMPLOYEE
    Posted May 29, 2019 12:36 PM

    Hi 



  • 5.  RE: QOS

    Posted May 30, 2019 08:54 AM
    Hi Abraham
    Of course you can move this post to the right forum.
    But developing a new feature woud take some time, that is why I am looking for something like a workaround, maybe a macro that could excecute all these tasks.
    By the way, this command or macro should be available in AOS-S and AOS- CX, because commands seem to be different for both OS.
    Anybody can give me a hand?
    Regards


  • 6.  RE: QOS

    EMPLOYEE
    Posted Jun 03, 2019 02:27 PM

    Ok, Thanks for explaing it.

    Instead of macro are you open doing this with a python script? Script can check config and make changes as required. This script can run periodically/manually initiated to check the state of the switch config.

     

    In order to do some changes based on certain conditions in AOS-CX platform, NAE(Network Analytics Engine) which comes with AOS-CX will be very helful too.

     



  • 7.  RE: QOS

    Posted Jun 03, 2019 03:31 PM

    Hi Abraham.

    If creating a script for simulate that Cisco AutoQoS command (particularlly "AutoQoS Support for Marked Traffic") works, that would be fine for me.

    What should the commands of this script would be?

    Regards



  • 8.  RE: QOS

    MVP GURU
    Posted Jun 03, 2019 03:51 PM

    Do you have the command needed ?

     

    You can use AnyCLI API... (or may be directly API but need to check if it is available...)