swPortCtrlAdminState
DES3225G-MIB ·
.1.3.6.1.4.1.171.11.24.3.2.1.3
Object
column mandatory
r/w
Enumeration
This object decide the port enabled or disabled.
Context
- MIB
- DES3225G-MIB
- OID
.1.3.6.1.4.1.171.11.24.3.2.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- swPortCtrlEntry
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 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swPortCtrlAdminState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swPortCtrlAdminState.<swPortCtrlModuleIndex>.<swPortCtrlPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3225G-MIB::swPortCtrlAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |