Developer Community

Reply

QOS

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.


PS: If you feel this information is useful and solved your question or problem, please do not forget to mark it as a solution and give me some kudos.
MVP Expert

Re: QOS

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 ?



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP

Re: QOS

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


PS: If you feel this information is useful and solved your question or problem, please do not forget to mark it as a solution and give me some kudos.
Aruba Employee

Re: QOS

Hi 

Re: QOS

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

PS: If you feel this information is useful and solved your question or problem, please do not forget to mark it as a solution and give me some kudos.
Aruba Employee

Re: QOS

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.

 

Re: QOS

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


PS: If you feel this information is useful and solved your question or problem, please do not forget to mark it as a solution and give me some kudos.
Highlighted
MVP Expert

Re: QOS

Do you have the command needed ?

 

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

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: