06-18-2020 08:18 AM
I'm trying to configure syslog to show interface state changes on the VTY lines and the console lines (I don't have a syslog server). My configuration is as follows:
My-SW#show run | i logging
logging console informational
logging monitor informational
logging cns-events notifications
My-SW#
Syslog still isn't showing any logs on either VTY or console lines. Why is it not working?
Solved! Go to Solution.
06-24-2020 12:34 AM
I fixed it myself. There is an extra command needed to make this work on a C6509, which is this:
My-SW1(config)#logging event link-status default
06-18-2020 08:48 AM
Can you post full configuration - have you configured on interface status change to logs?
here is the syntax :
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/logging-event-port.html
06-18-2020 09:47 AM
- I think this can't be done for VTY or console lines, only for network ports and or interfaces.
M,
06-24-2020 12:34 AM
I fixed it myself. There is an extra command needed to make this work on a C6509, which is this:
My-SW1(config)#logging event link-status default
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