29-5

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 29      Configuring QoS

Understanding QoS

Classification

Classification is the process of distinguishing one kind of traffic from another by examining the fields 

in the packet. Classification is enabled only if QoS is globally enabled on the switch. By default, QoS is 

globally disabled, so no classification occurs.

During classification, the switch performs a lookup and assigns a QoS label to the packet. The QoS label 

identifies all QoS actions to be performed on the packet and from which queue the packet is sent.

The QoS label is based on the DSCP or the CoS value in the packet and decides the queueing and 

scheduling actions to perform on the packet. The label is mapped according to the trust setting and the 

packet type as shown in 

Figure 29-3 on page 29-6

. 

You specify which fields in the frame or packet that you want to use to classify incoming traffic. For 

non-IP traffic, you have these classification options as shown in 

Figure 29-3

:

•

Trust the CoS value in the incoming frame (configure the port to trust CoS). Then use the 

configurable CoS-to-DSCP map to generate a DSCP value for the packet. Layer 2 ISL frame headers 

carry the CoS value in the 3 least-significant bits of the 1-byte User field. Layer 2 802.1Q frame 

headers carry the CoS value in the 3 most-significant bits of the Tag Control Information field. CoS 

values range from 0 for low priority to 7 for high priority.

•

Trust the DSCP or trust IP precedence value in the incoming frame. These configurations are 

meaningless for non-IP traffic. If you configure a port with either of these options and non-IP traffic 

is received, the switch assigns a CoS value and generates an internal DSCP value from the 

CoS-to-DSCP map. The switch uses the internal DSCP value to generate a CoS value representing 

the priority of the traffic.

•

Perform the classification based on a configured Layer 2 MAC access control list (ACL), which can 

examine the MAC source address, the MAC destination address, and other fields. If no ACL is 

configured, the packet is assigned 0 as the DSCP and CoS values, which means best-effort traffic. 

Otherwise, the policy-map action specifies a DSCP or CoS value to assign to the incoming frame.

For IP traffic, you have these classification options as shown in 

Figure 29-3

:

•

Trust the DSCP value in the incoming packet (configure the port to trust DSCP), and assign the same 

DSCP value to the packet. The IETF defines the 6 most-significant bits of the 1-byte ToS field as 

the DSCP. The priority represented by a particular DSCP value is configurable. DSCP values range 

from 0 to 63.

For ports that are on the boundary between two QoS administrative domains, you can modify the 

DSCP to another value by using the configurable DSCP-to-DSCP-mutation map.

•

Trust the IP precedence value in the incoming packet (configure the port to trust IP precedence), and 

generate a DSCP value for the packet by using the configurable IP-precedence-to-DSCP map. The 

IP Version 4 specification defines the 3 most-significant bits of the 1-byte ToS field as the IP 

precedence. IP precedence values range from 0 for low priority to 7 for high priority.

•

Trust the CoS value (if present) in the incoming packet, and generate a DSCP value for the packet by 

using the CoS-to-DSCP map. If the CoS value is not present, use the default port CoS value.

•

Perform the classification based on a configured IP standard or an extended ACL, which examines 

various fields in the IP header. If no ACL is configured, the packet is assigned 0 as the DSCP and 

CoS values, which means best-effort traffic. Otherwise, the policy-map action specifies a DSCP or 

CoS value to assign to the incoming frame.

For information on the maps described in this section, see the 

“Mapping Tables” section on page 29-10

. 

For configuration information on port trust states, see the 

“Configuring Classification Using Port Trust 

States” section on page 29-32

.

Page 491
Image 491
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.