RSPAN, also known as Remote Switched Port Analyzer (SPAN), enables monitoring of traffic from multiple sources distributed over multiple switches. RSPAN enables consolidation of network monitoring at a single location. It works by mirroring target traffic from multiple source ports into a particular VLAN dedicated for monitoring purposes.
Do the following to configure RSPAN Mirroring where the source port is a Physical Ethernet port and the destination ports are a RSPAN VLAN and another Physical Ethernet port.
SLX# configure terminal
SLX (config)# interface ethernet 0/2
SLX (conf-if-eth-0/2)# lldp disable
SLX (conf-if-eth-0/2)# exit
SLX (config)# monitor session 28 SLX (config-session-28)#
SLX (config-session-28)# source ethernet 0/1 destination rspan-vlan 120 ethernet 0/3 direction rx SLX (config-session-28)#
The ingress traffic on ethernet port 0/1 is now mirrored to the destination RSPAN VLAN through the configured ethernet port.
This example summarizes the above configuration
SLX# configure terminal SLX (config)# interface ethernet 0/3 SLX (conf-if-eth-0/3)# lldp disable SLX (conf-if-eth-0/3)# exit SLX (config)# monitor session 28 SLX (config-session-28)# source ethernet 0/1 destination rspan-vlan 120 ethernet 0/3 direction rx
This example shows the configuration of RSPAN mirroring from a source ethernet port to a destination RSPAN VLAN on a port channel.
SLX (config)# monitor session 30 SLX (config-session-30)# source ethernet 0/1 destination rspan-vlan 120 port-channel 2 direction tx