Previous Page Next Page

Technology-Specific MIBs for Accounting and Performance

So far, this chapter has discussed MIB objects for generic performance monitoring, which can be applied across any network. For a detailed analysis or for troubleshooting help, you should also consider technology-specific monitoring variables. A classic example is Spanning Tree Protocol (STP) in a LAN environment. A misconfigured spanning-tree environment can result in drastically reduced performance even though all basic monitoring parameters (such as CPU and link utilization) indicate a normal situation. In contrast to the preceding section, this section offers pointers on how to retrieve accounting and performance management information associated with technology-specific environments, such as Frame Relay, MPLS, QoS, IPv6, VLAN, and others.

Because most data networks are based on Frame Relay or MPLS, only these two transport technologies are discussed in detail. To focus on accounting and performance management, the MIB selection criteria were based on the question "Does the MIB contain relevant counters?" For example, at least four MPLS MIBs exist. The MPLS LSR MIB (RFC 3813) and MPLS Traffic Engineering MIB (RFC 3812) offer the most details.

Frame Relay

Frame Relay is a mature technology. Adequate monitoring functionality is provided by the IETF Frame Relay MIB (RFC 2115), which is supplemented by the CISCO-FRAME-RELAY-MIB. To gain the most benefit from using these MIBs, an understanding of Frame Relay concepts is helpful.

Relevant objects from the FRAME-RELAY-DTE-MIB (RFC 2115) are as follows:

Note

The variables frCircuitCommittedBurst and frCircuitThroughput are configurable operational parameters related to outgoing traffic. They cannot be used to monitor the incoming burst and throughput traffic rate. The CISCO-FRAME-RELAY-MIB provides additional monitoring parameters.


Relevant objects from the CISCO-FRAME-RELAY-MIB (read-only) are as follows:

MPLS

MPLS is a standardized and widely deployed technology today, for both service provider networks and large enterprises. Several MIBs are available, standardized by the IETF, with extensions for Operation, Administration, and Maintenance (OAM) capabilities. From an accounting and performance perspective, these MIBs help an operator increase the availability of the MPLS network, carry out traffic engineering and network redesign, build the core traffic matrix, and feed the data into a billing system.

The following sections detail the MIBs that are relevant to an MPLS environment.

MPLS Label Switch Router (LSR) MIB (RFC 3813)

This MIB can be used for configuration and monitoring purposes. Ingress and egress MPLS statistics are available for accounting and performance management. A global table for each interface gathers the total amount of traffic, and two tables per segment collect LSR-specific information. RFC 3813 contains 32- and 64-bit counters. Three tables are of main interest:

MPLS Traffic Engineering MIB (RFC 3812)

These MIB modules include managed object definitions for MPLS Traffic Engineering (TE). Traffic engineering is the process of identifying and selecting paths through the MPLS network. This enables load balancing on parallel links and choosing paths based on performance metrics such as delay, bandwidth, and utilization. The ultimate goal is to increase availability and reliability while optimizing utilization and traffic performance. TE is a complex task, and the details are outside the scope of this book. However, remarkable accounting and performance statistics can be polled from the MPLS-TE-MIB. The mplsTunnelTable is the configuration part, which creates and modifies MPLS tunnels between an originating LSR and a remote endpoint, the terminating LSR:

Note

More details can be found in MPLS Network Management: MIBs, Tools, and Techniques by Thomas Nadeau (Morgan Kaufmann, 2002).


IPv6

IP version 6 is a the IP protocol designed to become the successor of IP version 4, the Internet protocol that is predominantly deployed and extensively used throughout the world. In 1990, the IETF identified the potential issue of a lack of IPv4 addresses and started the IPNG working group. In 1995, RFC 1883 defined the IPv6 specification. RFC 2460 obsoletes RFC 1883 and is the present standard for IPv6. The first MIBs for IPv6 were standardized in 1998 as RFC 2465 and RFC 2466. At that time, the approach was to have separate tables for IPv4 and IPv6 addresses. However, this approach turned out to be unsuccessful, with only a limited number of implementations. Starting in 2001, the new approach was to extend the existing MIBs to manage IPv4 and IPv6 in combined tables. This applies particularly for RFC 2011 (SNMPv2 MIB for IP using SMIv2), RFC 2012 (SNMPv2 MIB for TCP using SMIv2), RFC 2013 (SNMPv2 MIB for UDP using SMIv2), and RFC 2096 (IP Forwarding Table MIB).

RFC 4293 is the IETF's proposed standard and defines the MIB for IP, unified for IPv4 and IPv6. RFC 4022 is the MIB counterpart for TCP, and RFC 4113 is the MIB for UDP. The new MIBs obsolete RFCs 2011, 2012, 2013, 2465, and 2466. Implementations at the obsolete MIB are no longer suggested by the IETF.

From an accounting and performance perspective, these MIBs offer basic interface counters, which are useful to distinguish between IPv4 and IPv6 traffic. From an operator's perspective, this is one of the most relevant monitoring tasks during the network's IPv4-to-IPv6 transition, because it answers the question "How much traffic has already been migrated to IPv6 and which percentage remains on IPv4?"

The following extract from RFC 4293 is a representative example of the other MIBs:

"The IP statistics tables (ipSystemStatsTable and ipIfStatsTable) contain objects to count the number of datagrams and octets that a given entity has processed. Unlike the previous attempt, this document uses a single table for multiple address types. Typically, the only two types of interest are IPv4 and IPv6; however, the table can support other types if necessary. The first table, ipSystemStatsTable, conveys system-wide information. (That is, the various counters are for all interfaces and not a specific set of interfaces.) Its index is formed from a single sub-id that represents the address type for which the statistics were counted. The second table, ipIfStatsTable, conveys interface-specific information. Its index is formed from two sub-ids. The first represents the address type (IPv4 and IPv6), and the interface within that address type is represented by the second sub-id."

Cisco never implemented the deprecated IPv6 MIBs (RFC 2465 and RFC 2466). Instead, the early drafts of the updated MIBs are partly supported; however, the interface statistics to differentiate IPv4 and IPv6 traffic at the interface level are not implemented:

You can find the latest status updates for Cisco IPv6 MIB implementation at http://www.cisco.com/go/ipv6.

SNMP can be configured over IPv6 transport so that an IPv6 host can perform SNMP queries and receive SNMP notifications from a device running Cisco IOS with IPv6 enabled. The following MIBs can be configured with SNMP over IPv6:

Note

CISCO-CONFIG-COPY-MIB and CISCO-FLASH-MIB support IPv6 addressing if FTP, TFTP, or Remote Copy Protocol (RCP) is used.


SNMP over IPv6 transport is initially supported in IOS 12.0(27)S; more features are added to IOS 12.0(30)S and 12.3(14)T.

NetFlow also supports the collection of IPv6-related flows since IOS 12.3(7)T; however, the flow export is still based on IPv4.

Multicast

In general, network conversations can be distinguished as one-to-one traffic (unicast), one-to-many conversations (multicast), or one-to-all transmissions (broadcast). This separation is relevant for the network design as well as accounting and performance monitoring, because it is relevant to have accounting and performance statistics per unicast, multicast, and broadcast traffic. Historically, monitoring of multicast traffic was an issue, because there was no separation between multicast and broadcast traffic. The ifTable from RFC 1213 gathers only unicast (ifInUcastPkts) and nonunicast (ifInNUcastPkts) traffic.

Today, at least three different measurement approaches exist for monitoring multicast traffic: the interface group MIB (RFC 2863), the RMON-MIB (RFC 1757), and the Multicast Routing MIB for IPv4 (RFC 2932):

Interface Group MIB (RFC 2863)

The interface group MIB IF-MIB distinguishes between unicast, multicast, and broadcast packets and adds 64-bit high-capacity counters:

RMON-MIB (RFC 1757)

The RMON-MIB also separates multicast and broadcast packets (etherStatsBroadcastPkts, etherStatsMulticastPkts). Implementations of RFC 1757 can gather multicast packets per interface; however, no statement about the packets belonging to a specific multicast group can be made. This might be sufficient from a performance perspective; however, a billing application would require identifying the multicast group details.

Multicast Routing MIB for IPv4 (RFC 2932)

This MIB assigns packets to the related multicast groups (ipMRouteGroup). It gathers multicast routing status information plus traffic statistics. A table (ipMRouterInterfaceTable) offers per-interface octet counters for ingress and egress multicast traffic. The MIB contains high-capacity (64-bit) counters and has three performance and accounting MIB tables:

VLAN

No specific VLAN performance MIB exists, so you need to leverage the existing MIBs (such as MIB-II RFC 1213, interfaces group MIB RFC 2863, TCP-MIB RFC 2012) to collect performance details in a VLAN environment. For example, STP can become an issue if it is configured incorrectly or if link-up/link-down causes time-consuming STP operations. Therefore, it is suggested that you poll MIB objects from the CISCO-STACK-MIB and the BRIDGE-MIB (RFC 1493). For example, if a 10-Mbps link and a 1-Gbps link are parallel connections between two switches, under normal circumstances the 1-Gbps link should be in forwarding mode, and the 10-Mbps link should be in blocking mode. From a monitoring perspective, monitor the LAN. For each VLAN, identify which ports of a network element are in forwarding or blocking spanning tree mode. Afterwards, ensure that backup links with less capacity (10 Mbps in the preceding example) are not used during normal operations. The cvbStpForwardingMap object from the CISCO-VLAN-BRIDGING-MIB returns this information (1 = forwarding; 0 = disabled, blocking, listening, learning, broken, or nonexistent). Network management tools such as CiscoWorks can draw a nice map that illustrates the spanning tree in the LAN.

Community String Indexing

Retrieving the content of the BRIDGE-MIB returns the MAC addresses associated with all VLANs, because there is no notion of the VLANS indexing in the MIB specification. However, a special feature called community string indexing lets you retrieve a particular instance of the MIB. In these cases, community string indexing is provided to access each instance of the MIB. The syntax is community string@instance number. For example, the Catalyst switch includes one instance of the BRIDGE-MIB for each VLAN. If the read-only community string is public and the read-write community string is private, you could use public@25 to read the BRIDGE-MIB for VLAN 25 and use private@33 to read and write the BRIDGE-MIB for VLAN 33.

Note

Community string indexing does not affect access to MIBs that have only one instance. Thus, public@25 can be used to access RFC1213-MIB at the same time that the BRIDGE-MIB for VLAN 25 is accessed.


Community string indexing was created before the introduction of SNMPv3. SNMPv3 offers the notion of context instead of the community string index. The VLAN number is replaced by the VLAN name (vlan-25, vlan-33); the names are displayed with the show snmp context CLI command.

Note

Note that community string indexing also applies to a number of other MIBs.


Additional Monitoring Parameters

The following checklist helps you identify configuration errors in a VLAN environment:

More details on VLAN monitoring can be found in Chapter 5.

Traffic Management and Control

Two different approaches for traffic management and control are briefly described in this section: rate limiting and service classes. Even though both methods use different technologies, related parts from an accounting and performance perspective are the traffic counters. Statistics such as the number of forwarded and dropped packets are collected, optionally per class of service.

CISCO-CAR-MIB

Cisco weighted rate limit, also known as Committed Access Rate (CAR), is a method for traffic control. It lets you regulate traffic at the network element level by configuring sets of rate limits to packets flowing into and out of an interface. Each rate limit has a configurable action associated with specific traffic conditions. The CISCO-CAR-MIB provides weighted rate-limit packet-filtering information. Rate-limit actions are defined per interface and traffic direction (ingress or egress) separately. Whereas the MIB also provides a set of read-write objects for configuration purposes, the described MIB objects gather traffic statistics related to accounting and performance management. The CISCO-CAR-MIB has 32-bit counters and 64-bit (high-capacity [HC]) counters.

Relevant MIB objects (read-only) are as follows:

These objects are specifically defined in a table (ccarStatTable) with separate entries (ccarStatEntry) for each interface (ifIndex) and for each direction (ingress/egress).

CISCO-CLASS-BASED-QOS-MIB

This MIB supplies QoS information for Cisco network elements that support the modular quality of service command-line interface (MQC). It provides configuration capabilities as well as monitoring statistics, including summary counts and rates by traffic class before and after the enforcement of QoS policies. In addition, detailed feature-specific statistics are available for select PolicyMap features. Policy actions are defined per interface and traffic direction (ingress or egress). The CISCO-CLASS-BASED-QOS-MIB supports 32-bit counters as well as 64-bit (HC) counters. From an accounting and performance management perspective, the following tables are significant. This MIB is structurally very similar to the IETF DIFFSERV-MIB (RFC 3289).

The following relevant MIB tables for QoS contain statistical information only; no configuration information is associated with them. They are indexed by the instance indexes, such as cbQosPolicyIndex and cbQosObjectsIndex:

This MIB is quite comprehensive and complex; a good understanding of the QoS mechanisms is a suggested prerequisite before you get started. Reading this MIB is recommended, because it is well structured and presents additional details and examples.

Note

Cisco DQOS Exam Certification Guide by Wendell Odom and Michael Cavanaugh (Cisco Press, 2003) is an excellent resource for information on QoS. Although this book is geared toward the Cisco DQOS exam #9E0-601 and QOS exam #642-641, it is considered the definitive Cisco Press book on QoS, going far beyond what is covered on the specific QOS and DQOS exams.


Telephony

Telephony is a term that covers a wide range of topics, including legacy telephony networks with dedicated infrastructure over dial-in connections, ISDN links, and legacy voice encapsulated in IP-to-IP telephony. This section covers MIB-related telephony details. Chapter 17, "Billing Scenarios," discusses how to gather telephony statistics from multiple sources.

Performance and accounting statistics can be retrieved from the various Cisco voice gateways that are implemented in Cisco IOS. The following terminology provides guidance for understanding accounting and performance collection in a VoIP environment. The ITU-T H.323 standard specifies four VoIP components:

Table 4-5 compares the different relevant MIBs and assigns them to the related voice technology.

Table 4-5. Voice MIB Technology Comparison
 DialISDNVoIP
CISCO-CALL-HISTORY-MIBcheck mark  
DIAL-CONTROL-MIB (RFC 2128)check markcheck mark 
CISCO-DIAL-CONTROL-MIBcheck markcheck mark 
CISCO-VOICE-DIAL-CONTROL-MIBcheck markcheck markcheck mark
CISCO-VOICE-COMMON-DIAL-CONTROL-MIBcheck markcheck markcheck mark
CISCO-CAS-IF-MIBcheck mark  
CISCO-CALL-APPLICATION-MIB  check mark
CISCO-DSP-MGMT-MIB  check mark
CISCO-VOICE-ANALOG-IF-MIBcheck mark  
CISCO-VOICE-IF-MIBcheck markcheck mark 
CISCO-GATEKEEPER-MIB  check mark
CISCO-POP-MGMT-MIBcheck markcheck mark 


The following MIBs supply general information on the gateways or gatekeepers:

The following MIBs grant reporting explicitly for performance and accounting details, for both completed calls and calls in progress:

The following sections offer more details on the CISCO-CALL-HISTORY-MIB and CISCO-VOICE-DIAL-CONTROL-MIB, because these are the two main MIBs for accounting and performance management.

Dial Control Management MIB (RFC 2128)

RFC 2128 provides statistics for circuit-switched telephony networks (ISDN) and dial-in networks. For accounting purposes, these two groups should be monitored:

The CISCO-VOICE-DIAL-CONTROL-MIB and CISCO-VOICE-COMMON-DIAL-CONTROL-MIB are extensions to RFC 2128.

CISCO-VOICE-DIAL-CONTROL-MIB

This MIB consists of four groups and a trap definition:

CISCO-VOICE-COMMON-DIAL-CONTROL-MIB

This MIB also extends RFC 2128 by offering voice-related objects that are common across more than one network encapsulation (such as VoIP, VoATM, and VoFR). These objects are structured into two MIB groups:

CISCO-CALL-HISTORY-MIB

The Call History MIB includes ciscoCallHistoryTable, which contains information about specific calls. Here is a selection of relevant table elements:

SIP MIB

The MIBs just described were created for legacy telephony services. Currently the IT industry is strongly moving toward Session Initiation Protocol (SIP)-based services, such as IP Multimedia Subsystem (IMS). SIP is an application-layer signaling protocol for creating, modifying, and terminating multimedia sessions, such as Internet telephone calls and multimedia conferences. SIP is defined in RFC 3261. Whereas the earlier voice architectures were built on central voice control, SIP is designed as a peer-to-peer protocol. The MIB for SIP is in a late draft status (draft-ietf-sip-mib-12.txt), close to completion, but it has not been implemented yet.

The SIP MIB describes a set of managed objects that are used to manage SIP entities, which include User Agents, Proxy, Redirect, and Registrar servers. The goal is to provide a basic set of management functions for SIP devices. (Managing SIP applications and services is out of the scope of this discussion.) These include basic device configuration operations, which also means that the MIB has both read-only and read-write objects. Although this book is not a SIP reference, the major SIP entities are as follows:

Figure 4-2 illustrates the different SIP components.

Figure 4-2. SIP Architecture


Four modules are specified in the SIP MIB:

Previous Page Next Page