Port Monitor Commands
monitor session source remote-span
NOTE
monitor session source remote-span
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Command Mode
Global Configuration mode
User Guidelines
This command specifies the source ports for a monitor session. The port that is
configured to be a source port cannot be a destination port.
In this mode some traffic duplication on the analyzer port may be observed. For
example:
•
Port 2 is being egress monitored by port 4.
•
Port 2 and 4 are members in VLAN 3.
•
Unknown unicast packet sent to VLAN 3 will egress from port 4 twice, one
instance as normal forward and another instance as mirrored from port 2.
•
Moreover, if port 2 is an untagged member in VLAN 3 and port 4 is a tagged
member, then both instances will look different (one tagged and the other is
not).
Example
The following example copies traffic for both directions (Tx and Rx) from the
source port fa2 to the monitor session 1:
switchxxxxxx(config)# monitor session 1 source interfaces gi2 both
To start a source interface for remote SPAN (RSPAN), use the monitor session
source remote-span Global Configuration mode command.
To stop a source interface for remote SPAN, use the no form of this command.
Syntax
session-number
monitor session
session-number
no monitor session
source remote-span vlan
source remote-span
27
vlan-id
375