From d14102856387fb74de16f6305de7482443d561d0 Mon Sep 17 00:00:00 2001 From: srividya0208 Date: Mon, 28 Mar 2022 13:42:11 -0400 Subject: logging: T4308: log options for routing protocol It will be more convenient if there is a seperate option to debug the protocol --- op-mode-definitions/show-log.xml.in | 73 +++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) (limited to 'op-mode-definitions/show-log.xml.in') diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 4c0a7913b..2d75f119d 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -212,6 +212,79 @@ + + + Show log for Routing Protocols + + + + + Show log for OSPF + + journalctl -b /usr/lib/frr/ospfd + + + + Show log for OSPF for IPv6 + + journalctl -b /usr/lib/frr/ospf6d + + + + Show log for BGP + + journalctl -b /usr/lib/frr/bgpd + + + + Show log for RIP + + journalctl -b /usr/lib/frr/ripd + + + + Show log for RIPng + + journalctl -b /usr/lib/frr/ripngd + + + + Show log for static route + + journalctl -b /usr/lib/frr/staticd + + + + Show log for Multicast protocol + + journalctl -b /usr/lib/frr/pimd + + + + Show log for ISIS + + journalctl -b /usr/lib/frr/isisd + + + + Show log for NHRP + + journalctl -b /usr/lib/frr/nhrpd + + + + Show log for BFD + + journalctl -b /usr/lib/frr/bfdd + + + + Show log for MPLS + + journalctl -b /usr/lib/frr/ldpd + + + Show log for Simple Network Monitoring Protocol (SNMP) -- cgit v1.2.3 From 4e09be0cd9ad18a8b2af5789a9bf2814b8702c61 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 1 Apr 2022 21:24:47 +0200 Subject: op-mode: logging: T4308: use full option name (--boot) --- op-mode-definitions/show-log.xml.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'op-mode-definitions/show-log.xml.in') diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 2d75f119d..15bbc7f42 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -221,67 +221,67 @@ Show log for OSPF - journalctl -b /usr/lib/frr/ospfd + journalctl --boot /usr/lib/frr/ospfd Show log for OSPF for IPv6 - journalctl -b /usr/lib/frr/ospf6d + journalctl --boot /usr/lib/frr/ospf6d Show log for BGP - journalctl -b /usr/lib/frr/bgpd + journalctl --boot /usr/lib/frr/bgpd Show log for RIP - journalctl -b /usr/lib/frr/ripd + journalctl --boot /usr/lib/frr/ripd Show log for RIPng - journalctl -b /usr/lib/frr/ripngd + journalctl --boot /usr/lib/frr/ripngd Show log for static route - journalctl -b /usr/lib/frr/staticd + journalctl --boot /usr/lib/frr/staticd Show log for Multicast protocol - journalctl -b /usr/lib/frr/pimd + journalctl --boot /usr/lib/frr/pimd Show log for ISIS - journalctl -b /usr/lib/frr/isisd + journalctl --boot /usr/lib/frr/isisd Show log for NHRP - journalctl -b /usr/lib/frr/nhrpd + journalctl --boot /usr/lib/frr/nhrpd Show log for BFD - journalctl -b /usr/lib/frr/bfdd + journalctl --boot /usr/lib/frr/bfdd Show log for MPLS - journalctl -b /usr/lib/frr/ldpd + journalctl --boot /usr/lib/frr/ldpd -- cgit v1.2.3