cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
5
Helpful
4
Replies

Specify many interfaces

townofnewmarket
Level 1
Level 1

I am trying to set up a span session using all ports except for port 15. If I try a very long:

mon sess 1 source fa0/1,fa0/2,fa0/3 etc

it comes back with an error around fa0/20 (probably too long).

is there a way to say something like

mon sess 1 source int fa0/1 through fa0/14

I have tried

mon sess 1 source int fa0/1-fa0/14

and it doesn't like the hyphen.

Thanks anyone!

4 Replies 4

Edison Ortiz
Hall of Fame
Hall of Fame

What type of hardware and code version ?

__

Edison.

3560s version 12.2

ankbhasi
Cisco Employee
Cisco Employee

Hi Friend,

Try this and it will surely work

monitor session 1 source interface fa0/1 - 14

Make sure there is a space between 1 and hyphen and 14

HTH

Ankur

*Pls rate all helpfull post

Ankur, that worked. Thanks!!!

Review Cisco Networking products for a $25 gift card