cisco router trace traffic

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
skynocAsked:
Who is Participating?
 
JFrederick29Commented:
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
 
scampgbCommented:
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
 
clkempCommented:
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
 
JRasterCommented:
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
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.

All Courses

From novice to tech pro — start learning today.