Command Line Interface

4-184

4
switchport allowed vlan command (page 4-226). Nor can GVRP
dynamically add port members to an RSPAN VLAN. Also, note that the show
vlan command (page 4-228) will not display any members for an RSPAN
VLAN, but will only show configured RSPAN VLAN identifiers.
Example
The following example enables RSPAN on VLAN 2, specifies this device as an
RSPAN destination switch, and the uplink interface as port 3:

no rspan session

Use this command to delete a configured RSPAN session.
Syntax
no rspan session session-id
session-id – A number identifying this RSPAN session. (Range: 1-2)
Only two mirror sessions are allowed, including both local and remote
mirroring. If local mirroring is enabled with the port monitor command
(page 4-178), then there is only one session available for RSPAN.
Command Mode
Global Configuration
Command Usage
The no rspan session command must be used to disable an RSPAN VLAN
before it can be deleted from the VLAN database (see the vlan command,
page 4-221).
Example

show rspan

Use this command to displays the configuration settings for an RSPAN session.
Syntax
show rspan session [session-id]
session-id – A number identifying this RSPAN session. (Range: 1-2)
Only two mirror sessions are allowed, including both local and remote
mirroring. If local mirroring is enabled with the port monitor command
(page 4-178), then there is only one session available for RSPAN.
Console(config)#rspan session 1 remote vlan 2 destination
uplink ethernet 1/3
Console(config)#
Console(config)#no rspan session 1
Console(config)#