C
HAPTER
28
| Port Mirroring Commands
RSPAN Mirroring Commands
– 765 –
◆ Local/Remote Mirror – The destination of a local mirror session (created
with the port monitor command) cannot be used as the destination for
RSPAN traffic.
Only two mirror sessions are allowed. Both sessions can be allocated to
remote mirroring, unless local mirroring is enabled (which is limited to
a single session).
◆ Spanning Tree – If the spanning tree is disabled, BPDUs will not be
flooded onto the RSPAN VLAN.
MAC address learning is not supported on RSPAN uplink ports when
RSPAN is enabled on the switch. Therefore, even if spanning tree is
enabled after RSPAN has been configured, MAC address learning will
still not be re-started on the RSPAN uplink ports.
◆ IEEE 802.1X – RSPAN and 802.1X are mutually exclusive functions.
When 802.1X is enabled globally, RSPAN uplink ports cannot be
configured, even though RSPAN source and destination ports can still
be configured. When RSPAN uplink ports are enabled on the switch,
802.1X cannot be enabled globally.
RSPAN uplink ports cannot be configured to use IEEE 802.1X Port
Authentication, but RSPAN source ports and destination ports can be
configured to use it
◆ Port Security – If port security is enabled on any port, that port cannot
be set as an RSPAN uplink port, even though it can still be configured
as an RSPAN source or destination port. Also, when a port is configured
as an RSPAN uplink port, port security cannot be enabled on that port.
rspan source Use this command to specify the source port and traffic type to be mirrored
remotely. Use the no form to disable RSPAN on the specified port, or with a
traffic type keyword to disable mirroring for the specified type.
SYNTAX
[no] rspan session session-id source interface interface-list
[rx | tx | both]
session-id – A number identifying this RSPAN session. (Range: 1-2)
Only two mirror sessions are allowed, including both local and
remote mirroring. If local mirroring is enabled with the port monitor
command, then there is only one session available 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-26)
rx - Mirror received packets.
tx - Mirror transmitted packets.