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:

  1. To enable/disable Protocol Discovery per interface.
  2. Display the protocols/applications which NBAR currently recognizes.
  3. To display various Protocol Discovery statistics.
  4. A configurable top N table which lists protocols using user defined criteria.
  5. To configure notifications (traps) based on configurable statistic thresholds.
  6. 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.

Translate the module identity
/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'
Walk the MIB subtree
/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'
Command help
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
OID Tree

The cnpdStatusTable is used to enable and disable Protocol Discovery on an interface.

cnpdStatusEntry .1.3.6.1.4.1.9.9.244.1.1.1.1
Column Syntax OID
cnpdStatusPdEnableSNMPv2-TCTruthValuer/w.1.3.6.1.4.1.9.9.244.1.1.1.1.1
cnpdStatusLastUpdateTimeSNMPv2-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
OID Tree

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 …

cnpdAllStatsEntry .1.3.6.1.4.1.9.9.244.1.2.1.1
Column Syntax OID
cnpdAllStatsProtocolsIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.2.1.1.1
cnpdAllStatsProtocolNameCiscoPdProtocolName.1.3.6.1.4.1.9.9.244.1.2.1.1.2
cnpdAllStatsInPktspacketsSNMPv2-SMICounter32.1.3.6.1.4.1.9.9.244.1.2.1.1.3
cnpdAllStatsOutPktspacketsSNMPv2-SMICounter32.1.3.6.1.4.1.9.9.244.1.2.1.1.4
cnpdAllStatsInBytesbytesSNMPv2-SMICounter32.1.3.6.1.4.1.9.9.244.1.2.1.1.5
cnpdAllStatsOutBytesbytesSNMPv2-SMICounter32.1.3.6.1.4.1.9.9.244.1.2.1.1.6
cnpdAllStatsHCInPktspacketsSNMPv2-SMICounter64.1.3.6.1.4.1.9.9.244.1.2.1.1.7
cnpdAllStatsHCOutPktspacketsSNMPv2-SMICounter64.1.3.6.1.4.1.9.9.244.1.2.1.1.8
cnpdAllStatsHCInBytesbytesSNMPv2-SMICounter64.1.3.6.1.4.1.9.9.244.1.2.1.1.9
cnpdAllStatsHCOutBytesbytesSNMPv2-SMICounter64.1.3.6.1.4.1.9.9.244.1.2.1.1.10
cnpdAllStatsInBitRatekilo bits per secondUnsigned32.1.3.6.1.4.1.9.9.244.1.2.1.1.11
cnpdAllStatsOutBitRatekilo 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
OID Tree

The cnpdTopNConfigTable is used to configure cnpdTopNStatsTable's.

cnpdTopNConfigEntry .1.3.6.1.4.1.9.9.244.1.3.1.1
Column Syntax OID
cnpdTopNConfigIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.3.1.1.1
cnpdTopNConfigIfIndexIF-MIBInterfaceIndexr/w.1.3.6.1.4.1.9.9.244.1.3.1.1.2
cnpdTopNConfigStatsSelectCiscoPdDataTyper/w.1.3.6.1.4.1.9.9.244.1.3.1.1.3
cnpdTopNConfigSampleTimesecondsUnsigned32r/w.1.3.6.1.4.1.9.9.244.1.3.1.1.4
cnpdTopNConfigRequestedSizeUnsigned32r/w.1.3.6.1.4.1.9.9.244.1.3.1.1.5
cnpdTopNConfigGrantedSizeUnsigned32.1.3.6.1.4.1.9.9.244.1.3.1.1.6
cnpdTopNConfigTimeSNMPv2-SMITimeTicks.1.3.6.1.4.1.9.9.244.1.3.1.1.7
cnpdTopNConfigStatusSNMPv2-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
OID Tree

A cnpdTopNStatsTable describes an ordered list of protocols.

cnpdTopNStatsEntry .1.3.6.1.4.1.9.9.244.1.4.1.1
Column Syntax OID
cnpdTopNStatsIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.4.1.1.1
cnpdTopNStatsProtocolNameCiscoPdProtocolName.1.3.6.1.4.1.9.9.244.1.4.1.1.2
cnpdTopNStatsRateSNMPv2-SMICounter32.1.3.6.1.4.1.9.9.244.1.4.1.1.3
cnpdTopNStatsHCRateSNMPv2-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
OID Tree

The cnpdThresholdConfigTable allows the management station to create thresholds for the purpose of sending notifications if breached, and creating a history of breached thresholds.

cnpdThresholdConfigEntry .1.3.6.1.4.1.9.9.244.1.5.1.1
Column Syntax OID
cnpdThresholdConfigIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.5.1.1.1
cnpdThresholdConfigIfIndexIF-MIBInterfaceIndexr/w.1.3.6.1.4.1.9.9.244.1.5.1.1.2
cnpdThresholdConfigIntervalsecondsUnsigned32r/w.1.3.6.1.4.1.9.9.244.1.5.1.1.3
cnpdThresholdConfigSampleTypeEnumerationr/w.1.3.6.1.4.1.9.9.244.1.5.1.1.4
cnpdThresholdConfigProtocolUnsigned32r/w.1.3.6.1.4.1.9.9.244.1.5.1.1.5
cnpdThresholdConfigProtocolAnySNMPv2-TCTruthValuer/w.1.3.6.1.4.1.9.9.244.1.5.1.1.6
cnpdThresholdConfigStatsSelectCiscoPdDataTyper/w.1.3.6.1.4.1.9.9.244.1.5.1.1.7
cnpdThresholdConfigStartupEnumerationr/w.1.3.6.1.4.1.9.9.244.1.5.1.1.8
cnpdThresholdConfigRisingUnsigned32r/w.1.3.6.1.4.1.9.9.244.1.5.1.1.9
cnpdThresholdConfigFallingUnsigned32r/w.1.3.6.1.4.1.9.9.244.1.5.1.1.10
cnpdThresholdConfigStatusSNMPv2-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
OID Tree

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.

cnpdThresholdHistoryEntry .1.3.6.1.4.1.9.9.244.1.6.1.1
Column Syntax OID
cnpdThresholdHistoryIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.6.1.1.1
cnpdThresholdHistoryConfigIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.6.1.1.2
cnpdThresholdHistoryValueUnsigned32.1.3.6.1.4.1.9.9.244.1.6.1.1.3
cnpdThresholdHistoryTypeEnumeration.1.3.6.1.4.1.9.9.244.1.6.1.1.4
cnpdThresholdHistoryTimeSNMPv2-SMITimeTicks.1.3.6.1.4.1.9.9.244.1.6.1.1.5
cnpdThresholdHistoryProtocolUnsigned32.1.3.6.1.4.1.9.9.244.1.6.1.1.6
cnpdThresholdHistoryStatsSelectCiscoPdDataType.1.3.6.1.4.1.9.9.244.1.6.1.1.7

ScalarscnpdNotificationsConfig

cnpdMIBObjects · .1.3.6.1.4.1.9.9.244.1.7
Object Syntax OID
cnpdNotificationsEnableSNMPv2-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
OID Tree

The Supported Protocols table lists all the protocols and applications which NBAR is currently capable of recognizing.

cnpdSupportedProtocolsEntry .1.3.6.1.4.1.9.9.244.1.8.1.1
Column Syntax OID
cnpdSupportedProtocolsIndexUnsigned32.1.3.6.1.4.1.9.9.244.1.8.1.1.1
cnpdSupportedProtocolsNameCiscoPdProtocolName.1.3.6.1.4.1.9.9.244.1.8.1.1.2

Notifications / Traps (2)

Type Definitions (3)

TypeSyntaxConstraints
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
  1. SNMPv2-SMIrfc
  2. CISCO-SMIcisco
  3. SNMPv2-TCrfc
  4. IANAifType-MIBrfc
  5. SNMPv2-CONFrfc
  6. SNMPv2-MIBrfc
  7. IF-MIBrfc
  8. CISCO-NBAR-PROTOCOL-DISCOVERY-MIBciscoselected