You can analyze network traffic passing through ports by using Switched Port Analyzer (SPAN). This sends a copy of the traffic to another port on the switch that has been connected to a SwitchProbe device, another Remote Monitoring (RMON) probe or security device. SPAN mirrors receive or transmit (or both) traffic on one or more source ports to a destination port for analysis.
Remote SPAN (RSPAN) extends SPAN by enabling RMON of multiple switches across your network. The traffic for each RSPAN session is carried over a user-specified RSPAN VLAN that is dedicated for that RSPAN session in all participating switches. The SPAN traffic from the sources is copied onto the RSPAN VLAN through a reflector port and then forwarded over trunk ports carrying the RSPAN VLAN to any RSPAN destination session monitoring the RSPAN VLAN.
SPAN and RSPAN do not affect the switching of network traffic on source ports. A copy of the packets received or sent by the source interfaces are sent to the destination interface. Except for traffic that is required for the SPAN or RSPAN session, reflector ports and destination ports do not receive or forward traffic.
These are configuration examples:
This example shows how to set up a SPAN session (session 1) for monitoring source port traffic to a destination port. First, any existing SPAN configuration for session 1 is cleared and then bidirectional traffic is mirrored from source port 1 to destination port 10:
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a security device that does not support 802.1q encapsulation: Switch(config)# monitor session 1 destination interface Fa 0/5 ingress vlan 5
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a security device that supports 802.1q encapsulation:
This example shows how to disable ingress traffic forwarding on the destination port:
Switch(config)# monitor session 1 destination interface Fa 0/5 encapsulation dot1q
This example shows how to clear any existing RSPAN configuration for session 1, configure RSPAN session 1 to monitor multiple source interfaces, and configure the destination RSPAN VLAN and the reflector-port:
Hi all, I am in the process of replacing a whole network with 9000 switches. For the initial setup I tried to follow the guide here: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9500/hardware/install/b_catalyst_9500_hig/b_catalyst_...
Hello, I work on a cisco router 891W (router + switch + ap) and I'd like to create a DNAT with the source being 192.168.250.1, the destination being 10.35.78.11 and the relay being 192.168.250.144.I looked around and came to the conclusion that I sho...
Hey Guys, Can you please help me troubleshoot this?I'm trying to setup IPSEC tunnel between Cisco 887VAMG2 (LAB) and Ubiquity USG. crypto isakmp policy 10
if tow routers advertise the same prefix to each other, which router is selected to advertise first ? Router1 and Router2 advertise 192.168.1.0/24 to each other, which one will advertise it? Can I control it ? thanks !!
Hi All,Looking for any ideas on this issue i'm currently having. It is very similar to this issues here: https://community.cisco.com/t5/small-business-switches/help-me-to-create-ipv4-based-acls-for-vlans-using-gui/td-p/2645142 I tho...