SPAN and RSPAN Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1096
57
Example 2. The following example shows how to configure a RSPAN remote VLAN
in a final switch:
switchxxxxxx(config)#
interface gi13
switchxxxxxx(config-if)#
switchport mode trunk
switchxxxxxx(config-if)#
switchport trunk allowed none
switchxxxxxx(config-if)#
switchport trunk allowed add 2
switchxxxxxx(config-if)#
exit
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
Example 3. The following example shows how to configure a RSPAN remote VLAN
in an intermediate switch:
switchxxxxxx(config)#
interface range gi13,4
switchxxxxxx(config-if)#
switchport mode trunk
switchxxxxxx(config-if)#
switchport trunk allowed none
switchxxxxxx(config-if)#
switchport trunk allowed add 2
switchxxxxxx(config-if)#
exit
switchxxxxxx(config)#
vlan 2
switchxxxxxx(config-vlan)#
remote-span
switchxxxxxx(config-vlan)#
exit
57.4 show monitor session
To display information about Switched Port Analyzer (SPAN) and Remote SPAN
(RSPAN) sessions on the switch, use the show monitor command in User EXEC
mode.