juniSnmpTrapHostProtocolVersion
Juniper-SNMP-MIB ·
.1.3.6.1.4.1.4874.2.2.16.1.3.3.1.5
Object
column r/w
Enumeration
The format of the SNMP trap PDU to be sent to this trap destination.
v1 Trap-PDU defined in RFC1157, encapsulated in the message
structure also defined in RFC1157.
v2c SNMPv2-Trap-PDU defined in RFC1905, encapsulated in the
message structure defined in RFC1901.
v3 SNMPv2-Trap-PDU defined in RFC1905, encapsulated in the
message structure defined in RFC2571.
Context
- MIB
- Juniper-SNMP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.16.1.3.3.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Default
v1- Parent
- juniSnmpTrapHostEntry
- Groups
- 6
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpTrapHostProtocolVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpTrapHostProtocolVersion.<juniSnmpTrapHostIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-SNMP-MIB::juniSnmpTrapHostProtocolVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | v1 |
1 | v2c |
2 | v3 |