Reference Guide

Port Monitoring | 779
Sample Configuration: Remote Port Mirroring
Remote port mirroring requires a source session (monitored ports on different source switches), a reserved
tagged VLAN for transporting mirrored traffic (configured on source, intermediate, and destination
switches), and a destination session (destination ports connected to analyzers on destination switches).
The following example shows a sample configuration of remote port mirroring on a source switch. Note
that in the
show monitor session output of a source session, the source is a source port/port-channel (for
example, Gi 2/2) and the destination is the reserved VLAN (for example, remote-vlan 22).
FTOS(conf)#interface gigabitethernet 2/22
FTOS(conf-if-gi-2/22)#switchport
FTOS(conf-if-gi-2/22)#no shutdown
FTOS(conf-if-gi-2/22)#interface vlan 22
FTOS(conf-if-vl-22)#mode remote-port-mirroring
FTOS(conf-if-vl-22)#tagged gigabitethernet 2/22
FTOS(conf-if-vl-22)#exit
FTOS(conf)#monitor session 100
FTOS(conf-mon-sess-100)#source gi 2/2 vlan range 2 , 5 , 7 destination remote-vlan 22
direction both
FTOS(conf-mon-sess-100)#no disable
FTOS(conf-mon-sess-100)#show config
monitor session 100
source GigabitEthernet 2/2 vlan range 2, 5, 7 destination remote-vlan 22 direction both
no disable
FTOS(conf-mon-sess-100)#end
FTOS#show monitor session 100
SessionID Source Vlan Destination Direction Mode Type
--------- ------ ---- ----------- --------- ------------ ----
100 Gi 3/0 2,5,7 remote-vlan 22 both Remote-Port-Mirroring
Port-based
The following example shows a sample configuration of remote port mirroring on an intermediate
(transport) switch.
FTOS(conf)#interface gigabitethernet 4/74
FTOS(conf-if-gi-4/74)#switchport
FTOS(conf-if-gi-4/74)#no shutdown
FTOS(conf-if-gi-4/74)#exit
FTOS(conf)#interface gigabitethernet 4/18
FTOS(conf-if-gi-4/18)#switchport
FTOS(conf-if-gi-4/18)#no shutdown
FTOS(conf-if-gi-4/18)#exit
FTOS(conf)#interface vlan 22
FTOS(conf-if-vl-22)#mode remote-port-mirroring
FTOS(conf-if-vl-22)#tagged gi 4/74
FTOS(conf-if-vl-22)#tagged gi 4/18
FTOS(conf-if-vl-22)#no shut
FTOS(conf-if-vl-22)#end