CISCO-COMMON-ROLES-MIB

        MIB module for managing the common roles between
access methods like Command Line Interface (CLI), SNMP
and XML interfaces.
Every user on a device is associated with a role.
A user role defines access rights afforded to the users
that belog to this role. A role specifies which
commands/operations a user is able to perform on what
information.
SNMP uses VACM (View-based Access Control Model) group
to define access rights. Both SNMPv1/v2c community and
SNMPv3 user have to belong to a group in order to access
information.
CLI uses proprietary mechanisms to define the access
rights. Most of them depend on the underlying operating
system.
Groups created from SNMP are not same as the roles
created from CLI unless they are synchronized. In
addition to this, views make up the roles in VACM where
was some kind of internal rules make the roles in the
CLI. This MIB describes a framework in which a role
defined independent of access methods. It is up to the
the particular access method to convert this
framework information into the native information. For
example, SNMP needs to convert common role framework to
VACM.
Note that this framework could be also used for any
other access methods other than SNMP and CLI.
The framework needs a list of features and list of
operations they can support. Features provide the data
context and are system dependent. Operations are the
actions that can be done on the data. The role are
defined in terms of rules. Rules are essentially access
rights which specify if a certain operation on a feature
is permitted or not.
An extension to this MIB module has been defined in 
CISCO-COMMON-ROLES-EXT-MIB to provide support for a 
framework which has compound features, i.e., features 
defined as group of other features, and also to 
provide another option for how a user's access can 
be restricted.
    
Source file
CISCO-COMMON-ROLES-MIB
Last revised
Identity
ciscoCommonRolesMIB
Base OID
1.3.6.1.4.1.9.9.361
Imported Objects
CISCO-SMI ciscoMgmt
SNMP-FRAMEWORK-MIB SnmpAdminString
SNMPv2-CONF MODULE-COMPLIANCE (no object page) OBJECT-GROUP (no object page)
SNMPv2-SMI MODULE-IDENTITY (no object page) OBJECT-TYPE (no object page) Unsigned32
SNMPv2-TC RowStatus TEXTUAL-CONVENTION (no object page) TruthValue
Net-SNMP examples using the cisco MIB directory Show commands

These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.

Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-COMMON-ROLES-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-COMMON-ROLES-MIB::ciscoCommonRolesMIB'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-COMMON-ROLES-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-COMMON-ROLES-MIB::ciscoCommonRolesMIB'
How SNMP, Net-SNMP, MIB paths, and variants work
Objects (35)
.1.3.6.1.4.1.9.9.361
.1.3.6.1.4.1.9.9.361.0
.1.3.6.1.4.1.9.9.361.1
.1.3.6.1.4.1.9.9.361.1.1
.1.3.6.1.4.1.9.9.361.1.1.1
.1.3.6.1.4.1.9.9.361.1.1.1.1
Unsigned32
.1.3.6.1.4.1.9.9.361.1.1.1.1.1
OctetString
.1.3.6.1.4.1.9.9.361.1.1.1.1.2
.1.3.6.1.4.1.9.9.361.1.1.1.1.3
.1.3.6.1.4.1.9.9.361.1.1.2
.1.3.6.1.4.1.9.9.361.1.1.2.1
Enumeration
.1.3.6.1.4.1.9.9.361.1.1.2.1.1
Bits
.1.3.6.1.4.1.9.9.361.1.1.2.1.2
.1.3.6.1.4.1.9.9.361.1.2
Unsigned32
.1.3.6.1.4.1.9.9.361.1.2.1
.1.3.6.1.4.1.9.9.361.1.2.2
.1.3.6.1.4.1.9.9.361.1.2.2.1
OctetString
.1.3.6.1.4.1.9.9.361.1.2.2.1.1
OctetString
.1.3.6.1.4.1.9.9.361.1.2.2.1.2
Enumeration
.1.3.6.1.4.1.9.9.361.1.2.2.1.3
OctetString
.1.3.6.1.4.1.9.9.361.1.2.2.1.4
OctetString
.1.3.6.1.4.1.9.9.361.1.2.2.1.5
.1.3.6.1.4.1.9.9.361.1.2.2.1.6
.1.3.6.1.4.1.9.9.361.1.3
Unsigned32
.1.3.6.1.4.1.9.9.361.1.3.1
.1.3.6.1.4.1.9.9.361.1.3.2
.1.3.6.1.4.1.9.9.361.1.3.2.1
Unsigned32
.1.3.6.1.4.1.9.9.361.1.3.2.1.1
OctetString
.1.3.6.1.4.1.9.9.361.1.3.2.1.2
.1.3.6.1.4.1.9.9.361.1.3.2.1.3
.1.3.6.1.4.1.9.9.361.1.3.2.1.4
.1.3.6.1.4.1.9.9.361.1.3.2.1.5
.1.3.6.1.4.1.9.9.361.2
.1.3.6.1.4.1.9.9.361.2.1
.1.3.6.1.4.1.9.9.361.2.2
Dependencies (5) 5 direct Show tree and compile order Hide dependency details

Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.

Dependency tree
Dependency-first compile order
  1. SNMPv2-SMIrfc
  2. CISCO-SMIcisco
  3. SNMPv2-CONFrfc
  4. SNMPv2-TCrfc
  5. SNMP-FRAMEWORK-MIBrfc
  6. CISCO-COMMON-ROLES-MIBciscoselected
Type Definitions (1)
Enumeration
clear(1)
config(2)
debug(3)
show(4)
exec(5)
Conformance Groups (2)
Compliance Statements (2)

OID .1.3.6.1.4.1.9.9.361.2.1.1
The compliance statement for entities which
implement the CISCO-COMMON-ROLES-MIB (but not
the CISCO-COMMON-ROLES-EXT-MIB).
Required groups
Object refinements
ObjectAccessSyntaxDescription
commonRoleRowStatus
active(1), createAndGo(4), destroy(6)
Only 'createAndGo', 'destroy' and 'active' need to be
supported.
commonRoleSupportedOperation
Bits
clear(0), config(1), debug(2), show(3), exec(4)
Only 'clear', 'config', 'debug', 'show' and 'exec'
need to be supported.

OID .1.3.6.1.4.1.9.9.361.2.1.2
The compliance statement for entities that
implement the CISCO-COMMON-ROLES-EXT-MIB.
Required groups