ctIfPortTrapStatus
CTIF-EXT-MIB ·
.1.3.6.1.4.1.52.4.3.3.3.1.1.5
Object
column mandatory
r/w
Enumeration
Defines the trap forwarding status of the port. A value of (1) indicates that a trap WILL NOT be sent if the port goes down and a value of (2) which is the default value, indicates that a trap WILL be sent if the port goes down.
Context
- MIB
- CTIF-EXT-MIB
- OID
.1.3.6.1.4.1.52.4.3.3.3.1.1.5- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ctIfPortEntry
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 'CTIF-EXT-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTIF-EXT-MIB::ctIfPortTrapStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTIF-EXT-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTIF-EXT-MIB::ctIfPortTrapStatus.<ctIfPortIfNumber>.<ctIfPortPortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTIF-EXT-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTIF-EXT-MIB::ctIfPortTrapStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |