|
实在找不到应该在哪里发这个了,看这里人较多,就发这里吧.
要实现的目标为:在网络拥塞的情况下,要优先保证dscp值高的数据传输.即dscp值为cs7的要比cs6的高,依此类推,cs1要比default的高.
(只取了cs1-cs7,ef共8个值,default为没有设置dscp值)
空闲的时候,当没有高优先级的数据传输时,低优先级的可以使用空闲的带宽传输数据.
现在出现的问题是:
1.当都没有给各个优先级分配带宽时,拥塞情况下,设置dscp值的数据传输时,default值的数据传输出现中断(这个情况如果不能解决,可
以不管),设置dscp值的数据可以得到优先传输,但是各个dscp值之间的优先级没有得到体现.即如果cs1的数据在传输时,cs7的数据后进来的
时候,他们是一起像正常的情况下平分抢占带宽的.反之,亦然.
2.当给某些dscp值的数据设置带宽时,拥塞情况下,拥塞时,各种数据可以按照设定带宽得到传输.
但当高优先级的数据传输空闲时,低优先级的却不能使用空闲的带宽.这将造成带宽的浪费.
不知道是我的设置有问题,还是路由器不支持.如果是不支持,有哪些路由器可以支持的?
附:配置如下:
DQ_ROUTER# show runn
! Current configuration:
!
hostname DQ_ROUTER
enable password 0 syschendq
!
access-list 100 permit ip any any
access-list 111 permit ip any 192.168.1.10/32 dscp cs1
access-list 112 permit ip any 192.168.1.10/32 dscp cs2
access-list 113 permit ip any 192.168.1.10/32 dscp cs3
access-list 114 permit ip any 192.168.1.10/32 dscp cs4
access-list 115 permit ip any 192.168.1.10/32 dscp cs5
access-list 116 permit ip any 192.168.1.10/32 dscp cs6
access-list 117 permit ip any 192.168.1.10/32 dscp cs7
access-list 118 permit ip any 192.168.1.10/32 dscp ef
aaa-enable
class-map tdbclass1 match-method or
match access-list 111
class-map tdbclass2 match-method or
match access-list 112
class-map tdbclass3 match-method or
match access-list 113
class-map tdbclass4 match-method or
match access-list 114
class-map tdbclass5 match-method or
match access-list 115
class-map tdbclass6 match-method or
match access-list 116
class-map tdbclass7
match access-list 117
class-map tdbclass8 match-method or
match access-list 118
policy-map tdbqos
class tdbclass8
priority
exit
class tdbclass5
priority
exit
class tdbclass4
priority
exit
class tdbclass3
priority
exit
class tdbclass2
priority
exit
class tdbclass6
priority
exit
class tdbclass1
priority percent 20
exit
class tdbclass7
priority percent 40
exit
class class-default
fair-queue 256
exit
!
interface eth0/0
ip address 192.168.1.1/24
service-policy output tdbqos
ip nat inside
!
interface serial0/0
bandwidth 2048
ip address 172.30.8.2/30
baudrate 2048000
!
snmp-server enable
snmp-server community rw harbour
ip route 0.0.0.0/0 dialer0
ip route 192.168.2.0/24 172.30.8.1
ip route 192.168.88.0/24 192.168.1.200
ip route 192.168.160.0/24 tunnel124
ip route 192.168.254.0/24 tunnel124
arp 192.168.1.70 00:e0:4c:b0:25:9c permanent
arp 192.168.1.55 00:13:8f:0d:77:71 permanent
!
ip nat on
ip nat inside source list 100 interface dialer0
!
!end
DQ_ROUTER# |
|