# Switch Port Analyzer

Device>Configure>Switch Port Analyzer>Copy

You can use switch port analyzer information to gather statistics on traffic between two ports or between a VLAN and a port. This device does allow you to enter a VLAN number as a source. Up to two independent ingress/bidirectional SPANs are active at the same time.

Source (portCopySource)

The ifIndex of a port or VLAN to be monitored. CiscoView accepts ports using a module/port format as in the original Catalyst 5000 design. For example, you could enter 5/1-6, 6/4, 10/3-5 to indicate the group of ports 1-6 on module 5, port 4 on module 6, and ports 3-5 on module 10. You could also enter a VLAN number as the source. For VLAN SPAN, for example, you could enter VLAN numbers such as 1, or 2, or 1,2 or 1-5.

Destination Port (portCopyDest)

The ifIndex of a port.

Direction (portCopyDirection)

The direction of monitored traffic. For each SPAN set, use this feature to specify the direction of the packets going through the source ports. The available options are described below:

Click Apply to make your changes take effect.

To Create a New SPAN set:

1. Click Create.

2. From the Data Source drop down box, select either Port(s) or VLAN(s).

3. Enter the Source ports(s)/vlan(s).

4. Enter the Destination port.

5. From the Direction drop down box, select either Copy Rx Only, Copy Tx Only, or Copy Both.

6. Click OK.

To Delete a SPAN set:

1. Highlight the SPAN port set (row) to be deleted.

2. Click Delete.

To Add Source to a SPAN set:

1. Click Add Source.

2. Enter the source port(s)/vlan(s) to be added to the SPAN set.

3. Click OK.

To Remove Source from a SPAN set:

1. Select a row so that it is highlighted.

2. Click Remove Source....

3. Enter the source port(s)/vlan(s) to be removed from the SPAN set.

4. Click OK.

Copy Status (portCopySatus)

Defines the status of the port copy entry.

Click Cancel to close the dialog box without making any changes. Click Print to print the contents of the dialog box.