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.