# Create SPAN

To access this dialog box:

1. Select Device > Configure > SPAN (Switch Port Analyzer).
2. With an entry selected, click Create.

From this dialog box, you can create a new entry in portCopyTable.

The following information is displayed:

- SPAN Type (portCopySessionType)
- Data Source
- Source (portCopySource)
- Destination (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 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:

- The value "remoteSource" refers to a session where traffic is copied from the source port to a RSPAN VLAN as its destination port.
- The value "remoteDestination" refers to a session where traffic is copied from a RSPAN VLAN to the destination port.
- When the value of this object is "local", both source and destination ports reside on the same switch.
- When the value of this object is "notSpecified", the agent determines the span session type for a set operation. A read operation returns one of the other span session types.

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

Data Source

Indicates whether a port or VLAN is the data source.

Source (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 (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.