Hey Dave - Thanks!

I've learned a bit from my personal experience configuring this setup. I'll reply to my own thread. Hopefully it can help some other folks.

Some definitions:

Downstream: Traffic to me, from my ISP
Upstream: Traffic from me, to my ISP
E0/0: Internal (Protected Net)
E0/1: External (PPPoE) to external ADSL Modem

Lessons learned:

1. It has been said before, and I'll second the motion - don't bother trying to shape inbound traffic. By the time you have the traffic - it's too late. Resolution to this, try not to over-subscribe your inbound bandwidth.

2. I didn't have much success with "policy maps". I -think- the reason for this is there is actually no bandwidth capacity assigned to a dialer interface, hence there is no way to guarantee a reservation of the total capacity. (maybe a cisco geek can confirm).

3. The only QoS settings that I actually used were "traffic policing". My internet connection upstream bandwidth is about .67 Mb/s (or ~686Kb/s) on my adsl circuit. According to Voip-Info.org http://www.voip-info.org/wiki/view/ITU+G.711 , g711u is approximately 84Kb/s (I think this is about 42Kb/s in each direction). I wanted to reserve enough bandwidth for two g711u upstream calls to my VoIP provider, so I reserved about 90Kb/s. I used the following police and access-lists. You will notice I have applied this to E0/0, and not E0/1 (or the Dialer1 interface). I need to revisit this at some point and see it I can apply it to the Dialer1 interface. My access-list rule is pretty crude, but IAX2 (and sometimes SIP) are the only UDP flows that are really worth mentioning that pass through my router, excluding DNS which is really pretty lightweight for the most part. I wanted to do an initial setup with minimal rules, and do the fine tuning from there.

policy-map tcppolice
  class acgroup110
police 588000 2000 4000 conform-action transmit exceed-action set-qos-transmit 4 violate-action drop

interface Ethernet0/0
 description LAN
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 service-policy input tcppolice

access-list 110 permit tcp any any

There may be more efficient ways to do this, but at this point, I am completely happy with the QoS configuration on the Cisco 2600.

If anyone has any other suggestions or ideas, I'd love to hear about them too.

/M


On 8/5/2010 5:11 PM, Dave Donovan wrote:
Hi Mark,

I thought I'd give your thread a bump.  Did you get a response on
this, it looks like a good question.

I wonder if Lloyd or any of our other Cisco wizards are tuned in and
might be able to shed some light on the subject.

Dave



On Sat, Jul 31, 2010 at 6:19 PM, Mark Brown<[email protected]>  wrote:
Hi Taugers!

I'm a bit of a cisco newb, and I was wondering if someone here could smack
me around with a cisco clue stick :-)

I'm in the midst of trying to prioritize my IAX2 connections, and have the
rest of my connections do fair-queue.

I found the following on http://www.voip-info.org/wiki/view/QoS+Cisco
  (below). This is for the use-case with a ADSL WIC installed. (hence the ATM
interface in the example)

I am connecting a ADSL modem to a Cisco 2611, and running a PPPoE client on
the route which is similar, however I'm not sure where to apply the outbound
service-policy.

I figure it doesn't make sense to connect it to int eth 0/1, which is PPPoE
to the modem.  I don't think it makes sense to apply it to the Dialer1
interface.

Virtual-Access, Virtual-Template - can someone clear some confusion for me
please - thanks!

I'm using IOS 12.3(26).

/Mark
-------

       class-map match-any signaling

       match access-group 102
       class-map match-any voice
       match access-group 101

       policy-map VoicePolicy
       class voice
         priority 384
       class signaling
         priority 128
       class class-default
         fair-queue

       interface ATM0/0/0
       no ip address
       no atm ilmi-keepalive
       bundle-enable
       dsl operating-mode auto
       pvc 0/35
         vbr-nrt 768 768
         tx-ring-limit 3
         service-policy output VoicePolicy
         pppoe-client dial-pool-number 1

       interface Dialer0
       ip unnumbered FastEthernet0/0
       no ip redirects
       no ip unreachables
       ip mtu 1492
       encapsulation ppp
       no ip route-cache cef
       no ip route-cache
       ip tcp adjust-mss 1452
       no ip mroute-cache
       dialer pool 1
       no cdp enable
       ppp authentication pap chap callin
       ppp pap sent-username<your PPPoE Username>  password 0<Your
       PPPoE Password>

       access-list 101 remark ***QoS for RTP and IAX***
       access-list 101 permit udp any any dscp ef
       access-list 102 remark ***QOS for SIP***
       access-list 102 permit udp any any dscp af41



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to