swPortAdminStatus

STAND-ALONE-ETHERNET-SWITCH-MIB · .1.3.6.1.4.1.437.1.1.3.3.1.1.10

Object

column mandatory r/w Enumeration
By explicit management action, change the port status
to either
enabled      : normal status (transmit and receive enabled)
disabled-mgmt: transmit and receive disabled.

Context

MIB
STAND-ALONE-ETHERNET-SWITCH-MIB
OID
.1.3.6.1.4.1.437.1.1.3.3.1.1.10
Type
column
Access
readwrite
Status
mandatory
Parent
swPortEntry

Walk 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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortAdminStatus.<swPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortAdminStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled-mgmt