cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1188
Views
9
Helpful
7
Replies

Data and Voice VLAN Config

johnlloyd_13
Level 9
Level 9

hi all,

just a quick question, can the below config be converted on a cisco switch port.

INITIAL CONFIG:

interface FastEthernet0/1

switchport trunk encapsulation dot1q

switchport trunk native vlan 2  

switchport mode trunk  

switchport voice vlan 1  

no mdix auto

spanning-tree portfast

CONVERT TO:

interface FastEthernet0/1

switchport access vlan 2  

switchport mode access

switchport voice vlan 1  

no mdix auto

spanning-tree portfast

3 Accepted Solutions

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

I don't see why not.

View solution in original post

ALIAOF_
Level 6
Level 6

Yes that is how we setup our ports:

interface FastEthernet0/3

switchport access vlan 10

switchport mode access

switchport voice vlan 20

switchport port-security maximum 2

switchport port-security maximum 1 vlan access

switchport port-security

switchport port-security aging time 1

switchport port-security violation restrict

switchport port-security aging type inactivity

no logging event link-status

srr-queue bandwidth share 1 30 35 5

priority-queue out

mls qos trust cos

auto qos trust

spanning-tree portfast

View solution in original post

Bhishma Khanna
Cisco Employee
Cisco Employee

Hi, Yes you can use this configuration to connect your workstation(DATA) to switch via IP phone(voice).

In this configuration the workstation would utilize the data vlan and the IP phone would utilize the data vlan first and then the voice vlan.

Thanks.

View solution in original post

7 Replies 7

Edison Ortiz
Hall of Fame
Hall of Fame

I don't see why not.

ALIAOF_
Level 6
Level 6

Yes that is how we setup our ports:

interface FastEthernet0/3

switchport access vlan 10

switchport mode access

switchport voice vlan 20

switchport port-security maximum 2

switchport port-security maximum 1 vlan access

switchport port-security

switchport port-security aging time 1

switchport port-security violation restrict

switchport port-security aging type inactivity

no logging event link-status

srr-queue bandwidth share 1 30 35 5

priority-queue out

mls qos trust cos

auto qos trust

spanning-tree portfast

Bhishma Khanna
Cisco Employee
Cisco Employee

Hi, Yes you can use this configuration to connect your workstation(DATA) to switch via IP phone(voice).

In this configuration the workstation would utilize the data vlan and the IP phone would utilize the data vlan first and then the voice vlan.

Thanks.

Apart from the answer "yes" to your question:
it is not custom to use vlan 1 as voice vlan
Vlan 1 is default used for many other packets too

Sent from Cisco Technical Support iPad App

thank you guys for your feedback! +5

i just wanted to confirm before i go and make changes (although deep in my head i already know).

pieterh,

yes, from a security standpoint i understand. but the network is already in place (a long time ago) and it would be a major change just to change VLAN 1.

no mdix auto

It will work, John but I question the "sanity" of this line.

I do not see the benefits gained by disabling MDI/MDI-X. 

thanks pre for spotting this!

good stuff! (as what my australian boss tells me).

maybe i can enable mdix back.

i'm not sure why the previous admin did this.

Review Cisco Networking products for a $25 gift card