09-23-2024
09:51 PM
- last edited on
09-23-2024
10:03 PM
by
Yanli Sun
I have configured a log server, but after setting it up on a Cisco switch, I found that the commands executed on the switch are not being sent to the log server. However, when testing devices from other vendors, they can send the executed commands to the log server. Does this mean that Cisco devices do not support the audit function? Is there any way to send the executed commands from Cisco devices to the log server as well?
09-23-2024 10:51 PM
09-23-2024 10:52 PM
09-23-2024 11:42 PM
archive
log config
logging enable
logging size 300
notify syslog contenttype plaintext
hidekeys
!
ios/ios-xe and other platforms can be configured with archive commands, you can record the configuration commands in global mode in log, and in-line can be sent to the external log server synchronously, privileged mode show commands will not be recorded
09-23-2024 11:48 PM
Hii
you try this:
archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
!
logging <LOG_server_ip>
09-23-2024 11:49 PM
Hii
you try this:
archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
!
logging <LOG_server_ip>
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