Chapter 29: Port Mirroring Commands
RSPAN Mirroring Commands
– 978 –
S
YNTAX
[
no
]
rspan session
session-id
source
interface
interface-list
[
rx
|
tx
|
both
]
session-id
– A number identifying this RSPAN session. (Range: 1)
Only one mirror sessions is allowed, including both local and remote
mirroring. If local mirroring is enabled with the
command, then no session can be configured for RSPAN.
interface-list
– One or more source ports. Use a hyphen to indicate
a consecutive list of ports or a comma between non-consecutive
ports.
ethernet
unit
/
port
unit
- Unit identifier. (Range: 1)
port
- Port number. (Range: 1-52)
rx
- Mirror received packets.
tx
- Mirror transmitted packets.
both
- Mirror both received and transmitted packets.
D
EFAULT
S
ETTING
Both TX and RX traffic is mirrored
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
•
One or more source ports can be assigned to the same RSPAN session,
either on the same switch or on different switches.
•
Only ports can be configured as an RSPAN source – static and dynamic
trunks are not allowed.
•
The source port and destination port cannot be configured on the same
switch.
E
XAMPLE
The following example configures the switch to mirror received packets
from port 2 and 3:
Console(config)#rspan session 1 source interface ethernet 1/2
Console(config)#rspan session 1 source interface ethernet 1/3
Console(config)#
rspan destination
Use this command to specify the destination port to monitor the mirrored
traffic. Use the
no
form to disable RSPAN on the specified port.
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...