[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1235
  • Last Modified:

Qos Cisco 2950/Voip

Hello,

I would like to utilize QOS with my Voice IP phones in my branch offices. Currently, I am using cisco 2950 switches, and would also like to set some bandwith limits on my switches as well to make sure there is enough capacity for the VIOP traffic...

Both branches has less than 20 pc's in each facility...I am very familiar with the cisco switch, but new to the QOS/VOIP..
0
Atomicsteaks
Asked:
Atomicsteaks
1 Solution
 
benhansonCommented:
Here is my canned IOS QOS config.  It's from a router config, but I think it should still work for a switch.  This is for Cisco CallManager.

!
class-map match-all VOIP-Control
  match access-group 101
class-map match-all VOIP-RTP
  match access-group 100
!
!
policy-map QOS-to-T1
  class VOIP-RTP
   priority 600
  class VOIP-Control
   bandwidth 200
  class class-default
   fair-queue
!
!
!
! IIRC This policy map is to retag data after going over a link that was not guaranteed to maintain cos/tos bits.
!
policy-map L3-to-L2-VOIP
  class VOIP-RTP
   set cos 5
  class VOIP-Control
   set cos 3
!
interface FastEthernet0/0
 no ip address
 no ip mroute-cache
 speed auto
 full-duplex
 no cdp enable
!
interface FastEthernet0/0.1
 description Data_Subnet
 encapsulation dot1Q 1 native
 ip address 10.0.0.1 255.0.0.0
!
interface FastEthernet0/0.2
 description Voice_Subnet
 encapsulation dot1Q 2
 ip address 192.168.x.1 255.255.255.0
 service-policy output L3-to-L2-VOIP
 no ip mroute-cache
!
interface Serial0/0
 description HDSL T1
 ip unnumbered FastEthernet0/0.1
 service-policy output QOS-to-T1
 no ip mroute-cache
 no shutdown
 no cdp enable
!
!
access-list 100 permit ip any any precedence critical
access-list 100 permit ip any any dscp ef
access-list 101 permit tcp any any range 2000 2002
access-list 101 permit tcp any any eq 1720
access-list 101 permit tcp any any range 11000 11999
access-list 101 permit udp any any eq 2427
access-list 101 permit tcp any any eq 2428
!
!
!

0
 
cstosgaleCommented:
Unfortunately, configuring qos on a switch works quite differently. However, you can use cisco auto qos to configure this, and it is pretty straightforward.

For all access interfaces (connecting to phones):-

auto qos voip cisco-phone

For all trunk / uplink interfaces, and interfaces connecting to voip servers:-

auto qos voip trust

This will configure everything you need to prioritise voice on the switch. However, bear in mind that for qos to be effective, it needs to be configured on all network devices in your network.

Note: This will only work correctly with Cisco IP Phones

Article on autoqos: http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_example09186a0080722cdb.shtml
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now