How can I monitor multiple ports on a Catalyst 2960g switch

  • 1
  • Question
  • Updated 5 years ago
  • Answered
Hi There,
We have a Cisco catalyst 2960g switch and I want to monitor multiple source ports via a SPAN session. The ports I am interested in are 1-39 and 41-44

What syntax should I use to set this up on the switch?

Photo of Network Admin

Network Admin

  • 32 Posts
  • 1 Reply Like

Posted 5 years ago

  • 1
Photo of Darragh Delaney

Darragh Delaney, Employee

  • 58 Posts
  • 5 Reply Likes
The correct syntax for the monitor source is

monitor session 1 source interface GigabitEthernet 0/1 – 39 , GigabitEthernet 0/41 - 44 both

Remember you also need to specify a destination and you can do this by issuing the command

monitor session 1 destination interface GigabitEthernet 0/40