CISCOSB-MACRO-MIB

The private MIB module definition for Smart Ports - provide a convenient way to save and share common configurations. Smart Ports group a group of command to be applied on a port or a trunk OR on a global configuration context. In addition Smart port application provide a database per interface (or global configuration) to list applied macros. Each smart port macro can either a user-defined or pre-defined.

Source file
CISCOSB-MACRO-MIB
Last revised
Identity
rlMacro
Base OID
1.3.6.1.4.1.9.6.1.101.140
Objects
5 scalars · 12 columns
Tables
3 tables
Net-SNMP examples using the ciscosb 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 'CISCOSB-MACRO-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCOSB-MACRO-MIB::rlMacro'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCOSB-MACRO-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCOSB-MACRO-MIB::rlMacro'
Command help
.1.3.6.1.4.1.9.6.1.101.140.1 · 7 columns
OID Tree

…

rlSmartPortsMacroManageEntry .1.3.6.1.4.1.9.6.1.101.140.1.1
Column Syntax OID
rlSmartPortsMacroNameRlSmartPortsMacroName.1.3.6.1.4.1.9.6.1.101.140.1.1.1
rlSmartPortsMacroIndexInteger32r/w.1.3.6.1.4.1.9.6.1.101.140.1.1.2
rlSmartPortsMacroTypeMacroType.1.3.6.1.4.1.9.6.1.101.140.1.1.3
rlSmartPortsMacroStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.9.6.1.101.140.1.1.4
rlSmartPortsMacroKeywordsOctetString.1.3.6.1.4.1.9.6.1.101.140.1.1.5
rlSmartPortsMacroDesc1OctetString.1.3.6.1.4.1.9.6.1.101.140.1.1.6
rlSmartPortsMacroDesc2OctetString.1.3.6.1.4.1.9.6.1.101.140.1.1.7
.1.3.6.1.4.1.9.6.1.101.140.2 · 2 columns
OID Tree

…

Column Syntax OID
rlSmartPortsMacroOctetIndexInteger32.1.3.6.1.4.1.9.6.1.101.140.2.1.1
rlSmartPortsMacroTextSNMP-FRAMEWORK-MIBSnmpAdminStringr/w.1.3.6.1.4.1.9.6.1.101.140.2.1.2
.1.3.6.1.4.1.9.6.1.101.140.3 · 3 columns
OID Tree

The table holds smart ports macro's name globally (rlSmartPortsMacroDescriptionIndex == 0) interface (port or trunk).

Column Syntax OID
rlSmartPortsMacroDescriptionIndexIF-MIBInterfaceIndexOrZero.1.3.6.1.4.1.9.6.1.101.140.3.1.1
rlSmartPortsMacroDescriptionTextSNMP-FRAMEWORK-MIBSnmpAdminStringr/w.1.3.6.1.4.1.9.6.1.101.140.3.1.2
rlSmartPortsMacroDescriptionStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.9.6.1.101.140.3.1.3

ScalarsrlMacro

.1.3.6.1.4.1.9.6.1.101.140
Object Syntax OID
rlSmartPortsFreeIndexesInteger32.1.3.6.1.4.1.9.6.1.101.140.4
rlSmartPortsDiagMacroNameOctetString.1.3.6.1.4.1.9.6.1.101.140.5
rlSmartPortsDiagLineNumberInteger32.1.3.6.1.4.1.9.6.1.101.140.6
rlSmartPortsDiagCommandLineSNMP-FRAMEWORK-MIBSnmpAdminString.1.3.6.1.4.1.9.6.1.101.140.7
rlSmartPortsCondenseModeEnumerationr/w.1.3.6.1.4.1.9.6.1.101.140.8

Type Definitions (3)

TypeSyntaxConstraints
MacroType Enumeration 3 values
RlSmartPortsMacroName OctetString 1 constraints
RlSmartPortsMacroNameOrZero OctetString 1 constraints
Dependencies (10) 6 direct · 4 transitive 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