Add the string M120 to all messages to indicate that the router is an M120 router, and direct the messages to the remote machine hardware-logger.mycompany.com:
- [edit system syslog]
- host hardware-logger.mycompany.com {
- any info;
- log-prefix M120;
- }
When these configuration statements are included on an M120 router called origin1, a message in the system log on hardware-logger.mycompany.com looks like the following:
- Mar 9 17:33:23 origin1 M120: mgd[477]: UI_CMDLINE_READ_LINE:
user ‘root’, command ‘run show version’