Deploying AutoQoS on Routers

Deploying AutoQoS on Routers

Deploying AutoQoS for the Enterprise on Cisco routers is a two-step process:

STEP 1.
STEP 2.

Step 1: Auto Discovery

Router(config)#interface fastethernet 0/0 Moves to interface configuration mode.
Router(config-if)#auto discovery qos Begins the Auto-Discovery process of AutoQoS, using NBAR, to collect data and analyze interface egress traffic for packet classification.
Router(config-if)#auto discovery qos trust Begins the Auto-Discovery process of AutoQoS. The trust keyword indicates the existing DSCP markings should not be altered. NBAR is not used.
Router(config-if)#no auto discovery [trust] Stops auto discovery (data collection) and removes any reports that have been generated.
Router#show auto discovery qos Shows the results of the auto discovery while discovery is in progress.


Note

The longer the auto discovery runs, the more accurate the results will be. The default period is three (3) days.


Note

The auto discovery qos command is not supported on subinterfaces. The auto discovery qos command is also not supported on an interface that has a policy attached to it already.


Step 2: Generation and Deployment of AutoQoS Enterprise

Router(config)#interface serial 0/0 Moves to interface configuration mode.
Router(config-if)#auto qos Enables AutoQoS to create class maps and policy maps for the enterprise feature at the interface upon completion of Step 1: Auto Discovery.


Step 2: Generation and Deployment of AutoQoS VoIP

Router(config)#interface serial 0/0 Moves to interface configuration mode.
Router(config-if)#auto qos [voip [trust] [fr-atm]] Enables AutoQoS with the VoIP feature at the interface upon completion of Step 1: Auto Discovery.
NOTE: Use the keyword voip if you are enabling AutoQoS VoIP instead of AutoQoS Enterprise. AutoQoS VoIP does not require the discovery step.
NOTE: Use the keyword trust if you want to use the preset markings of the packets rather than ignoring them and classifying them with NBAR.
NOTE: Use the keyword fr-atm if you are enabling AutoQoS VoIP for Frame Relay-to-ATM internetworking.