cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1178
Views
0
Helpful
7
Replies

issue with config switch vlan

Getting teh following error on my config for a switch.

00:36:26: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw-testlab. dgit.net GigabitEthernet4/0/20 (104).

lab1#show run int vlan 808

Current configuration : 175 bytes

!

interface Vlan808

ip address 192.168.30.1 255.255.255.0

ip helper-address 10.1.1.72

ip helper-address 10.1.1.73

no ip redirects

no ip proxy-arp

no ip route-cache

end

Cisco Vlan

VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                          active    Fa0/3, Fa0/4, Fa0/5, Fa0/6

                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10

                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14

                                                Fa0/15, Fa0/16, Fa0/17, Fa0/18

                                                Fa0/19, Fa0/20, Fa0/21, Fa0/22

                                                Fa0/23, Fa0/24

11   sh-inside                        active

15   outside                          active

20   dmz                              active

21   sh-dmz                           active

101  servers                          active

103  user_data                        active

104  wifi                             active

808  VLAN0808                         active    Fa0/1, Fa0/2

Cisco version

cisco WS-C2950-24 (RC32300) processor (revision R0) with 19918K bytes of memory.

Processor board ID FOC0911Y02M

Last reset from system-reset

Running Standard Image

24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:13:7F:E4:2C:40

Motherboard assembly number: 73-5781-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC09081JAB

Power supply serial number: DAB09083EHY

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-24

System serial number: FOC0911Y02M

Configuration register is 0xF

7 Replies 7

Daniel McDavid
Level 1
Level 1

Can you give a 'show run int fa0/1' on lab1 and 'show run int gi4/0/20' on sw-testlab.dgit.net? It looks like the gig port is configured as a trunk port and the fast ethernet is configured as an access port.

#show run int gi 4/0/20

Building configuration...

Current configuration : 118 bytes

!

interface GigabitEthernet4/0/20

switchport access vlan 104

switchport voice vlan 204

spanning-tree portfast

end

lab1#show run int fa0/1

Building configuration...

Current configuration : 85 bytes

!

interface FastEthernet0/1

switchport access vlan 808

switchport mode access

end

There is your Native VLAN mismatch. Port fa0/1 is sending VLAN 808 and gi 4/0/20 is sending 104. What are you trying to send between the two switches?

What i would like to do is add this switch in the conference room, and connect it to our existing network. Just basically providing more ports for a room with no ports.

You could just wipe and erase the 2950 and plug it in as it is. That would be 'wr erase' and 'delete vlan.dat', then reload. Make sure you take spanning-tree portfast off of port gi4/0/20. You should probably set up a trunk between the two, though. It would be something like:

! sw-testlab. dgit.net

int gi4/0/20

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 104,204, [mgmt vlan]

!

! lab1

int fa0/1

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 104,204, [mgmt vlan]

!

int range fa0/2 - 24

switchport mode access

switchport access vlan 104

switchport voice vlan 204

spanning-tree portfast

!

vlan 104

name data

vlan 204

name voice

!

What is your management VLAN? 808?

Management vlan is 100

So include that VLAN on your trunks:

! lab1

int fa0/1

switchport trunk allowed vlan add 100

!

! sw-testlab. dgit.net

int gi4/0/20

switchport trunk allowed vlan add 100

!

And give the 'lab1' switch an IP address on your management subnet:

! lab1

vlan 100

name mgmt

!

int vlan 100

ip address [ip address] [subnet mask]

no shut

!

ip default-gateway [gateway of mgmt subnet]