SPAN, RSPAN, ERSPAN
SPAN allows the traffic on one swithcport to be copied on another switchport. A SPAN session needs to be created where you define source ports and destination ports. Alternatively you can configure a source VLAN where all ports in the VLAN become the source ports. You can't mix between source ports and source VLANs
Local SPAN
Local SPAN (Switched Port ANalyzer) is an association of source ports or source VLANs with one or more destination ports on the same switch.
To configure a local SPAN session use these commands:
The number of destination ports is platform dependent.
To monitor the current SPAN sessions, use
RSPAN
RSPAN (Remote SPAN) allows the source and the destination to be on different switches. The way this is achived is by using a RSPAN VLAN to carry SPAN traffic between switches.
To configure RSPAN, use these commands on switches that contain source ports:
and these commands on switches that contain destination ports
Obviously, the RSPAN vlan needs to be configured on all switches. To monitor the RSPAN sessions use these commands:
ERSPAN
ERSPAN (Encapsulated Remote SPAN) takes the concept further and encapsulates the source traffic in GRE, allowing it to be routed over a Layer3 network to the destination ports.
To configure ERSPAN source devices, use:
To configure ERSPAN destination device, use:
Last updated