C
HAPTER
28
| Port Mirroring Commands
RSPAN Mirroring Commands
– 1017 –
show vlan command 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:
Console(config)#rspan session 1 remote vlan 2 destination uplink ethernet 1/3
Console(config)#
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)
Only one mirror session is allowed, including both local and remote
mirroring. If local mirroring is enabled with the port monitor
command, then no session can be configured 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).
EXAMPLE
Console(config)#no rspan session 1
Console(config)#
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)
Only one mirror session is allowed, including both local and remote
mirroring. If local mirroring is enabled with the port monitor
command, then no session can be configured for RSPAN.
COMMAND MODE
Privileged Exec