cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1745
Views
0
Helpful
1
Replies

Using "set span" with CAT OS on 4006

Hello,

I need to monitor network traffic going through a 4006 switch running CAT OS.  All traffic is on VLAN 1. I have a port sniffer PC setup and connected to two ports on this switch, the sniffer is on port 6/2,  I want to direct all traffic through this port so it can be monitored. So far I have not been able to make it work.  I have the following code in place but it is not working:

switch port analyzer

set span 1 6/2 both inpkts enable learning enable create

Let me know if you need the entire config posted.  Anyone have ideas?

Thanks,

Mitchell

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Mitchell,

only this line is needed

set span 1 6/2 both inpkts enable learning enable create

see

http://www.cisco.com/en/US/docs/switches/lan/catalyst4000/7.1/configuration/guide/span.html#wp1022949

you can check with show span

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card