This Article provides information on how to check which syslog message has been categorized under which severity class and to enable the notification for Link Up (which is, by default, not enabled). The link up notification contains the following trap message:
SNMP_TRAP_LINK_UP
This could be useful for enabling different SNMP trap messages for the syslog file.
root@TEST# show system syslog file messages { any notice; authorization info; } root@TEST> help syslog SNMP_TRAP_LINK_UP | grep Severity Severity: info root@TEST# set system syslog file messages any info root@TEST# run show log messages | match SNMP_TRAP_LINK_UP Apr 24 19:14:08 TEST mib2d[970]: SNMP_TRAP_LINK_UP: ifIndex 582, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-0/0/0 Apr 24 19:14:08 TEST mib2d[970]: SNMP_TRAP_LINK_UP: ifIndex 583, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-0/0/0.0 Apr 24 19:18:27 TEST mgd[21386]: UI_CMDLINE_READ_LINE: User 'root', command 'set any info | match SNMP_TRAP_LINK_UP ' Apr 24 19:19:12 TEST mib2d[970]: SNMP_TRAP_LINK_UP: ifIndex 582, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-0/0/0 Apr 24 19:19:12 TEST mib2d[970]: SNMP_TRAP_LINK_UP: ifIndex 583, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-0/0/0.0 Apr 24 19:21:12 TEST mgd[21386]: UI_CMDLINE_READ_LINE: User 'root', command 'run show log messages | match SNMP_TRAP_LINK_UP '