switchPortAdminStatus
ELH100-MIB ·
.1.3.6.1.4.1.52.259.10.3.4.1.1.1.3
Object
column mandatory
r/w
Enumeration
The administrative status of the port. Setting this
object to enabled(1) enables the port. Setting this object to
disabled(2) disables the port. On media modules, port 2 (the
internal 10Mbps port) cannot be managed. The external port
cannot be managed on any module. In these cases, attempts to
set this object are rejected with an error-status of badValue(3).
The factory setting for manageable ports is enabled(1).
Note that if switchModuleActive is notActive(2), then the
switch is disabled no matter what its administrative status.
Context
- MIB
- ELH100-MIB
- OID
.1.3.6.1.4.1.52.259.10.3.4.1.1.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- switchPortEntry
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 'ELH100-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ELH100-MIB::switchPortAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ELH100-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ELH100-MIB::switchPortAdminStatus.<switchPortGroupID>.<switchPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ELH100-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ELH100-MIB::switchPortAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
3 | notApplicable |