cpSNMPTrapHostPort2
LUXN-MIB ·
.1.3.6.1.4.1.4253.1.2.34
Object
scalar mandatory
r/w
Integer32
User configurable trap port for the second trap host. Default value is 162
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 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::cpSNMPTrapHostPort2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUXN-MIB::cpSNMPTrapHostPort2'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65534