cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2020
Views
0
Helpful
5
Replies

Native VLAN mismatch detected on interface PO4

cre8toruk
Spotlight
Spotlight

Hi All,

 

got this annoying CDP message which I don't seem to be able to shake off.

350XG connected to a SF300 via PO4 (port channel is PO4 on both switches to be helpful :-))

On SW2 (SF300) the ports gi51 & gi52 make up the port channel.... config below.

 

interface gigabitethernet51
 description CORE-SW-UPLINK-01
 spanning-tree link-type point-to-point
 channel-group 4 mode auto
 no macro auto smartport
!
interface gigabitethernet52
 description CORE-SW-UPLINK-02
 channel-group 4 mode auto
 no macro auto smartport

interface Port-channel4
 description CORE-SW2
 spanning-tree link-type point-to-point
 switchport trunk allowed vlan add 10,101-103,190,200,254,400,2122
 switchport trunk allowed vlan add 2126
 macro description "switch   "
 !next command is internal.
 macro auto smartport dynamic_type unknown

on the 350XG PO4 is made up of te1/0/2 and te2/0/2 config below

 

interface TenGigabitEthernet1/0/2
 description CORE-SW2-1
 spanning-tree link-type point-to-point
 channel-group 4 mode auto
 switchport mode trunk
 switchport trunk allowed vlan 10,101-103,190,200,254,400,2122,2126
 macro description "switch "
 !next command is internal.
 macro auto smartport dynamic_type switch

interface TenGigabitEthernet2/0/2
 description CORE-SW2-2
 spanning-tree link-type point-to-point
 channel-group 4 mode auto
 switchport mode trunk
 switchport trunk allowed vlan 10,101-103,190,200,254,400,2122,2126
 macro description "switch "

interface Port-Channel4
 description CORE-SW2
 spanning-tree link-type point-to-point
 switchport mode trunk
 switchport trunk allowed vlan 10,101-103,190,200,254,400,2122,2126
 macro description "switch "
 !next command is internal.
 macro auto smartport dynamic_type switch


If I check all ports for native vlan they say Native VLAN is VLAN 1 (on both switches).

 

SW1:
show int switchport po4

S-VLAN Ethernet Type:  0x8100 (802.1q)
VLAN Mapping Tunnel L2 protocols Global CoS: 5
Name: Po4
Switchport: enable
Administrative Mode: trunk
Operational Mode: up
Access Mode VLAN: 1
Access Multicast TV VLAN: none
Trunking Native Mode VLAN: 1 (Inactive)
Trunking VLANs: 10,101-103,190,200,254,400,2122,2126
General PVID: 1
General VLANs: none
General Egress Tagged VLANs: none
General Forbidden VLANs: none
General Ingress Filtering: enabled
General Acceptable Frame Type: all
General GVRP status: disabled
Customer Mode VLAN: none
Customer Multicast TV VLANs: none
Private-vlan promiscuous-association primary VLAN: none
Private-vlan promiscuous-association Secondary VLANs: none
Private-vlan host-association primary VLAN: none
Private-vlan host-association Secondary VLAN: none

SW2:
Show int switch po4
Port : Po4
Port Mode: Trunk
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 1

Port is member in:

Vlan               Name               Egress rule     Added by
---- -------------------------------- ----------- ----------------
 1                  1                  Untagged          V
 10              SERVERS                Tagged           S
101             MEL-MOBILE              Tagged           S
102             MEL-PUBLIC              Tagged           S
103            MEL-CONTROLS             Tagged           S
190            MEL-WIRELESS             Tagged           S
200             ENDPOINTS               Tagged           S
254           OTHER-DEVICES             Tagged           S
400          BURKINA-CONTROLS           Tagged           S
2122            NIMROD-DSL              Tagged           S

Any ideas how I can correct the CDP error ? Also on SW should te1/0/2 & te2/0/2 be configured like that if they're part of a port channel ? SW2 wouldn't let the ports have any configuration prior to being added to the port channel.

 

Grateful for all assistance as ever.

 

Paul.

 

5 Replies 5

Hello,

 

it could be that the first port channel doesn't like to be the allowed vlans being configured on two separate lines, while the other side has them on a single line. Try and configure them both with one single line.

 

--> switchport trunk allowed vlan add 10,101-103,190,200,254,400,2122. 2126

 

interface Port-channel4
description CORE-SW2
spanning-tree link-type point-to-point
switchport trunk allowed vlan add 10,101-103,190,200,254,400,2122
switchport trunk allowed vlan add 2126

 

interface TenGigabitEthernet2/0/2
description CORE-SW2-2
spanning-tree link-type point-to-point
channel-group 4 mode auto
switchport mode trunk
switchport trunk allowed vlan 10,101-103,190,200,254,400,2122,2126

Jaderson Pessoa
VIP Alumni
VIP Alumni

@cre8toruk Hello,

 

Try it:

interface gigabitethernet51
 description CORE-SW-UPLINK-01
 spanning-tree link-type point-to-point
switchport trunk allowed vlan add 10,101-103,190,200,254,400,2122
switchport trunk allowed vlan add 2126 channel-group 4 mode auto no macro auto smartport ! interface gigabitethernet52 description CORE-SW-UPLINK-02
switchport trunk allowed vlan add 10,101-103,190,200,254,400,2122
switchport trunk allowed vlan add 2126 channel-group 4 mode auto no macro auto smartport interface Port-channel4 description CORE-SW2 spanning-tree link-type point-to-point switchport trunk allowed vlan add 10,101-103,190,200,254,400,2122 switchport trunk allowed vlan add 2126 macro description "switch " !next command is internal. macro auto smartport dynamic_type unknown

 

Jaderson Pessoa
*** Rate All Helpful Responses ***

Right after a lot of Googling etc.. I tried the above btw... I resolved to simply disable the message... thanks to all for your assistance.

well.. disabling the message doesn't resolve it. Good lucky :)
Jaderson Pessoa
*** Rate All Helpful Responses ***

No I know but in the grand scheme, if the error is a bug in the software I figured I shouldn't waste more time on it :-)… Thanks.
Review Cisco Networking products for a $25 gift card