hpSwitchProtectedPortsMask
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.26.1
Object
scalar mandatory
r/w
OctetString
This variable specifies a group of ports that are not allowed to communicate to each-other. Each octet within the value of this object specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.26.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- hpSwitchProtectedPortsConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::hpSwitchProtectedPortsMask.0'
More examples
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::hpSwitchProtectedPortsMask'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.