LAN Switching Voice and Data Vlan Configuration Example

From DocWiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
Line 3: Line 3:
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport mode trunk
-
Switch(config-if)# switchport voice vlan 3    <---- exampale voice vlan 3
+
Switch(config-if)# switchport voice vlan 3    <---- example voice vlan 3
Switch(config-if)# switchport trunk native vlan 2 <- example data vlan 2
Switch(config-if)# switchport trunk native vlan 2 <- example data vlan 2
</pre>
</pre>
Line 9: Line 9:
vlan 3 - voice vlan
vlan 3 - voice vlan
-
[[Category:Configuration Examples]]
+
[[Category:LAN Switching Configuration Examples]]

Latest revision as of 19:33, 18 November 2011

Switch# configure terminal
Switch(config)# interface gigabitethernet1/0/1 <--- example interface
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport voice vlan 3     <---- example voice vlan 3
Switch(config-if)# switchport trunk native vlan 2 <- example data vlan 2

ex. vlan 2 - data vlan

vlan 3 - voice vlan

Rating: 4.0/5 (6 votes cast)

Personal tools