?
Solved

cisco router trace traffic

Posted on 2004-09-01
6
Medium Priority
?
1,003 Views
Last Modified: 2013-12-07
dear sir , i have a cisco router 1601,
having ip address 82.116.136.76
my ip address is 82.116.136.77
i want to see all tcp and udp ports comming from 82.116.136.77 to the router .
thanks
0
Comment
Question by:skynoc
4 Comments
 
LVL 15

Expert Comment

by:scampgb
ID: 11952814
Hi skynoc,

Sorry, I'm a little unclear as to what you want to achieve here.

Do you mean that you want to analyse the traffic coming from your PC to the router, what ports the router will accept traffic on, or something else.

Could you please explain a little more about what you're trying to achieve or find out?

Thanks
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 672 total points
ID: 11952817
You can use netflow or you can define an access list with a log.  Netflow will display all flows/conversations on the router, what port they are using, and how much data is being passed.  The access-list method will display all traffic matching the access list entries and send it to the log.

Netflow:

interface ethernet0
ip route-cache flow

router#show ip cache flow

Access List:

access-list 101 permit tcp 82.116.136.77 range 0 65535 any range 0 65535 log
access-list 101 permit udp 82.116.136.77 range 0 65535 any range 0 65535 log
access-list 101 permit ip any any

interface ethernet0
ip access-group 101 in

router#show log
0
 
LVL 1

Assisted Solution

by:clkemp
clkemp earned 664 total points
ID: 11952994
You can use 'debug ip packet detail dump' to see all packets.  This will use a lot of your routers resources.

I would recommend getting a laptop or pc and loading Ethereal (http://ethereal.com/) and capturing the packets with it.  You can setup a filter to capture just the source/destination you desire.  Use 'host 82.116.136.77' in the capture filter box.  Are you looking for something specific or do you just want to see the traffic?
0
 
LVL 6

Assisted Solution

by:JRaster
JRaster earned 664 total points
ID: 11958680
Another great monitoring tool is IRIS from EEYE.  
Http://www.eeye.com/iris
Just put in a cheap hub between the router and the rest of the network, hook your PC to the hub and you can see all traffic by IP address.  
Works awesome, and keeps capture logs.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question