02-08-2014 09:40 AM - edited 03-11-2019 08:42 PM
Hi everyone,
If we config ASA with command below
logging host inside 192.168.1.50
Above command will send all log messages to server 192.168.1.50 right?
If we also config command below
logging device-id ipaddress inside
What does above command do?
will it make any difference to logging to server?
Regards
MAhesh
Solved! Go to Solution.
02-08-2014 10:29 AM
Hi Mahesh,
The device-ide keyword is used to include a device ID in a non-EMBLEM format syslog message. EMBLEM is a format that is primarily used with CiscoWorks and is only available for UDP syslog servers.
logging device-id ipaddress inside
This command will send syslog messages to the configured syslog server with the IP address of the inside interface as the device ID. This will not affect to the syslog server you are sending logs to, just what device ID it sends. Keep in mind that this device id will override any interface IP you are sourcing the syslog message from.
So lets say you configure logging host DMZ 192.168.1.50 and then you configure logging device-id ipaddress inside All syslog messages will be sent to 192.168.1.50 but will show up with an ID (or source ID) of the inside interface IP.
You can also configure the device id to be the hostname of the ASA, a context name, or a custom string that you define yourself.
--
Please remember to rate and select a correct answer
02-08-2014 10:29 AM
Hi Mahesh,
The device-ide keyword is used to include a device ID in a non-EMBLEM format syslog message. EMBLEM is a format that is primarily used with CiscoWorks and is only available for UDP syslog servers.
logging device-id ipaddress inside
This command will send syslog messages to the configured syslog server with the IP address of the inside interface as the device ID. This will not affect to the syslog server you are sending logs to, just what device ID it sends. Keep in mind that this device id will override any interface IP you are sourcing the syslog message from.
So lets say you configure logging host DMZ 192.168.1.50 and then you configure logging device-id ipaddress inside All syslog messages will be sent to 192.168.1.50 but will show up with an ID (or source ID) of the inside interface IP.
You can also configure the device id to be the hostname of the ASA, a context name, or a custom string that you define yourself.
--
Please remember to rate and select a correct answer
02-10-2014 07:45 PM
Thanks Marius
Mahesh
04-02-2019 11:35 PM
Can we configure different device-id for different syslog server on the same ASA?
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