隧道接口上的IOS QOS服务策略传递

我在一个网络上有一些SIP电话通过IPIP隧道到达服务器.

我已设置QOS规则以观察适当的VOIP流量,如下所示:

class-map match-any class-voice
  description Voice
  match  dscp af11
  match  dscp cs4 
  match  dscp cs3 
!
policy-map qos-out
  class class-voice
   priority 100
!
interface Tunnel1
 description Tunnel to VOIP Server
 ip address 10.10.0.2 255.255.255.252
 tunnel source FastEthernet0/1
 tunnel destination 172.16.100.100
 tunnel mode ipip
!
interface FastEthernet0/1
 description Internet
 bandwidth 1000
 ip address dhcp
 service-policy output qos-out

我的麻烦是类映射没有得到匹配,因为我无法将策略分配给Tunnel1,只有FastEthernet0 / 1.

当然必须有一些东西让这项工作……我该怎么办?

解决方法

我非常怀疑优先级队列可以以这种方式应用于隧道接口.
QoS功能适用于实际带宽竞争的对象 – 物理接口.

如果您的隧道仅用于SIP或其他高优先级流量,您可以将其整体匹配并添加到您的类地图,如下所示:

ip access-list extended sip-tunnel
 permit ipinip any host 172.16.100.100
!
class-map match-any class-voice
  description Voice
  match  dscp af11
  match  dscp cs4 
  match  dscp cs3
  match  access-group name sip-tunnel
!

UPD:在某些情况下,原始数据包的DSCP字段被复制到隧道头.您可以针对特定情况选择此选项(Cisco IOS ipinip).成功之后,您不需要最后一个匹配,初始配置应该可以正常工作.

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...