Chapter 36 Configuring QoS

Configuring Auto-QoS

trust the QoS label received in the packet. When a Cisco IP Phone is absent, the ingress classification is set to not trust the QoS label in the packet. The switch configures ingress and egress queues on the port according to the settings in Table 36-3and Table 36-4.

When you enter the auto qos voip cisco-softphoneinterface configuration command on a port at the edge of the network that is connected to a device running the Cisco SoftPhone, the switch uses policing to determine whether a packet is in or out of profile and to specify the action on the packet. If the packet does not have a DSCP value of 24, 26, or 46 or is out of profile, the switch changes the DSCP value to 0. The switch configures ingress and egress queues on the port according to the settings in Table 36-3and Table 36-4.

When you enter the auto qos voip trust interface configuration command on a port connected to the interior of the network, the switch trusts the CoS value for nonrouted ports or the DSCP value for routed ports in ingress packets (the assumption is that traffic has already been classified by other edge devices). The switch configures the ingress and egress queues on the port according to the settings in Table 36-3and Table 36-4.

For information about the trusted boundary feature, see the “Configuring a Trusted Boundary to Ensure Port Security” section on page 36-41.

When you enable auto-QoS by using the auto qos voip cisco-phone, the auto qos voip cisco-softphone, or the auto qos voip trust interface configuration command, the switch automatically generates a QoS configuration based on the traffic type and ingress packet label and applies the commands listed in Table 36-5to the port.

Table 36-5 Generated Auto-QoS Configuration

Description

Automatically Generated Command

 

 

 

 

The switch automatically enables standard QoS and configures

Switch(config)# mls

qos

 

the CoS-to-DSCP map (maps CoS values in incoming packets

Switch(config)# mls qos map cos-dscp 0 8 16 26 32 46

to a DSCP value).

48 56

 

 

 

 

 

 

 

The switch automatically maps CoS values to an ingress queue

Switch(config)# no mls qos srr-queue input cos-map

and to a threshold ID.

Switch(config)# mls

qos

srr-queue input cos-map

 

queue 1 threshold 3

0

 

 

Switch(config)# mls

qos

srr-queue input cos-map

 

queue 1 threshold 2

1

 

 

Switch(config)# mls

qos

srr-queue input cos-map

 

queue 2 threshold 1

2

 

 

Switch(config)# mls

qos

srr-queue input cos-map

 

queue 2 threshold 2

4 6

7

 

Switch(config)# mls

qos

srr-queue input cos-map

 

queue 2 threshold 3

3 5

 

 

 

The switch automatically maps CoS values to an egress queue

Switch(config)# no mls qos srr-queue output cos-map

and to a threshold ID.

Switch(config)# mls

qos

srr-queue output cos-map

 

queue 1 threshold 3

5

 

 

Switch(config)# mls

qos

srr-queue output cos-map

 

queue 2 threshold 3

3 6

7

 

Switch(config)# mls

qos

srr-queue output cos-map

 

queue 3 threshold 3

2 4

 

 

Switch(config)# mls

qos

srr-queue output cos-map

 

queue 4 threshold 2

1

 

 

Switch(config)# mls

qos

srr-queue output cos-map

 

queue 4 threshold 3

0

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

36-24

OL-9775-02

Page 774
Image 774
Cisco Systems 3750E manual Description Automatically Generated Command, 36-24