On Tue, Jul 2, 2013 at 3:41 AM, João Paulo Saldanha <
joaopa...@redeminastelecom.com.br> wrote:

> Hi for all,
>
> Hi,

> How I can enable BGP and OSPF debug on screen to view realtime errors?
>

If you're using Quagga, can try this (quagge can only write on a directory
that is owned by itself):

---
[root@router]~# mkdir /var/log/quagga
[root@router]~# chown quagga /var/log/quagga
[root@router]~# cli
router# conf t
router(config)# log file /var/log/quagga/quagga.log
router(config)# log monitor debugging
router(config)# debug bgp
router(config)# exit
router# wr
Building Configuration...
...
[OK]
router# exit

And display real-time BGP message:
[root@bsdrp1]~# tail -f /var/log/quagga/quagga.log
---


Regards,

Olivier
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Bsdrp-users mailing list
Bsdrp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to