VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
benny+usenet at amorse... Guest
|
Posted: Sun Feb 03, 2008 4:11 pm Post subject: [asterisk-users] switch QOS requirements |
|
|
"John Williams" <jw.ip.pbx at gmail.com> writes:
Quote: | We are tearing out legacy PBX and replacing with Asterisk PBX and new
LAN for our 90+ person operation. Question: what QOS capabilities
(protocols, etc) does Asterisk support/require in a LAN switch to deliver
business grade phone service? Thanks
|
If you have one switch for the whole network, you're generally fine
without QoS. Switches these days can handle full bandwidth on all
ports at the same time.
Anyway, Asterisk is no different from other PBX's when it comes to
QoS. Should it turn out that you actually need it on the LAN, just be
sure you set the tos parameters in sip.conf to something that is
prioritized by the switch.
/Benny |
|
Back to top |
|
|
mgraves at mstvp.com Guest
|
Posted: Sun Feb 03, 2008 9:06 pm Post subject: [asterisk-users] switch QOS requirements |
|
|
On Sun, 03 Feb 2008 22:11:04 +0100, Benny Amorsen wrote:
Quote: | "John Williams" <jw.ip.pbx at gmail.com> writes:
Quote: | We are tearing out legacy PBX and replacing with Asterisk PBX and new
LAN for our 90+ person operation. Question: what QOS capabilities
(protocols, etc) does Asterisk support/require in a LAN switch to deliver
business grade phone service? Thanks
|
If you have one switch for the whole network, you're generally fine
without QoS. Switches these days can handle full bandwidth on all
ports at the same time.
Anyway, Asterisk is no different from other PBX's when it comes to
QoS. Should it turn out that you actually need it on the LAN, just be
sure you set the tos parameters in sip.conf to something that is
prioritized by the switch.
|
It tends to be more of an issue when you're sending calls over a link
with limited bandwidth. Usually more of a concern in the router.
Michael
--
Michael Graves
mgraves<at>mstvp.com
blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at pixelpower.onsip.com
skype mjgraves
fwd 54245 |
|
Back to top |
|
|
asteriskal at gmail.com Guest
|
Posted: Mon Feb 04, 2008 12:42 am Post subject: [asterisk-users] switch QOS requirements |
|
|
Theoretically, setting TOS value ( these days called DSCP) wont change
anything in switch behavior, unless you are using Layer 3 switches.
What makes a difference in a switch is COS bits, and i'm not sure how
asterisk sets that.
I guess to be safe, you would need to create 2 VLANS and in the switch
define on VLAN as a high priority VLAN.
On Feb 3, 2008 7:06 PM, Michael Graves <mgraves at mstvp.com> wrote:
Quote: | On Sun, 03 Feb 2008 22:11:04 +0100, Benny Amorsen wrote:
Quote: | "John Williams" <jw.ip.pbx at gmail.com> writes:
Quote: | We are tearing out legacy PBX and replacing with Asterisk PBX and new
LAN for our 90+ person operation. Question: what QOS capabilities
(protocols, etc) does Asterisk support/require in a LAN switch to
|
| deliver
Quote: | Quote: | business grade phone service? Thanks
|
If you have one switch for the whole network, you're generally fine
without QoS. Switches these days can handle full bandwidth on all
ports at the same time.
Anyway, Asterisk is no different from other PBX's when it comes to
QoS. Should it turn out that you actually need it on the LAN, just be
sure you set the tos parameters in sip.conf to something that is
prioritized by the switch.
|
It tends to be more of an issue when you're sending calls over a link
with limited bandwidth. Usually more of a concern in the router.
Michael
--
Michael Graves
mgraves<at>mstvp.com
blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at pixelpower.onsip.com
skype mjgraves
fwd 54245
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080203/4a9e1317/attachment.htm |
|
Back to top |
|
|
jarruda-asterisk at ja... Guest
|
Posted: Mon Feb 04, 2008 12:51 am Post subject: [asterisk-users] switch QOS requirements |
|
|
Al lists wrote:
Quote: | Theoretically, setting TOS value ( these days called DSCP) wont change
anything in switch behavior, unless you are using Layer 3 switches.
What makes a difference in a switch is COS bits, and i'm not sure how
asterisk sets that.
I guess to be safe, you would need to create 2 VLANS and in the switch
define on VLAN as a high priority VLAN.
|
At least for quite few years (more than 5), layer 2 switches from Nortel
(disclaimer, I used to work for NT), would be able to match DSCP (or
remark DSCP also, based in l3/l4 information) and give priority as
defined by the user, to specific DSCP #, like EF to highest priority and
goes on.
I've no reason to believe other vendors don't have at least this capability.
Quote: | On Feb 3, 2008 7:06 PM, Michael Graves <mgraves at mstvp.com> wrote:
Quote: | On Sun, 03 Feb 2008 22:11:04 +0100, Benny Amorsen wrote:
Quote: | "John Williams" <jw.ip.pbx at gmail.com> writes:
Quote: | We are tearing out legacy PBX and replacing with Asterisk PBX and new
LAN for our 90+ person operation. Question: what QOS capabilities
(protocols, etc) does Asterisk support/require in a LAN switch to
|
| deliver
Quote: | Quote: | business grade phone service? Thanks
| If you have one switch for the whole network, you're generally fine
without QoS. Switches these days can handle full bandwidth on all
ports at the same time.
Anyway, Asterisk is no different from other PBX's when it comes to
QoS. Should it turn out that you actually need it on the LAN, just be
sure you set the tos parameters in sip.conf to something that is
prioritized by the switch.
| It tends to be more of an issue when you're sending calls over a link
with limited bandwidth. Usually more of a concern in the router.
Michael
--
Michael Graves
mgraves<at>mstvp.com
blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at pixelpower.onsip.com
skype mjgraves
fwd 54245 |
|
|
|
Back to top |
|
|
benny+usenet at amorse... Guest
|
Posted: Mon Feb 04, 2008 2:44 am Post subject: [asterisk-users] switch QOS requirements |
|
|
"Al lists" <asteriskal at gmail.com> writes:
Quote: | Theoretically, setting TOS value ( these days called DSCP) wont change
anything in switch behavior, unless you are using Layer 3 switches.
What makes a difference in a switch is COS bits, and i'm not sure how
asterisk sets that.
|
Sadly Asterisk still calls DSCP TOS, so I stuck with Asterisk
nomenclature.
Modern switches can translate DSCP into COS (lossily) and many do so
automatically. With most switches, sending DSCP set to EF will give
the traffic priority. Signalling (SIP) is usually set to class AF21;
Cisco recommends that CS3 is used instead. Either should work fine
with the default setup on many LAN switches.
Quote: | I guess to be safe, you would need to create 2 VLANS and in the switch
define on VLAN as a high priority VLAN.
|
That certainly works too. It's just a pain if you use the built-in
switches available in most phones. You need to manually tell them to
use a different VLAN, or use Cisco-switches with CDP. Most phone
manufacturers don't support LLDP for voice VLAN discovery yet.
/Benny |
|
Back to top |
|
|
jsmith at digium.com Guest
|
Posted: Mon Feb 04, 2008 7:26 pm Post subject: [asterisk-users] switch QOS requirements |
|
|
On Sun, 2008-02-03 at 22:42 -0700, Al lists wrote:
Quote: | Theoretically, setting TOS value ( these days called DSCP) wont change
anything in switch behavior, unless you are using Layer 3 switches.
What makes a difference in a switch is COS bits, and i'm not sure how
asterisk sets that.
|
In Asterisk 1.6, you will be able to set both the COS and TOS values.
The sample sip.conf in the Asterisk 1.6 betas contains the following, to
show you just how much you can adjust things
;tos_sip=cs3 ; Sets TOS for SIP packets.
;tos_audio=ef ; Sets TOS for RTP audio packets.
;tos_video=af41 ; Sets TOS for RTP video packets.
;tos_text=af41 ; Sets TOS for RTP text packets.
;cos_sip=3 ; Sets 802.1p priority for SIP packets.
;cos_audio=5 ; Sets 802.1p priority for RTP audio
packets.
;cos_video=4 ; Sets 802.1p priority for RTP video
packets.
;cos_text=3 ; Sets 802.1p priority for RTP text
packets.
--
Jared Smith
Community Relations Manager
Digium, Inc. |
|
Back to top |
|
|
asteriskal at gmail.com Guest
|
Posted: Wed Feb 06, 2008 12:47 am Post subject: [asterisk-users] switch QOS requirements |
|
|
Very Nice!
Its much more reliable than translating DSCP to COS by switch which i'm not
sure which switch does that and which one doesn't, and how they do it
considering some gray area when you translate from DSCP to COS.
On Feb 4, 2008 5:26 PM, Jared Smith <jsmith at digium.com> wrote:
Quote: | On Sun, 2008-02-03 at 22:42 -0700, Al lists wrote:
Quote: | Theoretically, setting TOS value ( these days called DSCP) wont change
anything in switch behavior, unless you are using Layer 3 switches.
What makes a difference in a switch is COS bits, and i'm not sure how
asterisk sets that.
|
In Asterisk 1.6, you will be able to set both the COS and TOS values.
The sample sip.conf in the Asterisk 1.6 betas contains the following, to
show you just how much you can adjust things
;tos_sip=cs3 ; Sets TOS for SIP packets.
;tos_audio=ef ; Sets TOS for RTP audio packets.
;tos_video=af41 ; Sets TOS for RTP video packets.
;tos_text=af41 ; Sets TOS for RTP text packets.
;cos_sip=3 ; Sets 802.1p priority for SIP packets.
;cos_audio=5 ; Sets 802.1p priority for RTP audio
packets.
;cos_video=4 ; Sets 802.1p priority for RTP video
packets.
;cos_text=3 ; Sets 802.1p priority for RTP text
packets.
--
Jared Smith
Community Relations Manager
Digium, Inc.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080205/8799c596/attachment.htm |
|
Back to top |
|
|
benny+usenet at amorse... Guest
|
Posted: Wed Feb 06, 2008 4:07 am Post subject: [asterisk-users] switch QOS requirements |
|
|
"Al lists" <asteriskal at gmail.com> writes:
Quote: | Its much more reliable than translating DSCP to COS by switch which i'm
not sure which switch does that and which one doesn't
|
COS only works if you use a tagged interface on your Asterisk machine.
Untagged packets have nowhere to put the COS tag. It also doesn't
survive routing (obviously, since it's layer 2).
/Benny |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|