juniSnmpTrapSource
Juniper-SNMP-MIB ·
.1.3.6.1.4.1.4874.2.2.16.1.3.2
Object
scalar r/w
Integer32
The ifIndex of the interface whose IP address is used as the source IP
address for outbound SNMP traps.
If zero, no interface is specified, the mechanism for selecting a source
IP address is implementation-dependent, and may vary with each trap
sent.
Context
- MIB
- Juniper-SNMP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.16.1.3.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- juniSnmpTrap
- Groups
- 6
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::juniSnmpTrapSource.0'
More examples
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::juniSnmpTrapSource'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647