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

[Junos] How to find the SNMP OID which corresponds to the SNMP object name

1

0

Article ID: KB23438 KB Last Updated: 21 Jun 2019Version: 4.0
Summary:
This article provides information on how to find the SNMP OID that corresponds to the SNMP object name in Junos.

 
Symptoms:
How to find the SNMP OID that corresponds to the SNMP object name in Junos.

For example:
jnxBoxClass.0 -> <oid>1.3.6.1.4.1.2636.3.1.1.0</oid>
Solution:
You can find the SNMP object name by  using the following command on the Junos device:
id@router> show snmp mib walk 1
For example:
jun@MGM003> show snmp mib walk 1 | match jnxBox
jnxBoxClass.0 = jnxProductLineMX480.0
jnxBoxDescr.0 = Juniper MX480 Midplane Internet Backbone Router
^C[abort]

id@router> show snmp mib walk jnxBoxClass
jnxBoxClass.0 = jnxProductLineMX480.0
The following command displays the SNMP OID that corresponds to the SNMP object name:
id@router> show snmp mib walk jnxBoxClass | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/9.5R4/junos">
<snmp-object-information xmlns="http://xml.juniper.net/junos/9.5R4/junos-snmp">
<snmp-object>
<name>jnxBoxClass.0</name>
<object-value-type>OID</object-value-type>
<object-value>jnxProductLineMX480.0</object-value>
<oid>1.3.6.1.4.1.2636.3.1.1.0</oid>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

</snmp-object>
</snmp-object-information>
<cli>
<banner>[edit]</banner>
</cli>
</rpc-reply>
Modification History:
2019-06-21 : Added SNMP MIB Explorer​ Link

Related Links

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