vi espongo un problema che mi sta rendendo un po' nervoso:
Implementare il qos per garantire traffico e priorita' a pacchetti voip
su un 827.
La rete e' fatta cosi:
Internet->ADSL->Cisco 827->Linksys WRT54G v5->PAP2.
All'inizio sono partito configurando le politiche sui pacchetti in uscita dal router verso internet quindi, visto che il PAP2 manda pacchetti gia' marchiati con Diffserv ef e af31 sono partito con l'idea di fare una class map che intercettasse tale marcatura:
Codice: Seleziona tutto
class-map match-all CM-VOIP-SQUILLO-OUT
description ## SQUILLO VOIP OUTGOING ##
match dscp af31
policy-map PM-VOIP-SQUILLO-OUT
class CM-VOIP-SQUILLO-OUT
priority 160
class class-default
fair-queue
interface Dialer0
service-policy output PM-VOIP-SQUILLO-OUT
Codice: Seleziona tutto
DeepSpace9#sh policy-map interface dialer 0
Dialer0
Service-policy output: PM-VOIP-SQUILLO-OUT
Class-map: CM-VOIP-SQUILLO-OUT (match-all)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: dscp af31
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 160 (kbps) Burst 4000 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0
Class-map: class-default (match-any)
677120 packets, 64356575 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 0/0/0
come penso, allora mi faccio un'altra policy in ingresso sulla eth per marchiarli direttamente:
Codice: Seleziona tutto
ip access-list extended ACL-VOIP-SQUILLO-OUT
permit udp any eq 5060 any eq 5060
class-map match-all AF31
match access-group name ACL-VOIP-SQUILLO-OUT
policy-map SETDSCP
class AF31
set ip dscp af31
interface Ethernet0
service-policy input SETDSCP
Codice: Seleziona tutto
DeepSpace9#sh policy-map interface e0
Ethernet0
Service-policy input: SETDSCP
Class-map: AF31 (match-all)
18 packets, 7056 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: access-group name ACL-VOIP-SQUILLO-OUT
QoS Set
dscp af31
Packets marked 18
Class-map: class-default (match-any)
12137 packets, 1229185 bytes
30 second offered rate 3000 bps, drop rate 0 bps
Match: any
Codice: Seleziona tutto
DeepSpace9#sh policy-map interface dialer 0
Dialer0
Service-policy output: PM-VOIP-SQUILLO-OUT
Class-map: CM-VOIP-SQUILLO-OUT (match-all)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: dscp af31
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 160 (kbps) Burst 4000 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0
Class-map: class-default (match-any)
678856 packets, 64590029 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 0/0/0
Uso un IOS 12.3(7)T12
Cisco C827 (MPC855T) processor (revision 0x801) with 31744K/1024K bytes of memory.
Processor board ID JAD064905DB (206296213), with hardware revision 0000
CPU rev number 5
1 Ethernet interface
1 ATM interface
128K bytes of NVRAM.
8192K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)
Sto sbagliando io ? Non mi pare, ma alle 4.35 di notte la cosa si presta ad un surreale parto della mia mente bacata oppure c'e' qualche vincolo sul discorso qos-dialer ?