Voice over IP Cisco - Voice Vlan Configurations

This is Interesting: Free IT Magazines  
Home > Archive > Voice over IP Cisco > August 2006 > Voice Vlan Configurations





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Voice Vlan Configurations
Nick Kassel

2006-08-24, 1:12 pm

There seems to be so many different ways to configure switch ports for
voice and data that I am not sure are configurations are correct.

This is the configs we have been using for our branch offices on 3560
switches, we have vlan 1 as our data vlan and vlan 2 as the voice vlan.



Port 24 is the trunk port to the router which has the WANand voice
configurations.



Also what configurations should I use on ports that are just for data?



Voice Port



!

interface FastEthernet0/X

switchport voice vlan 2

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

no mdix auto

spanning-tree portfast

!



Router Port



!

interface FastEthernet0/24

description Router Trunk Port

switchport access vlan 2

switchporttrunk encapsulation dot1q

switchport mode trunk

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust cos

auto qos voip trust

!

****************************************
****************************************
***************

The information contained in this e-mail is strictly confidential, some or all
of which maybe legally privileged. It is for the intended recipient only.
Access to this e-mail by any other person is prohibited. If you are not the
intended recipient, any use, disclosure, copying, printing, distribution of,
replying to or any action taken or omitted to be taken in reliance on this
e-mail, is prohibited and may be unlawful. Please contact the sender immediately
should this e-mail have been incorrectly addressed or transmitted.

You accept that any instructions are deemed to have been given at the time the
recipient(s) accesses them and that deliveryreceipt does not constitute
acknowledgement or receipt by the intended recipient(s). You accept that there
may be a delay in processing theinstructions received from e-mails after
Charles Stanley has receivedthem. You are advised that urgent, time sensitive
and confidential communications should not be sent by e-mail.

You acknowledge that e-mails are not secure and you accept the risk of
malfunction, viruses, unauthorised interference, mis-delivery or delay.
****************************************
****************************************
****************


Charles Stanley & Co. Ltd
Registered Office: 25 Luke Street London EC2A 4AR

Tel: 0207 739 8200 Fax: 0207 739 7798
Registered in England No. 1903304

Charles Stanley Sutherlands and Charles Stanley Securities are divisions of Charles Stanley & Co. Ltd

Authorised and Regulated by the Financial Services Authority, Member of the
London Stock Exchange, International Securities Markets Association, and The London International Financial Futures &
Options Exchange.

This footnote also confirms that this email message has been swept by McAfee
VirusScan and SurfControl Email Filter software.

Linsemier, Matthew

2006-08-24, 1:12 pm

Nick,



This is a really good question to ask since there are so many different
ways to configure QoS. When we initially deployed QoS 4 years ago we
used a combination of cisco QPM and a collection of configurations
pulled from documents, cisco Press books, and industry peers. As of
lately, we have been using the AutoQOS feature in all of our 3550
switches and have had great luck.



Here is an excerpt of how our voice ports are configured on our 3550.



interface FastEthernet0/1

switchport access vlan 3

switchport mode access

switchport voice vlan 203

switchport port-security maximum 3

switchport port-security

switchport port-security aging time 2

switchport port-security violation restrict

switchport port-security aging type inactivity

no logging event link-status

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

wrr-queue bandwidth 10 20 70 1

wrr-queue min-reserve 1 5

wrr-queue min-reserve 2 6

wrr-queue min-reserve 3 7

wrr-queue min-reserve 4 8

wrr-queue cos-map 1 0 1

wrr-queue cos-map 2 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

priority-queue out

spanning-tree portfast

spanning-tree bpduguard enable



For your data ports if you remove your AutoQoS commands and remove your
voice VLAN, it will default to access mode. Note that if you have a
phone plugged into this and the data VLAN can see the CallManagers, the
phone will still register. You can also issue a "Show Parser Macro" to
see some of the pre-defined macros that cisco has built by default for
different port types such as desktop, phone, desktop + phone, switch,
router, etc.



I am anxious to hear some of the rest of the lists input on there
methods and overall on AutoQoS in an all cisco environment.



Thanks,



Matt

________________________________

From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Nick Kassel
Sent: Thursday, August 24, 2006 11:25 AM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] Voice Vlan Configurations



There seems to be so many different ways to configure switch ports for
voice and data that I am not sure are configurations are correct.

This is the configs we have been using for our branch offices on 3560
switches, we have vlan 1 as our data vlan and vlan 2 as the voice vlan.



Port 24 is the trunk port to the router which has the WAN and voice
configurations.



Also what configurations should I use on ports that are just for data?



Voice Port



!

interface FastEthernet0/X

switchport voice vlan 2

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

no mdix auto

spanning-tree portfast

!



Router Port



!

interface FastEthernet0/24

description Router Trunk Port

switchport access vlan 2

switchport trunk encapsulation dot1q

switchport mode trunk

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust cos

auto qos voip trust

!




****************************************
********************************
***********************

The information contained in this e-mail is strictly confidential, some
or all
of which may be legally privileged. It is for the intended recipient
only.
Access to this e-mail by any other person is prohibited. If you are not
the
intended recipient, any use, disclosure, copying, printing, distribution
of,
replying to or any action taken or omitted to be taken in reliance on
this
e-mail, is prohibited and may be unlawful. Please contact the sender
immediately
should this e-mail have been incorrectly addressed or transmitted.

You accept that any instructions are deemed to have been given at the
time the
recipient(s) accesses them and that delivery receipt does not constitute
acknowledgement or receipt by the intended recipient(s). You accept that
there
may be a delay in processing the instructions received from e-mails
after
Charles Stanley has received them. You are advised that urgent, time
sensitive
and confidential communications should not be sent by e-mail.

You acknowledge that e-mails are not secure and you accept the risk of
malfunction, viruses, unauthorised interference, mis-delivery or delay.
****************************************
********************************
************************


Charles Stanley & Co. Ltd
Registered Office: 25 Luke Street London EC2A 4AR

Tel: 0207 739 8200 Fax: 0207 739 7798
Registered in England No. 1903304

Charles Stanley Sutherlands and Charles Stanley Securities are divisions
of Charles Stanley & Co. Ltd

Authorised and Regulated by the Financial Services Authority, Member of
the
London Stock Exchange, International Securities Markets Association, and
The London International Financial Futures &
Options Exchange.

This footnote also confirms that this email message has been swept by
McAfee
VirusScan and SurfControl Email Filter software.




--------------------------------------------------------------------------------

CONFIDENTIALITY STATEMENT

This communication and any attachments are CONFIDENTIAL and may be
protected by one or more legal privileges. It is intended solely
for the use of the addressee identified above. If you are not
the intended recipient, any use, disclosure, copying or
distribution of this communication is UNAUTHORIZED. Neither this
information block, the typed name of the sender, nor anything
else in this message is intended to constitute an electronic
signature unless a specific statement to the contrary is
included in this message. If you have received this communication in
error, please immediately contact me and delete this communication from
your computer. Thank you.

--------------------------------------------------------------------------------


Nick Kassel

2006-08-25, 7:11 am

Matthew



Thanks for replying, I am interested in your port-security
configurations on your example, do your ports get mac-addresses by using
the switchport port-security mac-address sticky command, could you
possibly give me an example on the other commands used.



Regards



Nick



________________________________

From: Linsemier, Matthew [mailto:MLinsemier@apcapital.com]
Sent: Thursday,August 24, 2006 5:08 PM
To: Nick Kassel; cisco-voip@puck.nether.net
Subject: RE: [cisco-voip] Voice Vlan Configurations



Nick,



This is a really good question to ask since there are so many different
ways to configure QoS. When we initially deployed QoS 4 years ago we
used a combination of cisco QPM and a collection of configurations
pulled from documents, cisco Press books,and industry peers. As of
lately, we have been using the AutoQOS feature in all of our 3550
switches and have had great luck.



Here is an excerpt of how our voice ports are configured on our 3550.



interface FastEthernet0/1

switchport access vlan 3

switchport mode access

switchportvoice vlan 203

switchport port-security maximum 3

switchport port-security

switchport port-security aging time 2

switchport port-security violation restrict

switchport port-security aging type inactivity

no logging event link-status

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

wrr-queue bandwidth 10 20 70 1

wrr-queue min-reserve 1 5

wrr-queue min-reserve 2 6

wrr-queue min-reserve 3 7

wrr-queue min-reserve 4 8

wrr-queue cos-map 1 0 1

wrr-queue cos-map 2 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

priority-queue out

spanning-tree portfast

spanning-tree bpduguard enable



For yourdata ports if you remove your AutoQoS commands and remove your
voice VLAN, it will default to access mode. Note that if you have a
phone plugged into this and the data VLAN can see the CallManagers, the
phonewill still register. You can also issue a "Show Parser Macro" to
seesome of the pre-defined macros that cisco has built by default for
different port types such as desktop, phone, desktop + phone, switch,
router, etc.



I am anxious to hear some of the rest of the lists input on there
methods and overall on AutoQoS in an all cisco environment.



Thanks,



Matt

________________________________

From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Nick Kassel
Sent: Thursday, August 24, 2006 11:25 AM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] Voice Vlan Configurations



There seems to be so many different ways to configure switch ports for
voice and data that I am not sure are configurations are correct.

This is the configs we have been using for our branch offices on 3560
switches, we have vlan 1 as our data vlan and vlan 2 as the voice vlan.



Port 24 is the trunk port to the router which has the WAN and voice
configurations.



Also what configurations should I use on portsthat are just for data?



Voice Port



!

interface FastEthernet0/X

switchportvoice vlan 2

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

no mdix auto

spanning-tree portfast

!



Router Port



!

interface FastEthernet0/24

description Router Trunk Port

switchport access vlan 2

switchport trunk encapsulation dot1q

switchport mode trunk

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust cos

auto qos voip trust

!




****************************************
********************************
***********************

The information contained in this e-mail is strictly confidential, some
or all
of whichmay be legally privileged. It is for the intended recipient
only.
Access to this e-mail by any other person is prohibited. If you are not
the
intended recipient, any use, disclosure, copying, printing, distribution
of,
replying to or any action taken or omitted to be takenin reliance on
this
e-mail, is prohibited and may be unlawful. Please contact the sender
immediately
should this e-mail have beenincorrectly addressed or transmitted.

You accept that any instructions are deemed to have been given at the
time the
recipient(s) accesses them and that delivery receipt does not constitute
acknowledgement or receipt by the intended recipient(s). You accept that
there
may be a delay in processing the instructions received from e-mails
after
Charles Stanley has received them. You are advised that urgent, time
sensitive
and confidential communications should not be sentby e-mail.

You acknowledge that e-mails are not secure and you accept the risk of
malfunction, viruses, unauthorised interference,mis-delivery or delay.
****************************************
********************************
************************


Charles Stanley & Co. Ltd
Registered Office: 25 Luke Street London EC2A4AR

Tel: 0207 739 8200 Fax: 0207 739 7798
Registered in England No. 1903304

Charles Stanley Sutherlands and Charles Stanley Securities are divisions
of Charles Stanley & Co. Ltd

Authorised and Regulated by the Financial Services Authority, Member of
the
London Stock Exchange, International Securities Markets Association, and
The London International Financial Futures &
Options Exchange.

This footnote also confirms that this email message has beenswept by
McAfee
VirusScan and SurfControl Email Filter software.



________________________________

CONFIDENTIALITY STATEMENT

This communication and any attachments are CONFIDENTIAL and may be
protected by one or more legal privileges. It isintended solely for the
use of the addressee identified above. If youare not the intended
recipient, any use, disclosure, copying or distribution of this
communication is UNAUTHORIZED. Neither this information block, the typed
name of the sender, nor anything else in this message is intended to
constitute an electronic signature unless a specificstatement to the
contrary is included in this message. If you have received this
communication in error, please immediately contact me and delete this
communication from your computer. Thank you.

________________________________

****************************************
****************************************
***************

The information contained in this e-mail is strictly confidential, some or all
of which may be legally privileged. It is for the intended recipient only.
Access to this e-mail by any other person is prohibited. If you are not the
intended recipient, any use, disclosure, copying, printing, distribution of,
replying to or any action taken or omitted to be taken in reliance on this
e-mail, is prohibited and may be unlawful. Please contact the sender immediately
should this e-mail have been incorrectly addressed or transmitted.

You accept that any instructions are deemed to have been given at the time the
recipient(s) accessesthem and that delivery receipt does not constitute
acknowledgement orreceipt by the intended recipient(s). You accept that there
may be a delay in processing the instructions received from e-mails after
Charles Stanley has received them. You are advised that urgent, time sensitive
and confidential communications should not be sent by e-mail.

You acknowledge that e-mails are not secure and you accept the risk of
malfunction, viruses, unauthorised interference, mis-delivery or delay.
****************************************
****************************************
****************


Charles Stanley & Co. Ltd
Registered Office: 25 Luke Street London EC2A 4AR

Tel: 0207 739 8200 Fax: 0207 739 7798
Registered in England No. 1903304

Charles Stanley Sutherlands and Charles Stanley Securities are divisions of Charles Stanley & Co. Ltd

Authorised and Regulated by the Financial Services Authority, Member of the
London Stock Exchange, International Securities Markets Association, and The London International Financial Futures &
Options Exchange.

This footnote also confirms thatthis email message has been swept by McAfee
VirusScan and SurfControlEmail Filter software.

Carter, Bill

2006-08-25, 7:11 pm

The below configuration was probably derived from using the new
configuration macros. "auto qos voip phone" and "...port host",
probably generated the configuration. I can't remember the syntax for
the 2nd command.

________________________________

From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Nick Kassel
Sent: Friday, August 25, 2006 6:05 AM
To: Linsemier, Matthew; cisco-voip@puck.nether.net
Subject: Re: [cisco-voip] Voice Vlan Configurations



Matthew



Thanks for replying, I am interested in your port-security
configurations on your example, do your ports get mac-addresses by using
the switchport port-security mac-address sticky command, could you
possibly give me an example on the other commands used.



Regards



Nick



________________________________

From: Linsemier, Matthew [mailto:MLinsemier@apcapital.com]
Sent: Thursday, August 24, 2006 5:08 PM
To: Nick Kassel; cisco-voip@puck.nether.net
Subject: RE: [cisco-voip] Voice Vlan Configurations



Nick,



This is a really good question to ask since there are so many different
ways to configure QoS. When we initially deployed QoS 4 years ago we
used a combination of cisco QPM and a collection of configurations
pulled from documents, cisco Press books, and industry peers. As of
lately, we have been using the AutoQOS feature in all of our 3550
switches and have had great luck.



Here is an excerpt of how our voice ports are configured on our 3550.



interface FastEthernet0/1

switchport access vlan 3

switchport mode access

switchport voice vlan 203

switchport port-security maximum 3

switchport port-security

switchport port-security aging time 2

switchport port-security violation restrict

switchport port-security aging type inactivity

no logging event link-status

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

wrr-queue bandwidth 10 20 70 1

wrr-queue min-reserve 1 5

wrr-queue min-reserve 2 6

wrr-queue min-reserve 3 7

wrr-queue min-reserve 4 8

wrr-queue cos-map 1 0 1

wrr-queue cos-map 2 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

priority-queue out

spanning-tree portfast

spanning-tree bpduguard enable



For your data ports if you remove your AutoQoS commands and remove your
voice VLAN, it will default to access mode. Note that if you have a
phone plugged into this and the data VLAN can see the CallManagers, the
phone will still register. You can also issue a "Show Parser Macro" to
see some of the pre-defined macros that cisco has built by default for
different port types such as desktop, phone, desktop + phone, switch,
router, etc.



I am anxious to hear some of the rest of the lists input on there
methods and overall on AutoQoS in an all cisco environment.



Thanks,



Matt

________________________________

From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Nick Kassel
Sent: Thursday, August 24, 2006 11:25 AM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] Voice Vlan Configurations



There seems to be so many different ways to configure switch ports for
voice and data that I am not sure are configurations are correct.

This is the configs we have been using for our branch offices on 3560
switches, we have vlan 1 as our data vlan and vlan 2 as the voice vlan.



Port 24 is the trunk port to the router which has the WAN and voice
configurations.



Also what configurations should I use on ports that are just for data?



Voice Port



!

interface FastEthernet0/X

switchport voice vlan 2

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

no mdix auto

spanning-tree portfast

!



Router Port



!

interface FastEthernet0/24

description Router Trunk Port

switchport access vlan 2

switchport trunk encapsulation dot1q

switchport mode trunk

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

mls qos trust cos

auto qos voip trust

!




****************************************
********************************
***********************

The information contained in this e-mail is strictly confidential, some
or all
of which may be legally privileged. It is for the intended recipient
only.
Access to this e-mail by any other person is prohibited. If you are not
the
intended recipient, any use, disclosure, copying, printing, distribution
of,
replying to or any action taken or omitted to be taken in reliance on
this
e-mail, is prohibited and may be unlawful. Please contact the sender
immediately
should this e-mail have been incorrectly addressed or transmitted.

You accept that any instructions are deemed to have been given at the
time the
recipient(s) accesses them and that delivery receipt does not constitute
acknowledgement or receipt by the intended recipient(s). You accept that
there
may be a delay in processing the instructions received from e-mails
after
Charles Stanley has received them. You are advised that urgent, time
sensitive
and confidential communications should not be sent by e-mail.

You acknowledge that e-mails are not secure and you accept the risk of
malfunction, viruses, unauthorised interference, mis-delivery or delay.
****************************************
********************************
************************


Charles Stanley & Co. Ltd
Registered Office: 25 Luke Street London EC2A 4AR

Tel: 0207 739 8200 Fax: 0207 739 7798
Registered in England No. 1903304

Charles Stanley Sutherlands and Charles Stanley Securities are divisions
of Charles Stanley & Co. Ltd

Authorised and Regulated by the Financial Services Authority, Member of
the
London Stock Exchange, International Securities Markets Association, and
The London International Financial Futures &
Options Exchange.

This footnote also confirms that this email message has been swept by
McAfee
VirusScan and SurfControl Email Filter software.



________________________________

CONFIDENTIALITY STATEMENT

This communication and any attachments are CONFIDENTIAL and may be
protected by one or more legal privileges. It is intended solely for the
use of the addressee identified above. If you are not the intended
recipient, any use, disclosure, copying or distribution of this
communication is UNAUTHORIZED. Neither this information block, the typed
name of the sender, nor anything else in this message is intended to
constitute an electronic signature unless a specific statement to the
contrary is included in this message. If you have received this
communication in error, please immediately contact me and delete this
communication from your computer. Thank you.

________________________________




****************************************
********************************
***********************

The information contained in this e-mail is strictly confidential, some
or all
of which may be legally privileged. It is for the intended recipient
only.
Access to this e-mail by any other person is prohibited. If you are not
the
intended recipient, any use, disclosure, copying, printing, distribution
of,
replying to or any action taken or omitted to be taken in reliance on
this
e-mail, is prohibited and may be unlawful. Please contact the sender
immediately
should this e-mail have been incorrectly addressed or transmitted.

You accept that any instructions are deemed to have been given at the
time the
recipient(s) accesses them and that delivery receipt does not constitute
acknowledgement or receipt by the intended recipient(s). You accept that
there
may be a delay in processing the instructions received from e-mails
after
Charles Stanley has received them. You are advised that urgent, time
sensitive
and confidential communications should not be sent by e-mail.

You acknowledge that e-mails are not secure and you accept the risk of
malfunction, viruses, unauthorised interference, mis-delivery or delay.
****************************************
********************************
************************


Charles Stanley & Co. Ltd
Registered Office: 25 Luke Street London EC2A 4AR

Tel: 0207 739 8200 Fax: 0207 739 7798
Registered in England No. 1903304

Charles Stanley Sutherlands and Charles Stanley Securities are divisions
of Charles Stanley & Co. Ltd

Authorised and Regulated by the Financial Services Authority, Member of
the
London Stock Exchange, International Securities Markets Association, and
The London International Financial Futures &
Options Exchange.

This footnote also confirms that this email message has been swept by
McAfee
VirusScan and SurfControl Email Filter software.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com