cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
0
Helpful
3
Replies

configuring all ports with access and voice vlans on a switch

hmc250000
Level 1
Level 1

Can there be potential issues when configuring all ports with access and voice vlans on a switch? Is this recommended? The uplinks would probably be best configured as trunk I would assume. 

3 Replies 3

Jaderson Pessoa
VIP Alumni
VIP Alumni

Hello Henry,

Yes it is possible and recommend.

Look exemple below:

interface range gi 1/0/1 - 20
switchport mode acesss
switchport access vlan 10
switchport voice vlan 15

 

Between uplinks as trunk of course. allow just necessary traffic using manual prunning, for exemple:

interface gi 1/0/24

switchport mode trunk

switchport trunk allowed vlan 10,15

 

Between uplinks as trunk of course. allow just necessary traffic using automatic prunning, for exemple:

 

vtp prunning

interface gi 1/0/24

switchport mode trunk

 

 

vtp documentation: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/25ew/configuration/guide/conf/vtp.html

 

vlan trunk: http://www.ciscopress.com/articles/article.asp?p=29803&seqNum=3

 

voice and data vlan: https://learningnetwork.cisco.com/thread/29769

 

Regards,

Jaderson Pessoa
*** Rate All Helpful Responses ***

Thanks but can it potentially cause issues in certain scenarios. For example we had an esxi guest that is hosting a DHCP server connected to a switch that had voice and access vlan settings configured on the port. The DHCP server had issues but once I removed the voice vlan setting on the port it was working fine. So I'm just wondering if there are any other scenarios were you would not want the ports configured this way. Thanks.

This configuration would be applied at final users (users stations), not on servers, trunks or others things like it.

Jaderson Pessoa
*** Rate All Helpful Responses ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: