# Create (R)SPAN

Device>Configure>SPAN - Switch Port Analyzer>Create (R)SPAN

To view the definition for a particular MIB variable, click the appropriate link from the following list:

- SPAN Type

- RSPAN Type

- Data Source

- Source

- Destination

- RSPAN VLAN

- Direction

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 Help to access the online help.

SPAN Type (portCopySessionType)

Select Local or Remote.

If Local is selected, the SPAN session created will be local to the switch. If Remote is selected, the RSPAN session will be created.

RSPAN Type (portCopySessionType)

Select Source or Destination.

If Source is selected, the RSPAN session created will be local to the switch. If Destination is selected, the RSPAN session will be created.

Note: If the SPAN type selected is remote, the RSPAN Type field will be enabled. If the SPAN type selected is not remote, the RSPAN Type field will be disabled.

Data Source

Select Port(s) or VLAN(s).

Source

Enter Source port numbers or VLAN numbers.

Note: If the RSPAN Type selected is Destination, the above fields will be disabled. If the RSPAN Type selected is not Destination, the above fields will be enabled.

Destination

Destination port number.

Note: If RSPAN Type is Source, this field will be disabled. If RSPAN Type is not Source, this field will be enabled.

RSPAN V LAN

RSPAN VLAN number.

Note: This field will be enabled when SPAN Type is Remote.

Direction (portCopyDirection)

Select direction: Copy Rx only, Copy Tx only, (or) Copy both.

Note: This field will be disabled if remote SPAN Type is Destination and the agent will use its default value instead. For a Catalyst 6000 device the default value is Tx only. For a Catalyst 4000 device the default value is Rx + Tx.

Note: On a Catalyst 4000 device, local/remote VLAN spanning does not support Rx only or Tx only directions. Only Rx + Tx (both) direction is supported.

Note: On a Catalyst 4000 device, CiscoView automatically selects Copy Both option when the source type is VLAN.