29-7

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 29      Configuring QoS

Understanding QoS

Classification Based on QoS ACLs 

You can use IP standard, IP extended, or Layer 2 MAC ACLs to define a group of packets with the same 

characteristics (

class

). In the QoS context, the permit and deny actions in the access control entries 

(ACEs) have different meanings than with security ACLs: 

•

If a match with a permit action is encountered (first-match principle), the specified QoS-related 

action is taken.

•

If a match with a deny action is encountered, the ACL being processed is skipped, and the next ACL 

is processed. 

•

If no match with a permit action is encountered and all the ACEs have been examined, no QoS 

processing occurs on the packet, and the switch offers best-effort service to the packet.

•

If multiple ACLs are configured on a port, the lookup stops after the packet matches the first ACL 

with a permit action, and QoS processing begins. 

Note

When creating an access list, remember that, by default, the end of the access list contains an implicit 

deny statement for everything if it did not find a match before reaching the end.

After a traffic class has been defined with the ACL, you can attach a policy to it. A policy might contain 

multiple classes with actions specified for each one of them. A policy might include commands to 

classify the class as a particular aggregate (for example, assign a DSCP) or rate-limit the class. This 

policy is then attached to a particular port on which it becomes effective. 

You implement IP ACLs to classify IP traffic by using the 

access-list

 global configuration command; 

you implement Layer 2 MAC ACLs to classify non-IP traffic by using the 

mac access-list extended

 

global configuration command. For configuration information, see the 

“Configuring a QoS Policy” 

section on page 29-39

.

Classification Based on Class Maps and Policy Maps

A class map is a mechanism that you use to name a specific traffic flow (or class) and to isolate it from 

all other traffic. The class map defines the criteria used to match against a specific traffic flow to further 

classify it. The criteria can include matching the access group defined by the ACL or matching a specific 

list of DSCP or IP precedence values. If you have more than one type of traffic that you want to classify, 

you can create another class map and use a different name. After a packet is matched against the 

class-map criteria, you further classify it through the use of a policy map.

A policy map specifies which traffic class to act on. Actions can include trusting the CoS, DSCP, or IP 

precedence values in the traffic class; setting a specific DSCP or IP precedence value in the traffic class; 

or specifying the traffic bandwidth limitations and the action to take when the traffic is out of profile. 

Before a policy map can be effective, you must attach it to a port.

You create a class map by using the 

class-map

 global configuration command or the 

class

 policy-map 

configuration command. You should use the 

class-map

 command when the map is shared among many 

ports. When you enter the 

class-map

 command, the switch enters the class-map configuration mode. In 

this mode, you define the match criterion for the traffic by using the 

match

 class-map configuration 

command.

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