SPAN and RSPAN Commands
1091 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
57
from VLAN 100. The destination session defines VLAN 2 as the RSPAN VLAN and
port
gi1
1 as the reflector port
switchxxxxxx(config)#
monitor session 1 source interface gi12 both
switchxxxxxx(config)#
monitor session 1 source vlan 100
switchxxxxxx(config)#
monitor session 1 destination remote vlan 2 reflector-port
gi11 network
Example 4. The following example configures a final RSPAN session that copies
traffic from a RSPAN VLAN 2 to destination port
gi1
1:
switchxxxxxx(config)#
vlan 2
switchxxxxxx(config-vlan)#
remote-span
switchxxxxxx(config-vlan)#
exit
switchxxxxxx(config)#
monitor session 1 source remote vlan 2
switchxxxxxx(config)#
monitor session 1 destination interface gi11
57.2 monitor session source
To create a new Switched Port Analyzer (SPAN) or Remote SPAN (RSPAN) source
session, use the monitor session source command in Global Configuration mode.
To remove a source session, use the no form of the command.
Syntax
monitor session
session_number
source {interface
interface-id
[both | rx | tx]} | {vlan
vlan-id
}
| {remote vlan
vlan-id
}
no monitor session [
session_number
] source [{interface
interface-id
} | {vlan
vlan-id
}
| {remote vlan
vlan-id
}]
Parameters
•
session_number
—Specify the session number identified with the SPAN or
RSPAN session. The range is 1 to 7.