23-5

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 23      Configuring SPAN and RSPAN

Understanding SPAN and RSPAN

•

Transmit (Tx) SPAN—The goal of transmit (or egress) SPAN is to monitor as much as possible all 

the packets sent by the source interface after all modification and processing is performed by the 

switch. A copy of each packet sent by the source is sent to the destination port for that SPAN session. 

The copy is provided after the packet is modified.

Features that can cause a packet to be dropped during transmit processing also affect the duplicated 

copy for SPAN. These features include IP standard and extended output ACLs and egress QoS 

policing.

•

Both—In a SPAN session, you can also monitor a port or VLAN for both received and sent packets. 

This is the default.

The default configuration for local SPAN session ports is to send all packets untagged. SPAN also does 

not normally monitor bridge protocol data unit (BPDU) packets and Layer 2 protocols, such as Cisco 

Discovery Protocol (CDP), VLAN Trunk Protocol (VTP), Dynamic Trunking Protocol (DTP), Spanning 

Tree Protocol (STP), and Port Aggregation Protocol (PAgP). However, when you enter the 

encapsulation replicate 

keywords when configuring a destination port, these changes occur:

•

Packets are sent on the destination port with the same encapsulation—untagged or IEEE 

802.1Q—that they had on the source port.

•

Packets of all types, including BPDU and Layer 2 protocol packets, are monitored.

Therefore, a local SPAN session with encapsulation replicate enabled can have a mixture of untagged 

and IEEE 802.1Q tagged packets appear on the destination port.

Switch congestion can cause packets to be dropped at ingress source ports, egress source ports, or SPAN 

destination ports. In general, these characteristics are independent of one another. For example:

•

A packet might be forwarded normally but dropped from monitoring due to an oversubscribed SPAN 

destination port.

•

An ingress packet might be dropped from normal forwarding, but still appear on the SPAN 

destination port.

•

An egress packet dropped because of switch congestion is also dropped from egress SPAN.

In some SPAN configurations, multiple copies of the same source packet are sent to the SPAN 

destination port. For example, a bidirectional (both Rx and Tx) SPAN session is configured for the Rx 

monitor on port A and Tx monitor on port B. If a packet enters the switch through port A and is switched 

to port B, both incoming and outgoing packets are sent to the destination port. Both packets are the same.

Source Ports

A source port (also called a 

monitored port

) is a switched port that you monitor for network traffic 

analysis. In a local SPAN session or RSPAN source session, you can monitor source ports or VLANs for 

traffic in one or both directions. The switch supports any number of source ports (up to the maximum 

number of available ports on the switch) and any number of source VLANs (up to the maximum number 

of VLANs supported). However, the switch supports a maximum of two sessions (local or RSPAN) with 

source ports or VLANs, and you cannot mix ports and VLANs in a single session.

A source port has these characteristics:

•

It can be monitored in multiple SPAN sessions. 

•

Each source port can be configured with a direction (ingress, egress, or both) to monitor. 

•

It can be any port type (for example, EtherChannel, Fast Ethernet, Gigabit Ethernet, and so forth). 

•

For EtherChannel sources, you can monitor traffic for the entire EtherChannel or individually on a 

physical port as it participates in the port channel.

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