cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8629
Views
0
Helpful
3
Replies

How can I run a packet sniffer on a Router or Switch

eyanez111
Level 1
Level 1

I have on my network several router 1700 series and switches Catalyst 2950 and I want to know how can I run ethereal on those babies to monitore what comes and goes

3 Replies 3

scottmac
Level 10
Level 10

The two most common methods would be (the old way) insert a hub (not a switch) in-line between the devices withthe traffic you wish to monitor or (the new way, for Cisco anyway) using port mirrroring.

A hub (not a switch) will repeat every pulse that passes on the line to the analyzer.

Since finding a new hub these days is virtually impossible (even some of the things sold as hubs are really switches), the more common way, at least in Cisco environments, is to "SPAN" (aka Port Mirroring) the port of the device whose traffic you'd like to monitor.

Here's the setup guide for a 2950:

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_19_ea1/configuration/guide/swspan.html

Good Luck

Scott

avmabe
Level 3
Level 3

I recommend doing what the other poster said and span the port. I would not bother with a hub if at all possible.

Also, use wireshark and not ethereal. The guy that wrote ethereal broke out on his own and took the code to "wireshark".

guruprasadr
Level 7
Level 7

HI, [Pls Rate if HELPS]

May be the Routers and Swithes are Interconnected in the Network and you will have to connect the PC with Ethereal installed directly to the Switch with Network Connectivity (IP Assigned in the same Network).

Need to enable the Port Mirroring Feature on the Switch Port to Capture the Traffic.

Refer the Link Below for the Procedure:

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.1/12ew/configuration/guide/span.html

PLS RATE if HELPS

Best Regards,

Guru Prasad R

Review Cisco Networking products for a $25 gift card