10-30-2023 05:22 AM
Hi,
Can you please let me know that how we can check the BGP, sub-interface and VRF logs in ASR 9k router.
Also where the logs gets stored and how can these logs can be copied to remote location.
Thanks in advance.
Solved! Go to Solution.
10-30-2023
05:26 AM
- last edited on
10-30-2023
08:27 AM
by
Translator
Hello @Krishna Reddy Malem,
The logs are stored in memory and you should sent them to a remote syslog server. They are typically stored in memory, and the router may have limited storage capacity for logs. The logs are accessible through the CLI.
To archive logs and send them to a remote location, you can set up a syslog server for log collection. The remote syslog server will collect and store logs as configured.
logging x.x.x.x (where x.x.x.x is the IP address of your syslog server)
logging trap <severity_level> (specify the log severity level)
10-30-2023
05:26 AM
- last edited on
10-30-2023
08:27 AM
by
Translator
Hello @Krishna Reddy Malem,
The logs are stored in memory and you should sent them to a remote syslog server. They are typically stored in memory, and the router may have limited storage capacity for logs. The logs are accessible through the CLI.
To archive logs and send them to a remote location, you can set up a syslog server for log collection. The remote syslog server will collect and store logs as configured.
logging x.x.x.x (where x.x.x.x is the IP address of your syslog server)
logging trap <severity_level> (specify the log severity level)
11-02-2023 12:21 AM
Thanks.
I have setup the syslog server and followed the above steps and able to see logs(tried deleting the VRF and saw one entry in log file).
Can you please let me know how we can see all the logs, for example:
ERROR logs, faulty Hardware messages, high usage of CPU and memory messages, core dumps, configurations messages etc.
Thanks in advance.
11-02-2023 01:10 AM
Hello @Krishna Reddy Malem,
What level of log (severity) do you configure ?
11-02-2023 01:21 AM
Below one I have configured as of now:
logging trap errors
11-02-2023 01:43 AM
Try logging trap notification
10-30-2023 12:35 PM
Question says "how we can check the BGP, sub-interface and VRF logs in ASR 9k router" Meaning, how can he check archive logs on ASR9k ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide