cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1766
Views
0
Helpful
6
Replies

VRF Bug - Unable to configure Syslog source interface

prakalaathan
Level 1
Level 1

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

6 Replies 6

johnd2310
Level 8
Level 8

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

**Please rate posts you find helpful**

Ganesh Hariharan
VIP Alumni
VIP Alumni

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..

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

Hello Masoud,

Thanks,

Vlan 281 is already membor of vrf grn200. but we unable to configure.

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

mtarawne
Cisco Employee
Cisco Employee

update your ios to the latest and this feature will be supproted ;)

Review Cisco Networking for a $25 gift card