- show snmp mib (get | get-next | walk)<name
|”name name name ...”>
Command introduced before JUNOS Release 7.4.
Display local Simple Network Management Protocol (SNMP) Management Information Base (MIB) object values.
get — Retrieve and display one or more SNMP object values.
get-next — Retrieve and display the next SNMP object values.
walk — Retrieve and display the SNMP object values that are associated with the requested object identifier (OID). When you use this option, the JUNOS software displays the objects below the subtree that you specify.
name — (Optional) The object can be represented by a sequence of dotted integers (such as 1.3.6.1.2.1.2) or by its subtree name (such as interfaces). When entering multiple objects, enclose the objects in quotation marks.
Table 105 describes the output fields for the show snmp mib command. Output fields are listed in the approximate order in which they appear.
Table 105: show snmp mib Output Fields
|
Field Name |
Field Description |
|---|---|
|
name |
Object name and numeric instance value. |
|
object value |
Object value. The JUNOS software translates OIDs into the corresponding object names. |
user@host> show snmp mib get sysObjectID.0
sysObjectID.0 = jnxProductNameM20
user@host> show snmp mib get ?sysObjectID.0
sysUpTime.0?
sysObjectID.0 = jnxProductNameM20 sysUpTime.0 = 1640992
user@host> show snmp mib get-next jnxMibs
jnxBoxClass.0 = jnxProductLineM20.0
user@host> show snmp mib get-next 1.3.6.1
sysDescr.0 = Juniper Networks, Inc. m20 internet router, kernel JUNOS release: 2004-1 Build date: build date UTC Copyright (c) 1996-2004 Juniper Networks, Inc.
user@host> show snmp mib walk system
sysDescr.0 = Juniper Networks, Inc. m20 internet router, kernel JUNOS release #0: 2004-1 Build date: build date UTC Copyright (c) 1996-2004 Juniper Networks, Inc. sysObjectID.0 = jnxProductNameM20 sysUpTime.0 = 1640992 sysContact.0 = Your contact sysName.0 = my router sysLocation.0 = building 1 sysServices.0 = 4