VLANS/VTP
Alright I'm setting up VTP on three Cisco Switches.
Both will be using version two and I will have roughly 10 VLANS.
I'm getting this error when I got into my interface range,
(An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.)
I've tried issuing switchport trunk encapsulation dot1q command and it does not accept it.
Checking books.. but what ios version btw?
edit can you post your config?
edit - this help?? ––> https://supportforums.cisco.com/thread/30128
Here is my S3 Config
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Stewie_S3
!
enable secret 5 $1$svM3$CU2W0G7IEeaHowIClezXp0
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
no ip domain-lookup
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/2
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/3
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/4
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/5
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/6
switchport mode access
!
interface FastEthernet0/7
switchport mode dynamic desirable
shutdown
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
shutdown
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan99
ip address 172.17.99.13 255.255.255.0
no ip route-cache
!
ip http server
!
control-plane
!
banner motd ^CCCAuthorized Access Only^C
*Mar 1 00:30:09.212: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3 (99), with Cleveland_S1 FastEthernet0/3 (1).
*Mar 1 00:30:09.212: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4 (99), with Cleveland_S1 FastEthernet0/4 (1).
gaaaaaaaaaaaaahhhh

Originally Posted By ZByam:
*Mar 1 00:30:09.212: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3 (99), with Cleveland_S1 FastEthernet0/3 (1).
*Mar 1 00:30:09.212: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4 (99), with Cleveland_S1 FastEthernet0/4 (1).
gaaaaaaaaaaaaahhhh

Ok so in this case whatever switch is connected to Cleveland_S1 on port fa0/3 and fa0/4 is configured with native vlan 99, you will need to match the native vlan command on the other side (Cleveland) using switchport trunk native vlan 99. Also by what is shown above it looks like you are running two ports between switches, be aware you will need to port channel these trunks or else you will end up with spanning tree blocking one of them.
As for the trunk encapsulation command, at which point in the command does it error? Also can you provide all the switch configs as well as a rough diagram?
http://www.cisco.com/en/US/docs/switches/lan/catalyst5000/catos/4.5/quick/configuration/trunks.html
plus, your fe 0/3 and 0/4 are shutdown....
check 3 and 4 from switchport mode dynamic to switchport mode trunk.
also, which switch is going to be master for the vtp database?
What is the model of the switch?
Do these commands not work?
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
I'm using 3 switches and all are Cisco.
S1 is a 3550
S2 is a 2960
S3 is a 3550
The switches are in a triangle format (Using Netlabs)
All I know is that I made S2 the server and S1 and S2 are a client.
I made Vlans on S2 and when I go back in all the Vlans are not in the shown when I do a show vlan brief.
And this is what I'm working with.

the 2960 might not have vlan features (or different vlan defaults) than the other two.
https://supportforums.cisco.com/thread/148476
Originally Posted By NimmerMehr:
the 2960 might not have vlan features (or different vlan defaults) than the other two.
https://supportforums.cisco.com/thread/148476
I read up on that..
I was trying to create vlans on the 2960, Maybe I should create the vlans on a 3550 and then maybe the two other clients will pick up on the vlans?
Quick question, I don't know if this has been answered already, but did you make sure every switch it is in the same VTP domain?
ETA: Native VLAN mismatch errors can happen for several reasons, one of them being load balancers that are in bridge mode. From your config though I would assume one of the switches is using a dissimilar native VLAN. The "switchport trunk native vlan XX" on your trunkports should fix that if that is the case.
For the 2960. You might have to use the vlan database to add / delete vlans and setting. You actually do this from the regular prompt, not config mode. Just do a v? from the basic prompt. Some switches are a bit funny about the order of commands. Are you trying to do "switchport mode trunk" on an interface and getting the auto error?
Originally Posted By Repents:
For the 2960. You might have to use the vlan database to add / delete vlans and setting. You actually do this from the regular prompt, not config mode. Just do a v? from the basic prompt. Some switches are a bit funny about the order of commands. Are you trying to do "switchport mode trunk" on an interface and getting the auto error?
Yeah I was originally trying to do the switchport mode trunk command and then got the error.
I then went back into my labs assignment and did a whole new configuration. This time before doing the switchport mode trunk, I did switchport trunk encapsulation dot1q. It worked after that.
Once I got that done and the VLan99's done on all three switches, It worked fine and I had no conflicts.
Good to hear. I hate when people don't follow up and let us know if they got it working.
