voice vlan on cisco switch and alcatel ip phone
Posted: 09 Feb 2011 00:55
hi , I have a fully cisco switched network comprising 5 vlans ( for example 2,3,4,5 and 6 ).
I will be deploying alcatel OXE and alcatel ip phone soon. I am planning to use the LAN port on the alcatel ip phone to connect the computers to the network.
Normally i would use the below config on my cisco switch
Data vlan 2,3,4,5,6
voice vlan 7.
Switch(config)# interface FastEthernet0/1
Switch(config-if)# switchport access vlan 2
Switch(config-if)# switchport mode access
Switch(config-if)# switchport voice vlan 7
Switch(config-if)# spanning-tree portfast
!
Switch(config)# interface FastEthernet0/2
Switch(config-if)# switchport access vlan 3
Switch(config-if)# switchport mode access
Switch(config-if)# switchport voice vlan 7
Switch(config-if)# spanning-tree portfast
now i know that the PC should be using untagged frames and the IP phone should be using 802.1q tagged frames.
Will the above config work or should i specify a native vlan ( that is the data vlan) on each port? If i recall well , once i specify the voice vlan , the access vlan traffic becomes untagged right?
If i specify a native vlan the config should look like below :
interface FastEthernet0/1
switchport access vlan 2
switchport trunk native vlan 2
switchport mode access
switchport voice vlan 7
!
interface FastEthernet0/2
switchport access vlan 3
switchport trunk native vlan 3
switchport mode access
switchport voice vlan 7
Do i need to specify the native vlan command for my setup to work?
Please note that i am doing intervlan routing between all of the above vlans.
many thanks in advance
I will be deploying alcatel OXE and alcatel ip phone soon. I am planning to use the LAN port on the alcatel ip phone to connect the computers to the network.
Normally i would use the below config on my cisco switch
Data vlan 2,3,4,5,6
voice vlan 7.
Switch(config)# interface FastEthernet0/1
Switch(config-if)# switchport access vlan 2
Switch(config-if)# switchport mode access
Switch(config-if)# switchport voice vlan 7
Switch(config-if)# spanning-tree portfast
!
Switch(config)# interface FastEthernet0/2
Switch(config-if)# switchport access vlan 3
Switch(config-if)# switchport mode access
Switch(config-if)# switchport voice vlan 7
Switch(config-if)# spanning-tree portfast
now i know that the PC should be using untagged frames and the IP phone should be using 802.1q tagged frames.
Will the above config work or should i specify a native vlan ( that is the data vlan) on each port? If i recall well , once i specify the voice vlan , the access vlan traffic becomes untagged right?
If i specify a native vlan the config should look like below :
interface FastEthernet0/1
switchport access vlan 2
switchport trunk native vlan 2
switchport mode access
switchport voice vlan 7
!
interface FastEthernet0/2
switchport access vlan 3
switchport trunk native vlan 3
switchport mode access
switchport voice vlan 7
Do i need to specify the native vlan command for my setup to work?
Please note that i am doing intervlan routing between all of the above vlans.
many thanks in advance