In article , ns wrote: :To view real time packet in my routers, some times, i run debug mode and :terminal monitor to print result on session, and then, i run undebug all to :stop debug.
:The problem is, this operation take a lot of memory/cpu.
:How can i view result of debug mode without impact performance of the router
In general, you cannot.
:Maybe by sending result of debug mode to syslog server ? If yes how, can i :do it ?
Sending anything to syslog takes memory and cpu and would have
*some* performance impact.
If performance is a problem, you need to avoid having the router do extra work to make the packet contents available. In some models and versions, there is no way to do that. In other models and versions, you can "span" or "rspan" without performance penalty.
If you are proposing to send the debug messages via syslog, then your requirement is not really for 'real time' packet analysis.
Not to high-jack someone else's thread, but what routers do this? I know that PIXes do, but I didn't know that any routers have that ability. I guess that I need to spend more time on Cisco's website..