internet traffic command

Posted on 2004-11-25
Last Modified: 2010-04-17
I have a Cisco 1602 router connected to a cisco switch 2926t. I have configure a static route to my ISP for internet traffic and is used as default-gateway in my network. I would like to see the internetwork traffic that the router is receiving and requesting. What command can I use to verify that?
Question by:Max_sow
    LVL 36

    Accepted Solution

    Hi Max_sow,
    If the router is performing NAT there will probably be a command to show the current translation table.
    You might be better off spanning the port which connects to the router and connecting a PC running the ethereal ( network analyser.
    LVL 79

    Assisted Solution

    You can enable netflow
     Interface Eth 0
      ip route-cache flow

    Then you can use "show ip cache flow"

    If you setup NTOP, you can export the nflow data to the NTOP server
    LVL 32

    Assisted Solution

    You can achieve this through the "debug ip packet" command , however, this is very CPU intensive and would be better to refine the command a bit more. Use
    "debug ip packet ?" command to further refine your match criteria. the "u all" command will stop the collection process, be careful with this command you can overload your router. You could also create an access-list matching on the traffic you are looking for and specify that access-list using the "debug ip packet <acl#> The other option is to span a port and use etherreal as stated above.

    LVL 79

    Expert Comment

    Do you need more information?
    Have you resolved this problem?
    Can you close this question?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Title # Comments Views Activity
    Thomson router 3 41
    Sonicwall site to site VPN 10 61
    Cisco IOU High CPU Usuage 6 60
    Management Network in CIsco L2 Switch 3 10
    While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
    Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now