CISCO-NBAR-PROTOCOL-DISCOVERY-MIB
Cisco NBAR Protocol Discovery MIB
NBAR - Network Based Application Recognition is an intelligent classification engine that recognizes applications that are static (which use fixed TCP or UDP port numbers), and stateful (which dynamically assign TCP or UDP port numbers).
Protocol Discovery - uses NBAR to show you the mix of applications currently running on the network. Key statistics are associated with each protocol. These statistics can be used to define traffic classes and QoS policies.
Functionality:
- To enable/disable Protocol Discovery per interface.
- Display the protocols/applications which NBAR currently recognizes.
- To display various Protocol Discovery statistics.
- A configurable top N table which lists protocols using user defined criteria.
- To configure notifications (traps) based on configurable statistic thresholds.
- To maintain a history table of all notification events.
- Source file
CISCO-NBAR-PROTOCOL-DISCOVERY-MIB- Last revised
- Identity
ciscoNbarProtocolDiscoveryMIB- Base OID
1.3.6.1.4.1.9.9.244- Objects
- 1 scalars · 46 columns
- Tables
- 7 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.
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-NBAR-PROTOCOL-DISCOVERY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-NBAR-PROTOCOL-DISCOVERY-MIB::ciscoNbarProtocolDiscoveryMIB'
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-NBAR-PROTOCOL-DISCOVERY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-NBAR-PROTOCOL-DISCOVERY-MIB::ciscoNbarProtocolDiscoveryMIB'
Imported Objects
| CISCO-SMI | ciscoMgmt |
| IF-MIB | ifIndex InterfaceIndex |
| SNMPv2-CONF | MODULE-COMPLIANCE (no object page) NOTIFICATION-GROUP (no object page) OBJECT-GROUP (no object page) |
| SNMPv2-SMI | Counter32 Counter64 MODULE-IDENTITY (no object page) NOTIFICATION-TYPE (no object page) OBJECT-TYPE (no object page) TimeTicks Unsigned32 |
| SNMPv2-TC | RowStatus TEXTUAL-CONVENTION (no object page) TruthValue |
.1.3.6.1.4.1.9.9.244.1.1.1
· 2 columns
The cnpdStatusTable is used to enable and disable Protocol Discovery on an interface.
.1.3.6.1.4.1.9.9.244.1.1.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdStatusPdEnable | SNMPv2-TCTruthValuer/w | .1.3.6.1.4.1.9.9.244.1.1.1.1.1 |
| cnpdStatusLastUpdateTime | SNMPv2-SMITimeTicks | .1.3.6.1.4.1.9.9.244.1.1.1.1.2 |
.1.3.6.1.4.1.9.9.244.1.2.1
· 12 columns
The cnpdAllStatsTable contains all the statistics available for all the protocols/applications currently recognized by NBAR Protocol Discovery for a particular interface.
In the event of an overflow, the 32 bit counters …
.1.3.6.1.4.1.9.9.244.1.2.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdAllStatsProtocolsIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.1 |
| cnpdAllStatsProtocolName | CiscoPdProtocolName | .1.3.6.1.4.1.9.9.244.1.2.1.1.2 |
| cnpdAllStatsInPkts | packetsSNMPv2-SMICounter32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.3 |
| cnpdAllStatsOutPkts | packetsSNMPv2-SMICounter32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.4 |
| cnpdAllStatsInBytes | bytesSNMPv2-SMICounter32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.5 |
| cnpdAllStatsOutBytes | bytesSNMPv2-SMICounter32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.6 |
| cnpdAllStatsHCInPkts | packetsSNMPv2-SMICounter64 | .1.3.6.1.4.1.9.9.244.1.2.1.1.7 |
| cnpdAllStatsHCOutPkts | packetsSNMPv2-SMICounter64 | .1.3.6.1.4.1.9.9.244.1.2.1.1.8 |
| cnpdAllStatsHCInBytes | bytesSNMPv2-SMICounter64 | .1.3.6.1.4.1.9.9.244.1.2.1.1.9 |
| cnpdAllStatsHCOutBytes | bytesSNMPv2-SMICounter64 | .1.3.6.1.4.1.9.9.244.1.2.1.1.10 |
| cnpdAllStatsInBitRate | kilo bits per secondUnsigned32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.11 |
| cnpdAllStatsOutBitRate | kilo bits per secondUnsigned32 | .1.3.6.1.4.1.9.9.244.1.2.1.1.12 |
.1.3.6.1.4.1.9.9.244.1.3.1
· 8 columns
The cnpdTopNConfigTable is used to configure cnpdTopNStatsTable's.
.1.3.6.1.4.1.9.9.244.1.3.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdTopNConfigIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.3.1.1.1 |
| cnpdTopNConfigIfIndex | IF-MIBInterfaceIndexr/w | .1.3.6.1.4.1.9.9.244.1.3.1.1.2 |
| cnpdTopNConfigStatsSelect | CiscoPdDataTyper/w | .1.3.6.1.4.1.9.9.244.1.3.1.1.3 |
| cnpdTopNConfigSampleTime | secondsUnsigned32r/w | .1.3.6.1.4.1.9.9.244.1.3.1.1.4 |
| cnpdTopNConfigRequestedSize | Unsigned32r/w | .1.3.6.1.4.1.9.9.244.1.3.1.1.5 |
| cnpdTopNConfigGrantedSize | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.3.1.1.6 |
| cnpdTopNConfigTime | SNMPv2-SMITimeTicks | .1.3.6.1.4.1.9.9.244.1.3.1.1.7 |
| cnpdTopNConfigStatus | SNMPv2-TCRowStatusr/w | .1.3.6.1.4.1.9.9.244.1.3.1.1.8 |
.1.3.6.1.4.1.9.9.244.1.4.1
· 4 columns
A cnpdTopNStatsTable describes an ordered list of protocols.
.1.3.6.1.4.1.9.9.244.1.4.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdTopNStatsIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.4.1.1.1 |
| cnpdTopNStatsProtocolName | CiscoPdProtocolName | .1.3.6.1.4.1.9.9.244.1.4.1.1.2 |
| cnpdTopNStatsRate | SNMPv2-SMICounter32 | .1.3.6.1.4.1.9.9.244.1.4.1.1.3 |
| cnpdTopNStatsHCRate | SNMPv2-SMICounter64 | .1.3.6.1.4.1.9.9.244.1.4.1.1.4 |
.1.3.6.1.4.1.9.9.244.1.5.1
· 11 columns
The cnpdThresholdConfigTable allows the management station to create thresholds for the purpose of sending notifications if breached, and creating a history of breached thresholds.
.1.3.6.1.4.1.9.9.244.1.5.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdThresholdConfigIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.5.1.1.1 |
| cnpdThresholdConfigIfIndex | IF-MIBInterfaceIndexr/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.2 |
| cnpdThresholdConfigInterval | secondsUnsigned32r/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.3 |
| cnpdThresholdConfigSampleType | Enumerationr/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.4 |
| cnpdThresholdConfigProtocol | Unsigned32r/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.5 |
| cnpdThresholdConfigProtocolAny | SNMPv2-TCTruthValuer/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.6 |
| cnpdThresholdConfigStatsSelect | CiscoPdDataTyper/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.7 |
| cnpdThresholdConfigStartup | Enumerationr/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.8 |
| cnpdThresholdConfigRising | Unsigned32r/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.9 |
| cnpdThresholdConfigFalling | Unsigned32r/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.10 |
| cnpdThresholdConfigStatus | SNMPv2-TCRowStatusr/w | .1.3.6.1.4.1.9.9.244.1.5.1.1.12 |
.1.3.6.1.4.1.9.9.244.1.6.1
· 7 columns
The Threshold History table. Notifications are unreliable so this table provides a history of the last 5000 threshold breached events. A notification can be traced back to its cnpdThresholdHistoryEntry.
.1.3.6.1.4.1.9.9.244.1.6.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdThresholdHistoryIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.6.1.1.1 |
| cnpdThresholdHistoryConfigIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.6.1.1.2 |
| cnpdThresholdHistoryValue | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.6.1.1.3 |
| cnpdThresholdHistoryType | Enumeration | .1.3.6.1.4.1.9.9.244.1.6.1.1.4 |
| cnpdThresholdHistoryTime | SNMPv2-SMITimeTicks | .1.3.6.1.4.1.9.9.244.1.6.1.1.5 |
| cnpdThresholdHistoryProtocol | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.6.1.1.6 |
| cnpdThresholdHistoryStatsSelect | CiscoPdDataType | .1.3.6.1.4.1.9.9.244.1.6.1.1.7 |
cnpdNotificationsConfig
.1.3.6.1.4.1.9.9.244.1.7
| Object | Syntax | OID |
|---|---|---|
| cnpdNotificationsEnable | SNMPv2-TCTruthValuer/w | .1.3.6.1.4.1.9.9.244.1.7.1 |
.1.3.6.1.4.1.9.9.244.1.8.1
· 2 columns
The Supported Protocols table lists all the protocols and applications which NBAR is currently capable of recognizing.
.1.3.6.1.4.1.9.9.244.1.8.1.1
| Column | Syntax | OID |
|---|---|---|
| cnpdSupportedProtocolsIndex | Unsigned32 | .1.3.6.1.4.1.9.9.244.1.8.1.1.1 |
| cnpdSupportedProtocolsName | CiscoPdProtocolName | .1.3.6.1.4.1.9.9.244.1.8.1.1.2 |
Notifications / Traps (2)
| Notification | Variable bindings | OID |
|---|---|---|
| cnpdThresholdRisingEvent | .1.3.6.1.4.1.9.9.244.0.1 | |
| cnpdThresholdFallingEvent | .1.3.6.1.4.1.9.9.244.0.2 |
Type Definitions (3)
| Type | Syntax | Constraints |
|---|---|---|
| CiscoPdDataType | Enumeration | 9 values |
| CiscoPdProtocolIndex | Unsigned32 | |
| CiscoPdProtocolName | OctetString | 1 constraints |
Conformance Groups (6)
cnpdStatsGroup .1.3.6.1.4.1.9.9.244.2.2.1
Members (13)
cnpdTopNGroup .1.3.6.1.4.1.9.9.244.2.2.2
Members (10)
cnpdThresholdGroup .1.3.6.1.4.1.9.9.244.2.2.3
Members (16)
cnpdMIBNotificationsGroup .1.3.6.1.4.1.9.9.244.2.2.4
Notifications (2)
cnpdMIBNotificationsConfigGroup .1.3.6.1.4.1.9.9.244.2.2.5
Members (1)
cnpdSupportedProtocolsGroup .1.3.6.1.4.1.9.9.244.2.2.6
Members (1)
Compliance Statements (1)
cnpdMIBCompliance .1.3.6.1.4.1.9.9.244.2.1.1
Dependencies (7) 5 direct · 2 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
Dependency-first compile order
- SNMPv2-SMIrfc
- CISCO-SMIcisco
- SNMPv2-TCrfc
- IANAifType-MIBrfc
- SNMPv2-CONFrfc
- SNMPv2-MIBrfc
- IF-MIBrfc
- CISCO-NBAR-PROTOCOL-DISCOVERY-MIBciscoselected