Cisco Catalyst Switch syslog host configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 08:42 PM
Hi All.
Is there a command for the logging host instead of using IP address, it's using URL?
- Labels:
-
Catalyst Switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 08:46 PM
logging origin-id hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 11:32 PM
Hi Leo.
Thanks for the response. What I mean is when I add the config
conf t
logging host syslog.com
when I show run | inc logging
it will show me the IP address instead of syslog.com. How to get the show running with the syslog.com instead of the ip?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 11:40 PM
> it will show me the IP address instead of syslog.com. How to get the show running with the syslog.com instead of the ip?
- You can't change that behavior , it is intended for the syslog server to get translated to an ip address and remain in place to provide a dedicated syslog server solution.
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 12:59 AM
@zulkarnain wrote:
it will show me the IP address instead of syslog.com. How to get the show running with the syslog.com instead of the ip?
logging syslog.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 01:56 AM
Here is the snapshot when I type the logging syslog.com. You can see that
when do sho run it will change the name into ip address.
*BGI_C2960X_Test(config)#do sho run | inc logglogging buffered 16000
informationallogging console criticallogging origin-id hostnameprivilege
exec level 3 show logging* All access is monitored and logged
** All access is monitored and logged
*BGI_C2960X_Test(config)#logging syslog.com
<>BGI_C2960X_Test(config)#do sho run | inc logglogging
buffered 16000 informationallogging console criticallogging origin-id
hostnamelogging host 51.15.44.109privilege exec level 3 show logging*
All access is monitored and logged ** All access is monitored
and logged *BGI_C2960X_Test(config)#*
How I want to get the show run also shows as syslog.com?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 09:11 PM
Hi All.
When i configure the logging host <hostname>, it will show IP address inside the logging host show run instead of the <hostname> that i've just type. Any help on this to retain what i have just type in the show run config?
