cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3715
Views
5
Helpful
6
Replies

How to create VLAN on L3 switch.

gauravpundir231
Level 1
Level 1

Hi,

How to create VLAN on L3 switch.

I have 1 cisco 3850 as my core switch and 2 3850 as Access both are on different floors.

I need to create a voice vlan for one of my process. DHCP server is also there but on different subnet. Can anyone please help with configuration part. (gateway, ip helper ip, vlan range etc). using 172.21.26.0/24

6 Replies 6

gauravpundir231
Level 1
Level 1

Please reply as soon as possible

Example configuration :

vlan 10 

name voice

!

int vlan 10

ip address 172.21.26.1

ip helper-address xxxx

no shut

!

Adding to the Cofee config, under the interfaces:

interface fa0/X
switchport
switchport host
switchport access vlan <data vlan>
switchport voice vlan <voice vlan>

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

The config "switchport voice vlan xxx" assumes you have a Cisco phone, or one that knows how to interoperate with cisco switches and create the automatic trunk.

Now, the other trick is - to make sure the vlan extends where you want, or is routed to the correct locations. 

Are the uplinks between the 3850 switches declared as access ports, or as trunks?  If currently only access ports, they will only transport traffic in the one vlan declared on those uplinks.  If declared as trunk ports, then the voice traffic will probably also be passed from switch to switch, on the corresponding vlans.

Hi all,

Thanks for ur commnts.

Hi Cofee.

Please advise 

vlan 10 

name voice

!

int vlan 10

ip address 172.21.26.1: ( which IP is this) from where my usable IP range will strt.

ip helper-address xxxx

no shut

!

Hi there,

172.21.26.1 will be the gateway for users in subnet 172.21.26.0/24.

Network address - 172.21.26.0

first valid ip address - 172.21.26.1

Last valid ip address - 172.21.26.254

Broadcast address - 172.21.26.255