


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;feed=atom&amp;action=history</id>
		<title>Sample configuration for Voice and Data deployment on a Switch - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;action=history"/>
		<updated>2013-05-19T03:58:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;diff=30906&amp;oldid=prev</id>
		<title>Jkratky at 18:50, 22 June 2010</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;diff=30906&amp;oldid=prev"/>
				<updated>2010-06-22T18:50:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:50, 22 June 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 197:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 197:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note: The above mentioned commands are version specific, however are same or similar in most of the cases.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note: The above mentioned commands are version specific, however are same or similar in most of the cases.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Configuration Examples]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jkratky</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;diff=30386&amp;oldid=prev</id>
		<title>Anaiyar: New page: Sample configuration for Voice and Data deployment on a Switch        Case 1: Phone and PC's on different/dedicated switch ports on the switch        Creating VLAN's     Voice VLAN     Swi...</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Sample_configuration_for_Voice_and_Data_deployment_on_a_Switch&amp;diff=30386&amp;oldid=prev"/>
				<updated>2010-06-03T22:14:35Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Sample configuration for Voice and Data deployment on a Switch        Case 1: Phone and PC&amp;#39;s on different/dedicated switch ports on the switch        Creating VLAN&amp;#39;s     Voice VLAN     Swi...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sample configuration for Voice and Data deployment on a Switch&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Case 1: Phone and PC's on different/dedicated switch ports on the switch&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Creating VLAN's&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Voice VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#vlan &amp;lt;VLAN ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-vlan)#name Voice - description of the VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Similarly for the Data VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Creating VLAN interfaces (SVI's) and assigning IP address to them:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface vlan &amp;lt;VLAN ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#ip address &amp;lt;X.X.X.X&amp;gt; &amp;lt;X.X.X.X&amp;gt; - IP address Subnet Mask&lt;br /&gt;
&lt;br /&gt;
(The ip address should be one of the useable IP addresses of the phone or data subnet)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Similarly for the Data VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Interface configuration - Data/Voice&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface GigabitEthernet &amp;lt;interface ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport mode access&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport access vlan &amp;lt;VLAN ID&amp;gt; - data VLAN in case of PC&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport voice vlan &amp;lt;VLAN ID&amp;gt; - Voice VLAN in case of phone&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If QOS is to be applied&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch(config)#mls qos  -  Enabline QOS globally on the switch&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface GigabitEthernet &amp;lt;interface ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#auto qos voip trust&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Case 2: PC's connected via switchport behind the IP phone.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Creating VLAN's&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Voice VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#vlan &amp;lt;VLAN ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-vlan)#name Voice - description of the VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Similarly for the Data VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Creating VLAN interfaces (SVI's) and assigning IP address to them:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface vlan &amp;lt;VLAN ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#ip address &amp;lt;X.X.X.X&amp;gt; &amp;lt;X.X.X.X&amp;gt; - IP address Subnet Mask&lt;br /&gt;
&lt;br /&gt;
(The ip address should be one of the useable IP addresses of the phone or data subnet)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Similarly for the Data VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Interface configuration - Data/Voice&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface GigabitEthernet &amp;lt;interface ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport trunk encapsulation dot1q&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport mode trunk&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport trunk native vlan &amp;lt;VLAN ID&amp;gt; - Data VLAN&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport access vlan &amp;lt;VLAN ID&amp;gt; - Voice VLAN&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch#conf t&lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface GigabitEthernet &amp;lt;interface ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport trunk encapsulation dot1q&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport mode access&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport voice vlan &amp;lt;Voice VLAN ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#switchport access vlan &amp;lt;VLAN ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* With newer IOS it is not required that a switchport connecting a phone piggybacking a PC to be configured as a trunk specifically. Please see the secondary configuration above.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If QOS is to be applied&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch(config)#mls qos  -  Enabline QOS globally on the switch&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Switch(config)#interface GigabitEthernet &amp;lt;interface ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#auto qos voip trust&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
Switch(config-if)#auto qos voip trust cisco-phone (specifically for Cisco IP phones)&lt;br /&gt;
&lt;br /&gt;
Note: The above mentioned commands are version specific, however are same or similar in most of the cases.&lt;/div&gt;</summary>
		<author><name>Anaiyar</name></author>	</entry>

	</feed>