AR系列路由器深度应用检测的典型配置
一、组网需求:
识别出网络中的FTP流,然后对该流应用QoS策略。
二、组网图:
保证各链路连接没有问题,FTP客户端和服务器端可以互通,
三、配置步骤:
#
traffic classifier ftp operator and
if-match protocol ftp
#
traffic behavior ftp
car cir 1024000 cbs 512000 ebs 0 green pass red discard
#
qos policy ftp
classifier ftp behavior ftp
#
interface Ethernet1/0
ip address 20.0.0.1 252.0.0.0
#
interface Ethernet1/1
ip address 10.0.0.1 255.0.0.0
qos apply policy ftp inbound
qos apply policy ftp outbound
dar protocol-statistic flow-interval 5
#
return
四、注意事项::
1 在E1/1接口上应用包含对FTP报文的匹配规则的策略后,通过使用display this命令来检查配置是否成功
H3C-Ethernet1/1] display this
输出显示中若包含” qos apply policy ftp inbound”则表示配置成功.
2 在E1/1接口上接口上配置完统计信息后, 通过使用display this命令来检查配置是否成功,
[H3C-Ethernet1/1] display this
输出显示中若包含” dar protocol-statistic flow-interval 5”则表示配置成功
3 观察FTP客户端的下载速度,可以在AR28上实时调整traffic behavior ftp里面CAR CIR的配置,观察FTP客户端下载速.
查看在路由器上ethernet1/1接口上的流量统计结果,可以多执行几次,比较结果.
[H3C-Ethernet1/1] display display dar protocol-statistic interface Ethernet1/1
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作