Cisco – tail the log on a Cisco Router

cisconetworkingrouter

Can I tail the log on a Cisco Router? I have 'logging buffered 51200' and a debug running. I can see the packets with 'show log'. Can I tail this?

Best Answer

Sure, run logging monitor debug (or any other level) then terminal monitor.
Log will be displayed on your (and only your) Telnet/SSH session.
If you are connected using the console port, use logging console.

This will enable a behaviour similar to tail -f.

Related Topic