hh3cRbacRoleResourceAccess
HH3C-RBAC-MIB ·
.1.3.6.1.4.1.25506.2.158.1.2.3.1.3
Object
Defines the default access to the resources to which access can be controlled. For example a role which has access to all VLANs, all Interfaces, no VRF and no security zone will be 0011.
Context
- MIB
- HH3C-RBAC-MIB
- OID
.1.3.6.1.4.1.25506.2.158.1.2.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cRbacRoleEntry
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 'HH3C-RBAC-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-RBAC-MIB::hh3cRbacRoleResourceAccess'
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::hh3cRbacRoleResourceAccess.<hh3cRbacRoleName>'
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::hh3cRbacRoleResourceAccess'
Syntax
- Source
- Hh3cResourceType
- Base type
Bits
Values & Constraints
Type Values
0 | vlan |
1 | interface |
2 | vrf |
3 | seczone |