- Auto Traffic Analysis and Protocol Generation
- Classifying Network Traffic Using NBAR
- Enabling Protocol Discovery
- Configuring NBAR Using the MQC
- DSCP-Based Layer 3 Custom Applications
- MQC Based on Transport Hierarchy
- NBAR Categorization and Attributes
- Reporting Extracted Fields Through Flexible NetFlow
- NBAR Protocol Pack
- NBAR Protocol Pack Auto Update
- NBAR2 Custom Protocol
- NBAR2 Protocol Pack Hitless Upgrade
- NBAR Web-based Custom Protocols
- NBAR2 HTTP-Based Visibility Dashboard
- NBAR Coarse-Grain Classification
- SSL Custom Application
- Fine-Grain NBAR for Selective Applications
- NBAR Custom Applications Based on DNS Name
- NBAR Customized Assistance Based on SSL or HTTP
- Finding Feature Information
- Restrictions for NBAR Web-based Custom Protocols
- Information About NBAR Web-based Custom Protocols
- How to Define NBAR Web-based Custom Protocols Match
- Configuration Examples for NBAR Web-based Custom Protocols
- Additional References for NBAR Web-based Custom Protocols
- Feature Information for NBAR Web-based Custom Protocols
NBAR Web-based Custom
Protocols
The NBAR Web-based Custom Protocols feature provides the mechanism to define custom protocols to match based on HTTP URL and/or host name.
- Finding Feature Information
- Restrictions for NBAR Web-based Custom Protocols
- Information About NBAR Web-based Custom Protocols
- How to Define NBAR Web-based Custom Protocols Match
- Configuration Examples for NBAR Web-based Custom Protocols
- Additional References for NBAR Web-based Custom Protocols
- Feature Information for NBAR Web-based Custom Protocols
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for NBAR Web-based Custom Protocols
The HTTP URL and the Host name defined for custom protocol match should be unique. The length of the protocol name should be at least 4 characters long and the prefix of the protocol name should be different from the prefixes of any other protocol name.
Information About NBAR Web-based Custom Protocols
Overview of NBAR Web-based Custom Protocols
The NBAR Web-based Custom Protocols feature provides the mechanism to define custom protocols to match the traffic based on HTTP URL and/or host name.
All 120 custom protocols can be defined to match based on HTTP URL and/or host name. While matching web-based custom protocols, the custom protocol that has both HTTP URL and the host name defined has the highest priority, followed by HTTP URL as the second priority, and then followed by Host name as the last priority. Matching a web-based sub-protocol has higher priority than matching any type of web-based custom protocol, for example the match protocol http url http-url command has a higher priority than a custom priority with the same URL configuration.
How to Define NBAR Web-based Custom Protocols Match
Defining a Web-based Custom Protocol Match
1.
enable
2.
configure
terminal
3.
ip nbar
custom
custom-protocol-name
http
{host
host-name |
url
http-url [
host
host-name]} [id
selector-id]
4.
end
DETAILED STEPS
Configuration Examples for NBAR Web-based Custom Protocols
Examples: Defining Web-based Custom Protocol Match
The following example displays how to match a custom protocol based on http url:
Router> enable Router# configure terminal Router(config)# ip nbar custom app_sales1 http url www.example.com
The following example displays how to match a custom protocol that contains the string 'example' as a part of host name:
Router> enable Router# configure terminal Router(config)# ip nbar custom app_sales1 http host *example*
Additional References for NBAR Web-based Custom Protocols
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Custom Protocols |
Creating a Custom Protocol module |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for NBAR Web-based Custom Protocols
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
NBAR Web-based Custom Protocols Scalability |
Cisco IOS XE Release 3.13S |
The NBAR Web-based Custom Protocols Scalability feature enables defining custom protocols match based on http host name and/or url. The following command was introduced or modified: ip nbar custom. |