ostIpTraphostCfgUdpPort
OMNITRON-IP-MIB ·
.1.3.6.1.4.1.7342.21.4.1.4
Object
column r/w
Unsigned32
This object configures the SNMP notification UDP port number for the
indicated traphost when an SNMP notification is generated from the
traphost.
A value of '0' indicates the global object ostSnmpTrapPortNum selects the
UDP port number for the SNMP notification for the indicated traphost.
None of the standard UDP port numbers should be configured as there may
be undesirable consequences.
Context
- MIB
- OMNITRON-IP-MIB
- OID
.1.3.6.1.4.1.7342.21.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ostIpTraphostCfgEntry
- Groups
- 1
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 'OMNITRON-IP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-IP-MIB::ostIpTraphostCfgUdpPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-IP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-IP-MIB::ostIpTraphostCfgUdpPort.<ostIpTraphostCfgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-IP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-IP-MIB::ostIpTraphostCfgUdpPort'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of