hh3cRbacPolicyValue

HH3C-RBAC-MIB · .1.3.6.1.4.1.25506.2.158.1.2.5.1.2

Object

column OctetString
This object identifies the resource this role can access.
If the value of 'hh3cRbacPolicyType' is 'vlan' or
'interface', the column 'hh3cRbacPolicyValue' is a
four-octet-value which means vlan ID or IfIndex.
If the value of 'hh3cRbacPolicyType' is 'vrf' or 'seczone',
the column 'hh3cRbacPolicyValue' is a string indicating
the name of the VRF or security zone.

Context

MIB
HH3C-RBAC-MIB
OID
.1.3.6.1.4.1.25506.2.158.1.2.5.1.2
Type
column
Access
noaccess
Status
current
Parent
hh3cRbacPolicyEntry

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

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-64