slcDevPortCfgAction
LANTRONIX-SLC-MIB ·
.1.3.6.1.4.1.244.1.1.4.2.2.2.1.54
Object
column r/w
Enumeration
Performs an action on a Device Port. A read of this object always returns the value noAction(1). Setting this object to zeroPortCounters(2) will reset all port counters given in slcDevPortStateTable. Setting this object to clearLocalLog(3) will clear the local logging buffer. Setting this object to terminateConnections(4) will terminate all connections associated with the Device Port.
Context
- MIB
- LANTRONIX-SLC-MIB
- OID
.1.3.6.1.4.1.244.1.1.4.2.2.2.1.54- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- slcDevPortCfgEntry
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 'LANTRONIX-SLC-MIB' -M '/opt/observium/mibs/lantronix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANTRONIX-SLC-MIB::slcDevPortCfgAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANTRONIX-SLC-MIB' -M '/opt/observium/mibs/lantronix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANTRONIX-SLC-MIB::slcDevPortCfgAction.<slcDevPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANTRONIX-SLC-MIB' -M '/opt/observium/mibs/lantronix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANTRONIX-SLC-MIB::slcDevPortCfgAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noAction |
2 | zeroPortCounters |
3 | clearLocalLog |
4 | terminateConnections |