Solved

cisco router trace traffic

Posted on 2004-09-01
6
964 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
6 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 168 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 166 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 166 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Home network with two AP's dropping WiFi connectivity 12 70
winscp 000webhost.com 6 75
Network bottleneck identifier 13 53
VMware ESXi vswitch - performance question 2 78
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

821 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