QoS mechanisms——分类(NBAR)

NBAR:network-based application recognition
基于网络层的应用识别
NBAR 解决了如何分类client/server (应用层流量)和 web-based applications的问题。
NBAR 执行以下功能:
1.识别应用和协议 (Layer 4 to Layer 7)
2.协议发现(不同协议之间的区别)
3.提供流量统计
通过 NBAR对流量进行归类,能够对这些类执行random early detection(随机早期检测), class-based queuing(基于队列的分类), and policing QOS 的PHP行为
新的应用程序很容易支持加载PDLM(数据包描述语言模块),这也就是为什么NBAR可以识别上层流量
在这里插入图片描述
NBAR 可以用于分类的的应用程序 :
1.静态分配的TCP和UDP端口号
2.非UDP和非TCP IP协议
3.连接建立过程中协商动态分配的TCP和UDP端口号(需要状态检测)
4.子端口分类:HTTP分类,或者视频,图片,文字流量的分类 (URLs MIME or host names …)
5.MIME:多用途互联网邮件扩展类型,设定某种扩展名的文件用一种应用程序来打开的方式类型,当该扩展名文件被访问的时候,浏览器会自动使用指定应用程序来打开,多用于指定一些客户端自定义的文件名,以及一些媒体文件。
6.分类基于深度包检测和多个应用程序特定的属性(RTP payload classification)
在这里插入图片描述PDLM:packet description language module
PDLM从路由器的闪存中加载,对新的协议或应用程序的识别;
可以在运行时加载扩展PDLM,用于识别新的协议和应用;
可用于增强现有的协议识别能力;
PDLMs允许NBAR在不使用新的IOS下,进行识别新的协议;
PDLMs 必须由思科工程师进行生产;
目前可提供的PDLMs包括:
Peer-to-peer file-sharing applications
KaZaa, Morpheus, Grokster, and Gnutella
Citrix
Novadigm Enterprise Desktop Manager
protocol discovery
协议发现实时分析应用流量模式,发现在网络上运行的流量。
提供双向,每个接口,每个协议的统计信息:
5-minute bit rate
packet counts
byte counts
重要的检测工具(支持cisco QoS管理工具)
生成实时应用统计
在关键网络位置提供流量分布信息
配置协议发现:
在这里插入图片描述注意:Requires that CEF be enabled before protocol discovery。
在这里插入图片描述配置静态协议的NBAR
在这里插入图片描述Configures the match criteria for a class map on the basis of the specified protocol.
Static protocols are recognized based on the well-known destination port number.
Dynamic protocols are recognized by inspecting the session.
A match not command can be used to specify a QoS policy value that is not used as a match criterion. In this case, all other values of that QoS policy become successful match criteria.
在这里插入图片描述Configure NBAR to search for a protocol or protocol name using a port number other than the well-known port.
Up to 16 additional port numbers can be specified.
在这里插入图片描述Specifies the location of the Packet Description Language Module file to extend the NBAR capabilities of the router.
The filename is in the URL format (for example, flash://citrix.pdlm).

案例:
在这里插入图片描述HTTP is a static protocol using a well-known port number 80. However, other port numbers may also be in use.
The ip nbar port-map command will inform the router that other ports are also used for HTTP.

在这里插入图片描述案例2
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值