12-27-2013 07:12 AM - edited 03-07-2019 05:16 PM
I have a Cisco ASR 1001. I am trying to send traffic from g0 to a switch that picks up all my logging traffic.
Below is my config. What am I missing. I am trying to send traffic to device 10.10.23.17. I want to make sure that ll traffic get to 10.10.23.17.
Thanks in advance!
logging trap debugging
logging facility local1
logging host 10.10.23.17
ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 10.10.88.1
12-27-2013 09:03 AM
Can you ping the syslog server from the management IP?
ping vrf Mgmt-intf 10.10.23.17
12-27-2013 09:40 AM
Syslog logging: enabled (0 messages dropped, 11 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: disabled
Monitor logging: disabled
Buffer logging: disabled, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
Persistent logging: disabled
No active filter modules.
Trap logging: level debugging, 553 message lines logged
Logging to 10.10.23.17 (udp port 514, audit disabled,
link up),
121 message lines logged,
0 message lines rate-limited,
0 message lines dropped-by-MD,
xml disabled, sequence number disabled
filtering disabled
Logging to 10.10.89.74 (udp port 514, audit disabled,
link up),
2 message lines logged,
0 message lines rate-limited,
0 message lines dropped-by-MD,
xml disabled, sequence number disabled
filtering disabled
Logging Source-Interface: VRF Name:
GigabitEthernet0 Mgmt-intf
12-27-2013 09:42 AM
Thanks. Messages are being sent so that part looks OK. Is there a reason you're logging at facility local1?
12-27-2013 09:30 AM
Yes I am.
12-27-2013 09:32 AM
Can you post the results of a show log? Just the part up to the actual log entries.
12-27-2013 09:44 AM
Could you check it the logging host command has a vrf-option:
logging host vrf Mgmt-intf 10.10.23.17
http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_09.html#wp1082864
HTH
Rolf
12-27-2013 10:02 AM
Good catch Rolf. This is IOS-XE so the command is a little different.
logging source-interface GigabitEthernet0 vrf Mgmt-intf
12-27-2013 10:07 AM
Thanks Collin. Those little differences make our life much more interesting, right? ;-)
10-09-2018 07:43 AM - edited 10-09-2018 07:45 AM
Hi All,
I have the same issue too. so I am trying to configure syslog via management interface.
1. I can ping the Syslog server via management interface
2. I have the below config
logging source-interface GigabitEthernet0 vrf Mgmt-intf
logging host 10.x.x.x vrf Mgmt-intf
3. I see the below for show logging but none received in Syslog server
Oct 9 07:08:42.485: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 10.x.x.x port 514 (Mgmt-intf) started - reconnection
*Oct 9 07:10:52.529: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (10.2.3.1)
12-14-2018 08:46 AM - edited 12-14-2018 08:56 AM
I have a same issue. However, I found an interesting stuff. After the configuration, I was able to see syslogs from Solarwind Orion, but not from Kiwi syslog server (I am pulling to two servers). If you don't see any log shipped from the ASR, try it to a different server (or app) to make sure you can see the log. I believe each syslog server has own syslog format to accept. If you don't have additional app, just do packet capture to confirm it.
12-14-2018 09:28 AM
Thanks Kyujin. I actually figured out the issue, it was the syslog server that wasnt processing the logs. Like you mentioned, I had do a packet capture. so for me above configuration actually worked!
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