cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12062
Views
10
Helpful
2
Replies

How to show open connections on CISCO router

tomaslada
Level 1
Level 1

Hi all,

does anybody know how to show active connection which are going throught a router? i.e. -> source & destination IP addresses & SRC+DST ports. I did it usually on CISCO PIX FW by "show connections" command. It shows me a state table with active connections. So I would like to have an output like this on my Cisco routers...

Is there some possibilities to do it? In this time I have only ip accounting configured on interfaces but it's not exactly what I want, or what I'm trying to achieve.

Any idea?

Many thanks

Tomas

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

Tomas

The PIX maintains the state table as part of its inspection of packets passing through the firewall. I believe that you might want to look at enabling netflow on the Cisco router. It gathers the information to show source and destination addresses and source and destination port numbers.

HTH

Rick

HTH

Rick

Hi, you may be able to do a 'debug ip tcp packets in address..." There are other options with this command that may achieve what you are looking for. I have used this on a very low level router in production.

Review Cisco Networking for a $25 gift card