hpSwitchPortAdminStatus
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.3.1.1.4
Object
column obsolete
r/w
Enumeration
The desired state of the interface. This variable is similar to the ifAdminStatus but instead of keeping the operational status, this variable maintain the desired state in the configuration data base.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.3.1.1.4- Type
- column
- Access
- readwrite
- Status
- obsolete
- Parent
- hpSwitchPortEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchPortAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchPortAdminStatus.<hpSwitchPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchPortAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |