rlProtectedPortCommunity
HPE-ProtectedPorts-MIB ·
.1.3.6.1.4.1.11.2.132.1.1.2
Object
Associate protected port with community number which becoming active only when
rlProtectedPortsStatus changed to protected
protected community ports filter layer 2 traffic from protected ports
and from other protected community ports, but do not filter layer 2
traffic from same community ports.
value of 0 disassociate port from its community.
Context
- MIB
- HPE-ProtectedPorts-MIB
- OID
.1.3.6.1.4.1.11.2.132.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rlProtectedPortsEntry
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 'HPE-ProtectedPorts-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-ProtectedPorts-MIB::rlProtectedPortCommunity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPE-ProtectedPorts-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-ProtectedPorts-MIB::rlProtectedPortCommunity.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPE-ProtectedPorts-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPE-ProtectedPorts-MIB::rlProtectedPortCommunity'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647