Related Documentation
- M Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
- MX Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
- PTX Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- QFX Series
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
- T Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
Configuring SNMP on Devices Running Junos OS
The following sections contain information about basic SNMP configuration and a few examples of configuring the basic SNMP operations on devices running Junos OS:
Configuring Basic Settings for SNMPv1 and SNMPv2
By default, SNMP is not enabled on devices running Junos OS. To enable SNMP on devices running Junos OS, include the community public statement at the [edit snmp] hierarchy level.
Enabling SNMPv1 and SNMPv2 Get and GetNext Operations
A community that is defined as public grants access to all MIB data to any client.
To enable SNMPv1 and SNMPv2 Set operations on the device, you must include the following statements at the [edit snmp] hierarchy level:
Enabling SNMPv1 and SNMPv2 Set Operations
The following example shows the basic minimum configuration for SNMPv1 and SNMPv2 traps on a device:
Configuring SNMPv1 and SNMPv2 Traps
Configuring Basic Settings for SNMPv3
The following example shows the minimum SNMPv3 configuration for enabling Get, GetNext, and Set operations on a device (note that the configuration has authentication set to md5 and privacy to none):
Enabling SNMPv3 Get, GetNext, and Set Operations
The following example shows the basic configuration for SNMPv3 informs on a device (the configuration has authentication and privacy set to none):
Configuring SNMPv3 Informs
You can convert the SNMPv3 informs to traps by setting the value of the type statement at the [edit snmp v3 notify N1_all_tl1_informs] hierarchy level to trap as shown in the following example:
Converting Informs to Traps
Configuring System Name, Location, Description, and Contact Information
Junos OS enables you to include the name and location of the system, administrative contact information, and a brief description of the system in the SNMP configuration.
![]() | Note: Always keep the name, location, contact, and description information configured and updated for all your devices that are managed by SNMP. |
The following example shows a typical configuration.
![]() | Tip: Use quotation marks to enclose the system name, contact, location, and description information that contain spaces. |
Related Documentation
- M Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
- MX Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
- PTX Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- QFX Series
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage
- T Series
- Understanding SNMP Implementation in Junos OS
- Monitoring SNMP Activity and Tracking Problems That Affect SNMP Performance on a Device Running Junos OS
- Optimizing the Network Management System Configuration for the Best Results
- Configuring Options on Managed Devices for Better SNMP Response Time
- Managing Traps and Informs
- Using the Enterprise-Specific Utility MIB to Enhance SNMP Coverage

