EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SPAN and RSPAN Commands
1093 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
57
If a packet is mirrored by both the port-based ingress mirroring mechanism, and
one of the other ingress mirroring mechanisms, the selected session is the one
with the higher session number.
All definitions of different source ports for the same source session must be of the
same type: SPAN, start RSPAN start, or RSPAN final.
A source port cannot be a destination port.
The source interface in a RSPAN source switch can not be a membership of the
remote VLAN.
Use the no monitor session
session_number
source {interface
interface-id
} | {vlan
vlan-id
}
| {remote vlan
vlan-id
} command to remove one source.
Use the no monitor session
session_number
source command to remove all
sources ports of the given source session.
Example
Example 1. The following example configures a SPAN session consisting from 3
source and one destination session. The first source session copies traffic for both
directions from the source port
gi1
2, the second source session copies bridges
traffic from VLAN 100, and the third source session copies traffic for received on
the source port
gi1
3. The destination session defines port
gi11 as the
destination port.
switchxxxxxx(config)#
monitor session 1 source interface gi12 both
switchxxxxxx(config)#
monitor session 1 source vlan 100
switchxxxxxx(config)#
monitor session 1 source interface gi13 rx
switchxxxxxx(config)#
monitor session 1 destination interface gi11
Example 2. The following example configures a RSPAN start session consisting
from 2 source and one destination sessions. The first source session copies traffic
for both directions from the source port
gi1
2 and the second session copies traffic
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

Table of Contents

Related product manuals