rndCommunityInetTrapDestPort
HPE-SNMP-MIB ·
.1.3.6.1.4.1.11.2.98.5.1.9
Object
column r/w
Integer32
The transport protocol (usually UDP) port to which traps to the management station represebted by this entry will be sent. The default is the well-known IANA assigned port number for SNMP traps. This object is relevant only if rndCommunityInetTrapsEnable has a value different from trapsDisable.
Context
- MIB
- HPE-SNMP-MIB
- OID
.1.3.6.1.4.1.11.2.98.5.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rndCommunityInetEntry
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 'HPE-SNMP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-SNMP-MIB::rndCommunityInetTrapDestPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPE-SNMP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-SNMP-MIB::rndCommunityInetTrapDestPort.<rndCommunityInetMngStationAddrType>.<rndCommunityInetMngStationAddr>.<rndCommunityInetString>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPE-SNMP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPE-SNMP-MIB::rndCommunityInetTrapDestPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535