nnsnmpTrapRcvrCommunity
SNMP-MIB ·
.1.3.6.1.4.1.562.73.1.1.1.5.1.4.1.4
Object
column r/w
OctetString
Community string associated with the network management station receiving the trap messages. The community string is used in the trap messages.
Context
- MIB
- SNMP-MIB
- OID
.1.3.6.1.4.1.562.73.1.1.1.5.1.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nnsnmpTrapRcvrEntry
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 'SNMP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-MIB::nnsnmpTrapRcvrCommunity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-MIB::nnsnmpTrapRcvrCommunity.<nnsnmpTrapRcvrIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMP-MIB::nnsnmpTrapRcvrCommunity'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-64