cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1694
Views
0
Helpful
13
Replies

Trunk vlans

www.anaya
Level 1
Level 1

Hi,

I'm trying to trunk 2 new additional vlans from Core Switch to a client Switch.

I'm using the default vlan as a management vlan. 

CoreSW has the 10.64.45.1 and my client SW has the 10.64.45.28

I have connectivity btw switches.

Now, I'm trying to set the rest of the ports of the client sw to use the vlan 6 (10.64.46.0/24)

I have the following on the CoreSW:

interface FastEthernet1/0/47
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,6,7
switchport mode trunk
switchport nonegotiate
load-interval 30
carrier-delay msec 0
channel-protocol pagp
channel-group 2 mode desirable
spanning-tree link-type point-to-point
end

I have the following on Client Switch

interface FastEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,6,7
switchport mode trunk
switchport nonegotiate
load-interval 30
carrier-delay msec 0
channel-protocol pagp
channel-group 2 mode desirable
spanning-tree link-type point-to-point
end

When I connect a computer on one of the rest of ports:

interface FastEthernet1/0/6
description Agent station
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,5,6
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
end

I put a IP address 10.64.46.10 255.255.255.0 on a computer, but it doesn't recognize the network.

Also, I have tried changing this port to a native vlan 6. But same results.

Ideas? Not sure what I'm doing bad.

1 Accepted Solution

Accepted Solutions

The vtp is not synced between client and server switches , server has 8 vlans and client has 5 , revision numbers/MD5s are different as well so vtp is not working correctly

you can change the client to transparent and just add the vlans manually either

the vlan your having issues with is it 6 yes ? Is that being forwarded on the trunk on both switches--show int trunk

View solution in original post

13 Replies 13

Philip D'Ath
VIP Alumni
VIP Alumni

I'm guessing you are using some non-Cisco phone system to be using a config like that.  In that case, you'll probably need something like:

interface FastEthernet1/0/6
description Agent station
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1,5,6
 switchport trunk native vlan 6
 switchport mode trunk
 switchport voice vlan 5
 spanning-tree portfast
end

Also, have you actually create the vlan on each switch?

config t
vlan 6

I have tried with native Vlan 6 command.

And I have no created the Vlan 6 on each switch. Only on Core SW. Is this needed?

I'll try and get back to you with updates.

your vlans need to be on each switch in the broadcast domain if there going to speak to each other, you need tobe in vtp server mode

Core switch has the vtp on server mode. 

ELS-OCI-NEW-OFFICE-SW7#sh vtp status
VTP Version capable : 1 to 3
VTP version running : 1
VTP Domain Name : elsalvador
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
Device ID : 001a.a13f.a780
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00

Feature VLAN:
--------------
VTP Operating Mode : Client
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
Configuration Revision : 0
MD5 digest : 0x40 0xD9 0x9B 0x2F 0x6E 0x62 0x71 0xCE
0x33 0xCB 0x4F 0x57 0x69 0xB8 0x19 0x37

if the core switch is in server mode that's where the vlan needs to be added so its pushed to client switches

The core switch already has the vlan. 

ELS-Core#sh vtp status
VTP Version capable : 1 to 3
VTP version running : 1
VTP Domain Name : elsalvador
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
Device ID : 0019.e85e.0a00
Configuration last modified by 10.64.45.1 at 1-7-16 06:47:23
Local updater ID is 10.64.45.1 on interface Vl1 (lowest numbered VLAN interface found)
Feature VLAN:
--------------
VTP Operating Mode : Server
Maximum VLANs supported locally : 1005
Number of existing VLANs : 8
Configuration Revision : 14
MD5 digest : 0xF1 0x6D 0x27 0x6A 0x02 0x2D 0xAC 0x62
0x99 0xB6 0xEF 0xEF 0x04 0x7F 0x92 0x07
ELS-Core#

The vtp is not synced between client and server switches , server has 8 vlans and client has 5 , revision numbers/MD5s are different as well so vtp is not working correctly

you can change the client to transparent and just add the vlans manually either

the vlan your having issues with is it 6 yes ? Is that being forwarded on the trunk on both switches--show int trunk

That was the problem. 

Thanks a lot!

ah great :)

I have tried with native vlan command. But no success.

&

I can't create the vlan on Switch client. It show me the following error:

VTP VLAN configuration not allowed when device is in CLIENT mode.

Mark Malone
VIP Alumni
VIP Alumni

pcs should not be connected to trunk ports , and portfast should not be enabled on a trunk interface

if the pc is connecting to f1/0/6 and its just pc and phone it should be set like below as example

interface GigabitEthernet1/3
 description Agent station
 switchport
 switchport access vlan 6
 switchport voice vlan 5
 spanning-tree portfast edge
 spanning-tree bpduguard enable

is the vlan allowed on the trunk sh int trunk

Can you quick explain why? I have my switches working on trunk mode... 

I have my switches working like this, on trunk mode. 

The phones activate the .1q for select the voice vlan.

Its not best practice that's why they introduced the voice vlan command ,setting access ports as trunk is legacy , couple of other  reasons in doc below , spanning-tree another reason

http://networkingnerd.net/2012/05/09/switchport-voice-vlan-post/