ntwsPortNum
NTWS-TRAP-MIB ·
.1.3.6.1.4.1.45.6.1.2.6
Object
scalar Integer32
Port number on the AC which reported this rogue during a detection sweep. This object is used within notifications and is not accessible.
Context
- MIB
- NTWS-TRAP-MIB
- OID
.1.3.6.1.4.1.45.6.1.2.6- Type
- scalar
- Access
- notifyonly
- Status
- current
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 'NTWS-TRAP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTWS-TRAP-MIB::ntwsPortNum.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTWS-TRAP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTWS-TRAP-MIB::ntwsPortNum'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-22