29-58

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 29      Configuring QoS

Configuring Standard QoS

To return to the default CoS input queue threshold map or the default DSCP input queue threshold map, 

use the 

no mls qos srr-queue input cos-map 

or the 

no mls qos srr-queue input dscp-map 

global 

configuration command. To return to the default WTD threshold percentages, use the 

no mls qos 

srr-queue input threshold 

queue-id

 global configuration command.

This example shows how to map DSCP values 0 to 6 to ingress queue 1 and to threshold 1 with a drop 

threshold of 50 percent. It maps DSCP values 20 to 26 to ingress queue 1 and to threshold 2 with a drop 

threshold of 70 percent:

Switch(config)#

 mls qos srr-queue input dscp-map queue 1 threshold 1 0 1 2 3 4 5 6

Switch(config)#

 mls qos srr-queue input dscp-map queue 1 threshold 2 20 21 22 23 24 25 26

Switch(config)#

 mls qos srr-queue input threshold 1 50 70

Command

Purpose

Step 1

configure terminal

Enter global configuration mode.

Step 2

mls qos srr-queue input dscp-map 

queue

 

queue-id

 

threshold

 

threshold-id 

dscp1...dscp8

or

 

mls qos srr-queue input cos-map 

queue

 

queue-id

 

threshold

 

threshold-id 

cos1...cos8

 

Map DSCP or CoS values to an ingress queue and to a threshold ID.

By default, DSCP values 0–39 and 48–63 are mapped to queue 1 and 

threshold 1. DSCP values 40–47 are mapped to queue 2 and threshold 1.

By default, CoS values 0–4, 6, and 7 are mapped to queue 1 and threshold 

1. CoS value 5 is mapped to queue 2 and threshold 1.

•

For 

queue-id

, the range is 1 to 2.

•

For 

threshold-id

, the range is 1 to 3. The drop-threshold percentage 

for threshold 3 is predefined. It is set to the queue-full state.

•

For 

dscp1...dscp8

, enter up to eight values, and separate each value 

with a space. The range is 0 to 63.

•

For 

cos1...cos8

, enter up to eight values, and separate each value with 

a space. The range is 0 to 7.

Step 3

mls qos srr-queue input threshold 

queue-id threshold-percentage1 

threshold-percentage2

Assign the two WTD threshold percentages for (threshold 1 and 2) to an 

ingress queue. The default, both thresholds are set to 100 percent.

•

For 

queue-id

, the range is 1 to 2.

•

For 

threshold-percentage1 threshold-percentage2

, the range is 1 to 

100. Separate each value with a space.

Each threshold value is a percentage of the total number of queue 

descriptors allocated for the queue.

Step 4

end

Return to privileged EXEC mode.

Step 5

show mls qos maps

Verify your entries.

The DSCP input queue threshold map appears as a matrix. The d1 column 

specifies the most-significant digit of the DSCP number; the d2 row 

specifies the least-significant digit in the DSCP number. The intersection 

of the d1 and the d2 values provides the queue ID and threshold ID; for 

example, queue 2 and threshold 1 (02-01).

The CoS input queue threshold map shows the CoS value in the top row 

and the corresponding queue ID and threshold ID in the second row; for 

example, queue 2 and threshold 2 (2-2).

Step 6

copy running-config startup-config

(Optional) Save your entries in the configuration file.

Page 544
Image 544
Open full-size image

2960 specifications

Cisco Systems 2960 series switches are a prominent solution in the networking landscape, known for their reliability, scalability, and feature-rich offerings. Ideal for small to medium-sized enterprises, these switches provide a robust foundation for network infrastructure, ensuring optimal performance and connectivity.

One of the standout features of the Cisco 2960 series is its Layer 2 switching capabilities. The switches support multiple VLANs (Virtual Local Area Networks), allowing network administrators to segment traffic efficiently and enhance security protocols. This is crucial in modern networks where managing traffic and isolating sensitive information is a priority.

The Cisco 2960 series also incorporates advanced Quality of Service (QoS) features, enabling the prioritization of critical applications and services. This functionality ensures that time-sensitive data, such as voice and video traffic, maintains a high quality of service even in congested networks. With support for IEEE 802.1p and DSCP marking, administrators can fine-tune their network performance to meet specific organizational needs.

Power over Ethernet (PoE) is another significant characteristic of the Cisco 2960 series. This feature allows switches to deliver electrical power alongside data over Ethernet cables to devices such as IP phones, wireless access points, and surveillance cameras. With PoE, organizations can reduce clutter from power cables and increase deployment flexibility for various devices.

In terms of security, the Cisco 2960 series is equipped with a range of integrated security features. The switch supports port security, 802.1X authentication, and Access Control Lists (ACLs), providing robust defenses against unauthorized access and potential network vulnerabilities. These security measures are essential for protecting sensitive data and ensuring compliance with industry regulations.

Moreover, the Cisco 2960 series offers enhanced network management capabilities with Cisco's Intelligent Network Services. This includes support for Simple Network Management Protocol (SNMP), Cisco Prime, and Embedded Event Manager (EEM), allowing for efficient monitoring, troubleshooting, and policy enforcement across the network.

Additionally, the Cisco 2960 switches provide various models and configurations, catering to different networking needs. Options include models with varying port densities, uplink configurations, and stacking capabilities, making it easy for organizations to choose solutions that align perfectly with their requirements.

In summary, the Cisco 2960 series is a versatile and essential component of modern networking environments. Its advanced features, including Layer 2 support, QoS, PoE, robust security, and diverse management tools, make it an excellent choice for organizations looking to build a strong and secure network infrastructure.