1833051 Members
2260 Online
110049 Solutions
New Discussion

3040

 
pete52
Advisor

3040

Hi I have 10 3040 routers and as a router they work great...

We have a DVPN setup which works great...



But we now want to setup a QOS or Diffserve so that Voice gets priority... maybe voice already gets priority, can anyone confirm that voice gets priority or do we have to set this up ???

If so HOW do we set this up.



3COM documentation is lamentable and their phone support was not able to even help us setup the routers to connect over DSL we did it all, but now we are a bit stumped...



Any help most appreciated...

20 REPLIES 20
pete52
Advisor

Re: 3040

So I am wondering if there is anyone from 3Com technical support who ever looks at these Forums ???



I just want to put in a simple Qos rule for voice across a VPN and all routes out and in from the internet...



This is kind of standard now and yet I cannot find anyone who can help on this...



I Really Really need this help....



THanks...

jforti
Occasional Advisor

Re: 3040

The 3Com routers work with parameter named traffic Classifier and Behavior.



The classifier is used to match the traffic to be prioritized.



The traffic behavior is the action for the classified traffic.



After creating the classifier and behavior, it is necessary to link the classifier with the behavior in a policy, and apply the policy on interface.



For example, to guarantee 640Kbps in the queue EF for the traffic from IP 10.10.10.1.



#

acl number 3001

rule 0 permit ip 10.10.10.1

#

traffic classifier Test_A operator and

if-match acl 3001

#

traffic behavior Test_A

queue ef bandwidth 640 cbs 8000

#

qos policy Example

classifier Test_A behavior Test_A

#

interface Serial0/0

qos apply policy Example outbound



pete52
Advisor

Re: 3040

Thanks,

What I want is to prioritise Voice Packets across the network and all intrfaces.



We have a DVPN working tunnel 0

IP addressing of the tunnel is 10.0.0.0

The tunnel is applied to Virtual Template 1

Interface atm2/0 has Virtual-Template1 mapped to it



So you can see we have an ADSL setup with DVPN linking 10 offices. We wish to prioritise voice across the DVPN working across tunnel 0 and also across the ADSL to and from the internet...



I do not want to have to specify ip addressing etc just prioritise voice across all interfaces (if that is easier)



Can you post a sample config here so that can be achieved ?



Thanks so much for getting back.







jforti
Occasional Advisor

Re: 3040

I need to know if the the voice packets are marked with DSCP or not because the router needs to classify the traffic based on something (IP, DSCP, RTP,...).



RTP Example.



#

acl number 3000 match-order auto

description VoIP

rule 0 permit udp destination-port range 16384 32764

#

traffic classifier RTP_classifier operator or

if-match acl 3000

#

traffic behavior RTP_behavior

remark dscp ef

#

qos policy RTP

classifier RTP_classifier behavior RTP_behavior

#

interface atm2/0 (you can try over tunnel or VT)

qos apply policy RTP inbound

qos apply policy RTP outbound



pete52
Advisor

Re: 3040

THanks I will check the system uses IAX and sip protocols

pete52
Advisor

Re: 3040

could the router classify the data based on Packet port number ?

pete52
Advisor

Re: 3040

Oh OK

RTP packets and set to EF or 46

This message was edited by pete52 on 3-21-09 @ 6:15 AM
pete52
Advisor

Re: 3040

Hi instead of...



acl number 3000 match-order auto

description VoIP

rule 0 permit udp destination-port range 16384 32764



we currently have this... set... for acl 3000



acl number 3000

rule 0 permit ip

rule 1 permit udp



which is bound to the DVPN...



so..



could we use this instaed of your example...



#

acl number 3001 match-order auto

description VoIP

rule 0 permit udp

#

traffic classifier RTP_classifier operator or

if-match acl 3001

#

traffic behavior RTP_behavior

remark dscp ef

#

qos policy RTP

classifier RTP_classifier behavior RTP_behavior

#

interface atm2/0 (you can try over tunnel or VT)

qos apply policy RTP inbound

qos apply policy RTP outbound



and bind this to atm2/0 and the dvpn tunnel ??



What do you think can we do this...



also is there any need to put an acl in there I see in the command refrence it talks of using mpls-exp so I guess we don't need and acl here, however if this works than that is fine.





I don't really want to get into port specification just allow the packets through if RTP packet has the ef header...



Thanks very much for your help, this is really very useful.

This message was edited by pete52 on 3-22-09 @ 11:59 AM
pete52
Advisor

Re: 3040

Hello,

Sorry can you just answer that last question thanks, we currently have an acl 3000 setup to allow udp and ip packets through for our DVPN ,



so can we use another acl such as I set out in my example...



acl 3001



also I don;t want to specify ports so as again in my example can we ignor port info ??



Thanks

jforti
Occasional Advisor

Re: 3040

The big problem to make an ACL based on only UDP is that there are other traffic based on UDP not only Voice. On this case, all traffic will prioritized. If you have sure that UDP traffic is only voice, you can do this kind of ACL.

pete52
Advisor

Re: 3040

Yes but the UDP packets which are RTP have EF in the header...

The router looks for this doesn't it the header in the rtp packet and then prioritizes on that ?



You asked me if the type of packet was RTP and you mention it in your example...



other routers just look for the EF in the header and prioritise on this... Maybe the 3040 does not ? so we need to prioritise just on UDP port number ? That is fine if we have to.... but it would be easier if we could just look at the data packets for EF and use that....



Sorry Just trying to get a simple setup sorted out...

pete52
Advisor

Re: 3040

Ah I have just realised where we have misunderstood each other....

OUr Asterisk server and all the phones already mark the RTP packets with EF / 46 so we do not need to identify these packets by port number they are already marked....



I think that is where we have misunderstood each other...



So as the packets are already marked we just need to prioritise thoose RTP packets marked with EF / 46 in the header....



Thanks,



Hoping this is where we have been talking at cross purposes...

pete52
Advisor

Re: 3040

Can we classify the data using the RTP Packet header that is already there namely EF ?



Surely taht is possible ??

jforti
Occasional Advisor

Re: 3040

acl 3000

rule 0 permit ip source x.x.x.x 0 dscp ef

#

traffic classifier Test_A operator and

if-match acl 3000

#

traffic behavior Test_A

queue ef bandwidth 640 cbs 8000

#

qos policy Example

classifier Test_A behavior Test_A

#

interface Serial0/0

qos apply policy Example outbound

pete52
Advisor

Re: 3040

THanks I have it I think...



acl 3000

rule 0 permit udp source x.x.x.x 0 dscp ef

#

traffic classifier Test_A operator and

if-match acl 3000

#

traffic behavior Test_A

queue ef bandwidth 640 cbs 8000

#

qos policy Example

classifier Test_A behavior Test_A

#

interface Serial0/0

qos apply policy Example outbound



does x.x.x.x signify any ip or do we just leave that out if it is any ip address UDP souce... ?



like this...



acl 3000

rule 0 permit udp source x.x.x.x 0 dscp ef



or could we use...



acl 3000

rule 0 permit udp 0 dscp ef



or



acl 3000

rule 0 permit udp dscp ef



anyway thanks I think we nearly have it, I have 11 of these things and I just need to get this working if I can then I will be buying lots more as they work great as a router never go down and provide excellent VPN for our clients....



Thanks.

pete52
Advisor

Re: 3040

HI this is what I get if I try to appy that...



I need both outbound and inbound traffic to be prioritised...



acl number 3000

rule 1 permit ip source x.x.x.x 0 dscp ef

^

% Wrong parameter found at '^' position.

#

traffic classifier Test_A operator and

if-match acl 3000

#

traffic behavior Test_A

queue ef bandwidth 640 cbs 8000

#

qos policy Example

classifier Test_A behavior Test_A

#

interface Ethernet1/0

qos apply policy Example outbound

qos apply policy Example inbound

CBQ: can be enabled as output feature only

save



This message was edited by pete52 on 4-20-09 @ 1:25 PM
pete52
Advisor

Re: 3040

WEll this works so thanks...



#

acl number 3001 match-order auto

description VoIP

rule 2 permit udp destination-port range 16384 32764

#

traffic classifier RTP_classifier operator or

if-match acl 3001

#

traffic behavior RTP_behavior

remark dscp ef

#

qos policy RTP

classifier RTP_classifier behavior RTP_behavior

#

interface atm2/0

qos apply policy RTP inbound

qos apply policy RTP outbound



Still confused, the rtp packets are already marked but never mind this does the trick...

itserveqatar
New Member

Re: 3040

Hi Pete,



You really seem to know these toys so i apologise for butting in on your post but having some serious issues with port forwarding on a 3040 ADSL router.

Cant seem to do it without a static ip.

Do you possible have any sample config i could take a look at?

Would be most appreciated.



Cheers,



Paul

pete52
Advisor

Re: 3040

I have never managed that, I used seperate IP's for internal servers and used simple static ip mapping just as you have probbly done.



To be honest I am very happy with the help here but 3Com's documentation is so poor I think I will just buy Zyxel routers from now on.



I have one client who has 11 of these so I have to continue to use them.



3Com is very very bad at documentation and what should be a simple configuration is neither explained well or documented properly.



When I first bought these routers I studied the documentation for 2 weeks and found it was both incorrect and the examples were useless for 99 % of installation situations.



I made a big fuss and put in a massive complaint honestly even the support people could not do the simplest things like set up the atm template for ADSL ....



Anyway people here have been very helpful...



I'll look if I have time, but post a new topic I am sure someone will help...



itserveqatar
New Member

Re: 3040

Hi Pete,



Thanks for getting back to me.

I did consider doing the static port mapping but that would be a last resort.

I was hoping to get the port forwarding sorted out and i havent given up yet.

Seems very strange though, it is such a simple thing. 3Coms most basic home use ADSL routers do it at the click of 2 buttons.

Oh well, thanks again for your help.



Cheers,



Paul