# Switch Port Analyzer (SPAN)

Device > Configure > SPAN (Switch Port Analyzer)

The Switch Port Analyzer dialog box contains a table with Port Copy information on the switch. Port Copy allows you to copy all frames from a specified source to a specified destination within a switch.

The following information is displayed:

- Span Type (portCopySessionType)
- Source Ports/VLANs (portCopySource)
- Destination Port (portCopyDest)
- Direction (portCopyDirection)

The following list specifies buttons in this dialog box, as well as their function:

- Click OK to continue.

- Click Cancel to close the dialog box.

- Click Create to create a new entry.

- Click Delete to delete a new entry.

- Click Refresh to update the contents of the dialog box.

- Click Print to print the contents of the dialog box.

- Click Help to access online help.

Span Type (portCopySessionType)

Indicates the span session type. When the value of this object is "local", both source and destination ports reside on the same switch.

If the associated portCopyStatus object is set to "active", then this object cannot be modified.

Source Ports/VLANs (portCopySource)

Indicates the port number of the source port, with values structured as follows: module/port. For example, the value 3/4 represents the third module on the fourth port.

Destination Port (portCopyDest)

Indicates the port number of the destination port, with values structured as follows: module/port. For example, the value 3/4 represents the third module on the fourth port.

Direction (portCopyDirection)

Specifies the direction in which traffic is copied from a switch source port for the indicated port copy operation:

- When the value of this object is "copyRxOnly(1)", only traffic received on the indicated source port is copied to the indicated destination port.
- When the value of this object is "copyTxOnly(2)", only traffic transmitted from the indicated source port is copied to the indicated destination port.
- When the value of this object is "copyBoth(3)", all traffic received on or transmitted from the indicated source port is copied to the indicated destination port.

The creation and deletion of instances of this object is controlled by portCopyRowStatus. Note that there is no guarantee that changing the value of this object while the value of the associated portCopyRowStatus object is set to "active" will not cause traffic discontinuities in the packet stream.