cpqiScsiPortalRoles
CPQISCSI-MIB ·
.1.3.6.1.4.1.232.169.2.3.1.1.4
Object
column mandatory
r/w
OctetString
A portal can operate in one or both of two roles:
as a target portal and/or an initiator portal. If
the portal will operate in both roles, both bits
must be set.
When a new cpqiScsiPortalAttributesEntry is to be created,
the agent should use this object as a hint for the
creation of a new cpqiScsiTgtPortalAttributesEntry and/or
cpqiScsiIntrPortalAttributesEntry.
Context
- MIB
- CPQISCSI-MIB
- OID
.1.3.6.1.4.1.232.169.2.3.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqiScsiPortalAttributesEntry
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 'CPQISCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQISCSI-MIB::cpqiScsiPortalRoles'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQISCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQISCSI-MIB::cpqiScsiPortalRoles.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQISCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQISCSI-MIB::cpqiScsiPortalRoles'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.