ccreRuleNumber
CISCO-COMMON-ROLES-EXT-MIB ·
.1.3.6.1.4.1.9.9.651.1.3.2.1.1
Object
column Unsigned32
A unique index for a rule in a particular role.
The rule are applied according to their rule
number, i.e. Rule 1 will be the first rule applied
followed by Rule 2 and so on.
Rule numbers need not be contiguous, for e.g. a Role
can have three rule numbered 1, 4 & 7. Further when
a new rule is added to this Role it can be rule number
2 or 5 or 9 (any number other than 1, 4 and 7).
Context
- MIB
- CISCO-COMMON-ROLES-EXT-MIB
- OID
.1.3.6.1.4.1.9.9.651.1.3.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ccreRuleEntry
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 'CISCO-COMMON-ROLES-EXT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-COMMON-ROLES-EXT-MIB::ccreRuleNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-COMMON-ROLES-EXT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-COMMON-ROLES-EXT-MIB::ccreRuleNumber.<ccreRoleName>.<ccreRuleNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-COMMON-ROLES-EXT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-COMMON-ROLES-EXT-MIB::ccreRuleNumber'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-256