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
Objects
2 scalars · 16 columns
Tables
4 tables
Net-SNMP examples using the cisco MIB directory

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'
Command help
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
ciscoCommonRolesMIB.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
commonRoleFeatureTable.1.3.6.1.4.1.9.9.361.1.1.1
commonRoleFeatureEntry.1.3.6.1.4.1.9.9.361.1.1.1.1
commonRoleFeatureIndexUnsigned32.1.3.6.1.4.1.9.9.361.1.1.1.1.1
commonRoleFeatureNameOctetString.1.3.6.1.4.1.9.9.361.1.1.1.1.2
commonRoleFeatureOperationCommonRoleOperation.1.3.6.1.4.1.9.9.361.1.1.1.1.3
commonRoleSupportedOperTable.1.3.6.1.4.1.9.9.361.1.1.2
commonRoleSupportedOperEntry.1.3.6.1.4.1.9.9.361.1.1.2.1
commonRoleAccessMethodEnumeration.1.3.6.1.4.1.9.9.361.1.1.2.1.1
commonRoleSupportedOperationBits.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
commonRoleMaxRolesUnsigned32.1.3.6.1.4.1.9.9.361.1.2.1
commonRoleTable.1.3.6.1.4.1.9.9.361.1.2.2
commonRoleEntry.1.3.6.1.4.1.9.9.361.1.2.2.1
commonRoleNameOctetString.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
SNMPv2-TCRowStatus.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
commonRoleMaxRulesPerRoleUnsigned32.1.3.6.1.4.1.9.9.361.1.3.1
commonRoleRuleTable.1.3.6.1.4.1.9.9.361.1.3.2
commonRoleRuleEntry.1.3.6.1.4.1.9.9.361.1.3.2.1
commonRoleRuleIndexUnsigned32.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
CommonRoleOperation.1.3.6.1.4.1.9.9.361.1.3.2.1.3
SNMPv2-TCTruthValue.1.3.6.1.4.1.9.9.361.1.3.2.1.4
SNMPv2-TCRowStatus.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

Type Definitions (1)

TypeSyntaxConstraints
CommonRoleOperation Enumeration 5 values

Conformance Groups (2)

ccrmConfigurationGroup .1.3.6.1.4.1.9.9.361.2.2.1 Members (14)
ccrmConfigurationExtGroup .1.3.6.1.4.1.9.9.361.2.2.2 Members (3)

Compliance Statements (2)

ciscoCommonRolesMIBCompliance .1.3.6.1.4.1.9.9.361.2.1.1
ciscoCommonRolesExtMIBCompliance .1.3.6.1.4.1.9.9.361.2.1.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