Re: [asterisk-users] switch QOS requirements

2008-02-06 Thread Benny Amorsen
Al lists [EMAIL PROTECTED] writes:

 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



___
-- 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


Re: [asterisk-users] switch QOS requirements

2008-02-05 Thread Al lists
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 [EMAIL PROTECTED] wrote:

 On Sun, 2008-02-03 at 22:42 -0700, Al lists wrote:
  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

___
-- 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

Re: [asterisk-users] switch QOS requirements

2008-02-04 Thread Jared Smith
On Sun, 2008-02-03 at 22:42 -0700, Al lists wrote:
 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


[asterisk-users] switch QOS requirements

2008-02-03 Thread John Williams
Dear List,

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
___
-- 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

Re: [asterisk-users] switch QOS requirements

2008-02-03 Thread Benny Amorsen
John Williams [EMAIL PROTECTED] writes:

 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



___
-- 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


Re: [asterisk-users] switch QOS requirements

2008-02-03 Thread Michael Graves
On Sun, 03 Feb 2008 22:11:04 +0100, Benny Amorsen wrote:

John Williams [EMAIL PROTECTED] writes:

 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
mgravesatmstvp.com
blog.mgraves.org
o713-861-4005
c713-201-1262
sip:[EMAIL PROTECTED]
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


Re: [asterisk-users] switch QOS requirements

2008-02-03 Thread Julio Arruda
Al lists wrote:
 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.

 On Feb 3, 2008 7:06 PM, Michael Graves [EMAIL PROTECTED] wrote:
 
 On Sun, 03 Feb 2008 22:11:04 +0100, Benny Amorsen wrote:

 John Williams [EMAIL PROTECTED] writes:

 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
 mgravesatmstvp.com
 blog.mgraves.org
 o713-861-4005
 c713-201-1262
 sip:[EMAIL PROTECTED]
 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


Re: [asterisk-users] switch QOS requirements

2008-02-03 Thread Al lists
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 [EMAIL PROTECTED] wrote:

 On Sun, 03 Feb 2008 22:11:04 +0100, Benny Amorsen wrote:

 John Williams [EMAIL PROTECTED] writes:
 
  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
 mgravesatmstvp.com
 blog.mgraves.org
 o713-861-4005
 c713-201-1262
 sip:[EMAIL PROTECTED]
 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

___
-- 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

Re: [asterisk-users] switch QOS requirements

2008-02-03 Thread Benny Amorsen
Al lists [EMAIL PROTECTED] writes:

 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.

 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



___
-- 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