Common questions and answers regarding Cisco® Network-Based Application Recognition (NBAR) follow.
Q. What is NBAR?
A. NBAR, an important component of the Cisco Content Networking architecture, is a new classification engine in Cisco IOS® Software that can recognize a wide variety of applications, including Web-based applications and client/server applications that dynamically assign TCP or User Datagram Protocol (UDP) port numbers. After the application is recognized, the network can invoke specific services for that particular application. NBAR currently works with quality-of-service (QoS) features to help ensure that the network bandwidth is best used to fulfill your business objectives.
Q. Why would I want NBAR?
A. Today's applications require high performance to help ensure competitiveness in an increasingly fast-paced business environment. The network can provide a variety of services to help ensure that your mission-critical applications receive the bandwidth they need to provide this performance. The difficulty is that today's Internet-based and client-server applications make it difficult for the network to identify and provide the proper level of control you need. NBAR solves this problem by adding intelligent network classification to your infrastructure.
Q. How does NBAR fit into the Content Networking framework?
A. NBAR provides intelligent network classification that can be used to determine which services the network should provide. NBAR currently works with QoS features so that one can provide differentiated classes of service (CoSs) to different applications.
Q. What are some of the benefits of using NBAR?
A. The benefits include the following:
– Help Ensure Performance for Mission-Critical Applications: NBAR allows the network to provide differentiated services to each application. You can provide absolute priority and guaranteed bandwidth to your mission-critical applications such as Oracle or an application that runs on a particular Web page. At the same time you can limit the bandwidth consumed by the less essential applications. The end result is that users can access their mission-critical applications with minimal delay without the need to upgrade costly WAN links or cutting off access to commonly used, but not mission-critical, applications.
– Reduce WAN Expenses: In many parts of the world, and especially between countries, telecommunications links can still be prohibitively expensive. This leads to a dilemma for the network manager: on the one hand you need to provide access to new client-server and Internet-enabled applications, while on the other hand you need to control WAN service costs. NBAR provides a solution to this problem by enabling you to intelligently utilize WAN bandwidth so that you can provide acceptable service levels with the minimum possible bandwidth.
– Manage Web Response: The Web is now a critical business resource in many enterprises, for both internal and external communications. Employees, partners, and customers must have access to the Web pages they need without such problems as slow downloads or Web-based application failure. NBAR allows you to identify the Web pages and type of Web content that you deem critical.
– Improve VPN Performance: VPNs often reduce networking costs while providing increased flexibility. Unfortunately, the service quality in a VPN is often difficult to guarantee. Running NBAR and VPN concurrently in the same router solves this problem by identifying mission-critical traffic before it is encrypted, allowing the network to apply the appropriate QoS controls. By running both VPN and NBAR concurrently, we help ensure that the packets are processed in the correct order to achieve both maximum security and the appropriate QoS. NBAR can also mark the tunnel packet so that the service provider can provide differentiated service to different applications on the service provider's WAN.
– Improve Multiservice Performance: Multiservice networks allow you to combine your data, voice, and video requirements into one unified network. Unfortunately, each of these services requires different network characteristics. NBAR is able to intelligently identify the type of each packet and provide the proper network characteristics.
Q. What distinguishes the Cisco NBAR offering?
A. Enterprises that implement Cisco NBAR will be able to intelligently classify network traffic without the need for costly additions to the network infrastructure. Other solutions require the addition of an exterior device for each and every WAN link. The Cisco solution requires a simple software upgrade to your network's existing routers.
Q. Will NBAR be able to support new and emerging applications?
A. Cisco Systems® created NBAR to be extremely flexible. Cisco can deliver new application support easily through a protocol description language module (PDLM). PDLMs contain the rules used by NBAR to recognize an application and can usually be loaded without the need for a Cisco IOS Software upgrade or router reboot.
Details
Q. What platforms and Cisco IOS® Software releases support NBAR?
A. NBAR supports a wide range of network protocols, including the stateful protocols that were difficult to classify before NBAR. Tables 1 through 5 show some of the supported protocols and descriptions.
Table 1. Peer-to-Peer Protocols
Peer-to-Peer Protocol
Type
Description
BitTorrent
TCP
File-sharing application
Gnutella
TCP
File-sharing application
Kazaa2
TCP
File-sharing application
eDonkey
TCP
File-sharing application
Fasttrack
TCP
File-sharing application
Napster
TCP
File-sharing application
Table 2. VoIP Protocols
VoIP Protocol
Type
Description
SCCP
TCP
Skinny Call Control Protocol
SIP
TCP and UDP
Session Initiation Protocol
MGCP
TCP and UDP
Media Gateway Control Protocol
H.323
TCP and UDP
An ITU-T standard for digital videoconferencing over TCP/IP networks
A. You can classify HTTP traffic by URL, host, or MIME type. When classifying by URL and host, you can use full regular expressions to define the class. For example, you could put everything under the /stock/ directory into a single class.
Q. Can NBAR provide smaller granularity than just by application?
A. The packet description language allows NBAR to classify not just the application, but also subprocesses within an application. This is what NBAR uses for HTTP classification today.
Q. How do I add support for a new application?
A. Cisco will provide new PDLM files to describe new and requested applications. The PDLM can usually be loaded without changing the Cisco IOS Software image and without a reload.
Q. Which services can be used with NBAR?
A. The following are the services that can be used with NBAR:
– Guaranteeing bandwidth with Class-Based Weighted Fair Queuing (CBWFQ)
– Policing and limiting bandwidth
– Marking for differentiated service downstream or from the service provider (ToS or Diff Serv code points [DSCP])
– Drop policy to avoid congestion (Weighted Random Early Detection [WRED])
Q. Which switching paths will NBAR support on Cisco IOS Software?
A. NBAR supports the Cisco Express Forwarding switching path.
Q. What type of performance can I expect with NBAR?
A. NBAR can classify stateful protocols with 300-byte packets with average flow lengths at 90 Mbps with just a 15 percent increase in CPU. For protocols classified by static port numbers, NBAR performs about the same as traditional access control lists (ACLs).
Q. How do I configure NBAR?
A. NBAR can be configured by the command-line interface (CLI) as part of the new modular CLI for QoS. The modular CLI separates the configuration process into two parts: the definition of classes and then the application of QoS mechanisms to each class. NBAR can be used to define to which class a given application belongs.
Q. How do I manage NBAR with an application other than the CLI?
A. QoS Policy Manager (QPM) 1.1 will be able to manage NBAR. QPM provides an enterprisewide QoS policy management system that can provide policy for many devices within the network. QoS Device Manager, also known as QDM, is a network management application used for configuring and monitoring QoS functionality within Cisco routers and supports NBAR.
Q. Is a MIB available to monitor NBAR?
A. Yes. The CISCO-NBAR-PROTOCOL-DISCOVERY MIB is available for monitoring NBAR. This MIB contains information such as input and output byte and packet counts.
Q. What information is provided by the protocol discovery feature?
A. Protocol discovery shows you the mix of applications currently running on the network. This helps you define QoS classes and polices, such as how much bandwidth to provide to mission-critical applications and how to determine which protocols should be policed. The following per-protocol, bidirectional statistics are available:
– Packet and byte counts
– Bit rates
Q. How much memory does NBAR use?
A. NBAR uses 150 bytes of DRAM to track each stateful protocol flow. By default, NBAR allocates 1 MB of memory for flow resources, allowing NBAR to track about 5000 stateful flows without allocating more memory. NBAR will automatically allocate additional memory if needed.
Q. Can NBAR classify IPX traffic?
A. IPX traffic is currently not being classified by NBAR.