首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用于Cisco路由器的QoS优先处理语音和交互流量

用于Cisco路由器的QoS优先处理语音和交互流量
EN

Server Fault用户
提问于 2010-03-27 17:52:44
回答 2查看 13.1K关注 0票数 4

我有一个思科891 W的NATing语音和数据通过10 2mbit/2 2mbit连接到互联网。当我上传大文件时,话音流量会下降。也暂停了。

我试图配置一个QoS策略,但它基本上没有做任何事情。当上传带宽饱和时,话音流量仍然会下降。

以下是我目前的心声:

代码语言:javascript
复制
class-map match-any QoS-Transactional
 match protocol ssh
 match protocol xwindows
class-map match-any QoS-Voice
 match protocol rtp audio
class-map match-any QoS-Bulk
 match protocol secure-nntp
 match protocol smtp
 match protocol tftp
 match protocol ftp
class-map match-any QoS-Management
 match protocol snmp
 match protocol dns
 match protocol secure-imap
class-map match-any QoS-Inter-Video
 match protocol rtp video
class-map match-any QoS-Voice-Control
 match access-group name Voice-Control

policy-map QoS-Priority-Output
 class QoS-Voice
    priority percent 25
  set dscp ef
 class QoS-Inter-Video
    bandwidth remaining percent 10
  set dscp af41
 class QoS-Transactional
    bandwidth remaining percent 25
     random-detect dscp-based
  set dscp af21
 class QoS-Bulk
    bandwidth remaining percent 5
     random-detect dscp-based
  set dscp af11
 class QoS-Management
    bandwidth remaining percent 1
  set dscp cs2
 class QoS-Voice-Control
    priority percent 5
  set dscp ef
 class class-default
    fair-queue

interface FastEthernet8
 bandwidth 1024
 bandwidth receive 20480
 ip address dhcp
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
 auto discovery qos
 crypto map mymap
 max-reserved-bandwidth 80
 service-policy output QoS-Priority-Output

crypto map mymap 10 ipsec-isakmp
 set peer 1.2.3.4 default
 set transform-set ESP-3DES-SHA
 match address 110
 qos pre-classify
!

fa8是我与互联网的连接。语音通信通过VPN ("mymap")传输到SIP服务器。这就是为什么我指定了"qos预分类“,我认为这是在VPN上对流量进行分类的方法。然而,即使当我平一个公共IP,同时饱和上传带宽,延迟是非常高的。

这个配置正确吗?是否有任何建议可以使这个工作为我的设置?

提前谢谢。

EN

回答 2

Server Fault用户

发布于 2010-03-29 12:07:30

如果您执行了一个show policy-map interface Fa8,您应该了解如何使用不同的QoS类。如果您在优先级类中看到了什么,我会说qos pre-qualify正在做它的工作。

票数 1
EN

Server Fault用户

发布于 2011-03-04 23:55:29

我不是思科的专家,但我们认为的专家给我们留下了一个类似的问题: QoS配置了,但什么也不做。虽然我花了很长时间才找到这个解决方案,但结果却非常简单。运行以下命令:

代码语言:javascript
复制
show mls qos interface

在我们的案例中,结果是:

代码语言:javascript
复制
QoS is disabled. pass-through mode
When QoS is enabled, following settings will be applied…

当我运行以下命令时,我们的开关终于开始执行我们购买它们的操作:

代码语言:javascript
复制
mls qos

如果这件事太明显,我很抱歉,我希望它能帮助其他人在谷歌上搜索这个问题。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/126911

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档