11-24-2015 02:56 AM - edited 03-08-2019 02:49 AM
Hi All,
When we try to configure syslog source interface with loopback or Vlan we are getting following error.
Router(config)#logging source-interface vlan 281
Interface Vlan281 is not in the global table
But if Vlan or Loopback is not a membor any VRF ,can able to configure.
Please suggest to solve this without ios upgradation.
Thanks,
Prakalathan
11-24-2015 04:38 AM
Hi,
What IOS version are you running? What vrf is vlan 281 in? You should include that vrf in the logging command e.g. logging source-interface vlan281 vrf abcd
Thanks
John
11-24-2015 06:20 AM
Hello Prakalathan,
This is due to "Restrictions for VRF Aware System Message Logging" , You cannot specify a source address for VRF system logging messages.
VRF Aware System Message Logging feature uses the VRF interface address as the source for system logging.
Have a look on the suggested link for more informtion SystemLoggingVRFaware
Hope it helps..
-GI
Rate if it helps..
11-24-2015 06:40 AM
Hello,
If you specified VRF in your logging host command(logging host vrf vpn1 10.0.150.63), it is normal behaviour because source interface must be in the same VRF to be able to see Syslog server.
Please check the link below. It is a practice for VRF aware syslog. If you have several interface in that VRF, you can choose one interface as a source of log messages.
Something like this
interface vlan 281
IP VRF forwaiding vpn1
ip address. X.X.X
logging source-interface vlan 281
http://www.cisco.com/c/en/us/td/docs/ios/12_2sr/12_2sra/feature/guide/srvrfslg.html
If you do not want to use any interface inside VRF as a source, you need to remove VRF keyword in logging host command.
Hope it helps,
Masoud
11-24-2015 06:23 PM
Hello Masoud,
Thanks,
Vlan 281 is already membor of vrf grn200. but we unable to configure.
11-24-2015 06:39 PM
Hello,
How many interfaces are assigend to that VRF? more than one? As Ganesh mentioned, you can not specify source interface. It uses the IP of interface within that VRF.
Masoud
11-24-2015 02:32 PM
update your ios to the latest and this feature will be supproted ;)
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