Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to setup syslog messages file to display notification for Link Up

0

0

Article ID: KB21281 KB Last Updated: 04 Mar 2017Version: 2.0
Summary:
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

Symptoms:
This could be useful for enabling different SNMP trap messages for the syslog file.
Cause:

Solution:
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 '

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search