cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
580
Views
1
Helpful
5
Replies

an issue while configuring the log server on a Cisco switch

Translator
Community Manager
Community Manager

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?

5 Replies 5

Translator
Community Manager
Community Manager

Translator
Community Manager
Community Manager

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

Hii

you try this:

archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
!

logging <LOG_server_ip>

Translator
Community Manager
Community Manager

Hii

you try this:

archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
!

logging <LOG_server_ip>