Chapter 1 Configuring Interfaces and Circuits

Configuring the Switched Port Analyzer Feature

This section describes how to configure SPAN on a CSS. It includes the following topics:

Configuring SPAN on a CSS

Verifying the SPAN Configuration on a CSS

Configuring SPAN on a CSS

To configure SPAN on a CSS, use the setspan command. This command instructs the CSS to monitor all incoming and/or outgoing traffic on a specified SSPAN port by copying the packets to a specified DSPAN port on the same module in the CSS. This feature is disabled by default.

The syntax of this global configuration mode command is:

setspan src_port number dest_port number copyBothcopyTxOnlycopyRxOnly

The options and variables for this command are as follows:

src_port number - Source port keyword and number of the SSPAN port (in slot/port format) that you want to monitor. The CSS copies all packets that are received or transmitted on this port to the DSPAN port.

dest_port number - Destination port keyword and number of the DSPAN port (in slot/port format) where you want to connect the network analyzer, protocol analyzer, or RMON probe. The CSS copies the packets that flow through the SSPAN port to the DSPAN port that you specify. The DSPAN port must reside on the same module as the SSPAN port.

Note Once you configure a port as a DSPAN port, the CSS removes it from all VLANs and ignores ingress traffic on that port. In addition, the DSPAN port does not participate in spanning tree protocol (STP) or routing protocols such as RIP and OSPF.

copyBoth - CSS copies to the DSPAN port packets that the SSPAN port transmits to the network (egress traffic) and packets that the SSPAN port receives from the network (ingress traffic).

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

1-46

OL-4580-01

Page 72
Image 72
Cisco Systems OL-4580-01 manual Configuring Span on a CSS