charPortAdminStatus

CHARACTER-MIB · .1.3.6.1.2.1.19.2.1.6

Object

column r/w Enumeration
The port's desired state, independent of flow
control.  'enabled' indicates that the port is
allowed to pass characters and form new sessions.
'disabled' indicates that the port is allowed to
pass characters but not form new sessions.  'off'
indicates that the port is not allowed to pass
characters or have any sessions. 'maintenance'
indicates a maintenance mode, exclusive of normal
operation, such as running a test.
              
'enabled' corresponds to ifAdminStatus 'up'.
'disabled' and 'off' correspond to ifAdminStatus
'down'.  'maintenance' corresponds to ifAdminStatus
'test'.

Context

MIB
CHARACTER-MIB
OID
.1.3.6.1.2.1.19.2.1.6
Type
column
Access
readwrite
Status
current
Parent
charPortEntry
Groups
1

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled
3off
4maintenance

Conformance

Member of