Cisco IOS-XR

The following will configure IOS-XR to send the syslog messages, over UDP, to the IP Address, port 10101:

logging port 10101

To correctly send the hostname information, is is also recommended to explicitly configure the following:

logging hostnameprefix <hostname of the device>

Otherwise the device won’t send this information.