SPAN mirroring feature configure the following on the catalyst switch:
Configuration Example:
Monitoring traffic from a specific interface
Switch1#(config)#monitor session 1 source interface gigabitEthernet 0/5
Switch1#(config)#monitor session 1 destination interface gigabitEthernet 0/10
Use show monitor session 1 to verify your configuration.
The above configuration will capture all traffic from interface gigabitEthernet 0/5 and send it to SPAN port interface gigabitEthernet 0/10
Monitoring VLAN on trunk port
Switch1#(config)#monitor session 1 filter vlan 1 - 5, 9
=======
Configuration Example – Monitoring an entire VLAN traffic:
ITKEAS01(config)#monitor session 1 source vlan 100
ITKEAS01(config) monitor session 1 destination interface gigabitEthernet 0/10
Use show monitor session 1 to verify your configuration.
The above configuration will capture all traffic of VLAN 100 and send it to SPAN port interface gigabitEthernet 0/10