11-16-2023 12:37 PM
level3isp(config)#logging host cribl.domain.org vrf Mgmt-intf transport udp port 1502
^
% Invalid input detected at '^' marker.
level3isp(config)#logging host ho
level3isp(config)#logging host ?
Hostname or A.B.C.D IP address of the syslog server
ipv6 Configure IPv6 syslog server
level3isp(config)#do ping vrf Mgmt-intf cribl.domain.org
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.24.11.50, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
level3isp(config)#
seem to be having issues configuring syslog server as hostname/domain name. What is the trick here? Clearly I can resolve the DNS name sourcing my mgmt-intf vrf.
11-16-2023 12:43 PM
how about try below :
logging host cribl.domain.org
Logging source using VRF Interface different command
example :
logging source-interface x/x vrf Mgmt-intf
11-16-2023 12:45 PM
Hello @Steven-Williams-83
You typically don't need to specify the VRF instance directly in the logging host command.
Please do:
level3isp(config)# logging host cribl.domain.org transport udp port 1502
And do:
level3isp(config)# logging source-interface vrf Mgmt-intf <interface>
11-16-2023 12:58 PM
level3isp(config)#do show run | inc logging
logging buffered 16384
no logging console
logging trap notifications
logging source-interface GigabitEthernet0 vrf Mgmt-intf
logging host 172.24.0.13 vrf Mgmt-intf
logging host 172.24.4.11 vrf Mgmt-intf
logging host 172.24.4.11
logging host 172.24.0.243 vrf Mgmt-intf transport tcp port 519
!
level3isp(config)#logging host cribl.domain.org transport udp port 1502
^
% Invalid input detected at '^' marker.
level3isp(config)#
no dice.
11-16-2023 02:49 PM
as i understand the issue, when you issue hostname with FQDN its try to translate the domain to IP and insert the entry.
and you resolving the FQDN using VRF, in General it expect to resolve without using VRF in this scenario, you need to find to resolve by default global resolution.
But as per my testings - even you mentioned FQDN, it convert to IP and add as host with IP address (until you have many IP associated with that domain, it only take first resolved IP against FQDN - as per your resolution it resolve to below IP (so suggest to use that IP and configure)
172.24.11.50
11-17-2023 04:53 PM
hi,
it's hard to tell which syntax marked as invalid.
can you send a screenshot instead?
it's probably due to the IOS if command is supported.
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