trapRegPort
FCMGMT-MIB ·
.1.3.6.1.3.94.2.3.1.2
Object
column mandatory
Integer32
The UDP port to send traps to for this host. Normally this would be the standard trap port (162). This object is an index and must be specified to create a row in this table.
Context
- MIB
- FCMGMT-MIB
- OID
.1.3.6.1.3.94.2.3.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- trapRegEntry
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 'FCMGMT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FCMGMT-MIB::trapRegPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FCMGMT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FCMGMT-MIB::trapRegPort.<trapRegIpAddress>.<trapRegPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FCMGMT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FCMGMT-MIB::trapRegPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647