Hi All,
I am currently engaged in configuring a new VOIP network. Everything seems fine except the quality of calls on the phones is awful on the internal and external network! I am guessing i need to configure qos and the first challenge is to do this at the access layer on my procurve 1910 switches. I have 2 Vlans, 1 for voice and 1 for data (default vlan) which automatically adds phones to vlan 30 when they join. The challenge i face now is configuring QOS classifiers, behaviours and policies and priority mapping. I have had a go but i am still struggling. Could someone have a look at the below config and let me know where i am going wrong?
Any help will be greatly appreciated!
#
version 5.20, Release 1513P15
#
sysname DHACCESSSWITCH4
#
clock timezone #Web#0#02 add 00:00:00
#
voice vlan mac-address 0004-f200-0000 mask ffff-ff00-0000 description POLYCOM VOIP
#
dhcp relay server-group 0 ip 192.168.20.6
dhcp relay server-group 1 ip 10.10.10.6
#
domain default enable system
#
ip ttl-expires enable
#
lldp enable
#
password-recovery enable
#
vlan 1
description DEFAULT VLAN
#
vlan 30
description VOICE
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
traffic classifier VOIP operator or
if-match service-vlan-id 30
if-match customer-vlan-id 30
#
traffic behavior VOIP
remark dot1p 6
remark dscp af31
remark local-precedence 5
#
qos policy VOIP
classifier VOIP behavior VOIP
#
user-group system
#
local-user admin
authorization-attribute level 3
service-type ssh telnet terminal
service-type web
#
stp mode rstp
stp enable
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan 1 30
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.254.253 255.255.255.0
dhcp select relay
dhcp relay server-select 0
#
interface Vlan-interface30
ip address 10.10.10.253 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 30
speed auto 1000
duplex full
flow-control
poe enable
stp edged-port enable
qos apply policy VOIP inbound
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 1 30
speed auto 1000
duplex full
flow-control
poe enable
stp edged-port enable
qos apply policy VOIP inbound
port link-aggregation group 1
#
interface GigabitEthernet1/0/3
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/4
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/5
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/6
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/7
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/8
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/9
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/10
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/11
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/12
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/13
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/14
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/15
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/16
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/17
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/18
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/19
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/20
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/21
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/22
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/23
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/24
port link-type hybrid
port hybrid vlan 1 untagged
voice vlan 30 enable
poe enable
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/25
port link-type hybrid
port hybrid vlan 1 untagged
undo voice vlan mode auto
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/26
port link-type hybrid
port hybrid vlan 1 untagged
undo voice vlan mode auto
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/27
port link-type hybrid
port hybrid vlan 1 untagged
undo voice vlan mode auto
stp edged-port enable
qos apply policy VOIP inbound
#
interface GigabitEthernet1/0/28
port link-type hybrid
port hybrid vlan 1 untagged
undo voice vlan mode auto
stp edged-port enable
qos apply policy VOIP inbound
#
ip route-static 0.0.0.0 0.0.0.0 Vlan-interface1 192.168.254.254
#
snmp-agent
snmp-agent local-engineid 800063A203D07E28E4F648
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info contact 08448460050
snmp-agent sys-info location Kingsgate
snmp-agent sys-info version all
#
dhcp enable
#
user-interface aux 0
authentication-mode scheme
user-interface vty 0 15
authentication-mode scheme
#
return