Pages

Tuesday, February 3, 2015

CISCO two differnet VLAN access from two differnet port in same switch / CDP Native VLAN mismatch


CISCO two differnet VLAN access from two differnet port in same switch and CDP Native VLAN mismatch problem
------------------------------------------------------------------------------------------

Suppose I have a VLAN 50 declared from my network connected by trunk GigabitEthernet0/1
and
another Vendors  VALN 60 declared from vendor  connected by trunk GigabitEthernet0/2

Now I want to access  VLAN 50 with VLAN 60 with the same switch  two port fa0/20 and fa0/21


interface GigabitEthernet0/1
 description From-My-Switch
 switchport trunk allowed vlan 50
 switchport mode trunk
!
interface GigabitEthernet0/2
 description With-Other-Vendor
 switchport trunk allowed vlan 60
 switchport mode trunk
!


interface FastEthernet0/20
 description My-VLAN
 switchport access vlan 50
 switchport mode access
!
interface FastEthernet0/21
 description Vendor-Data-VLAN
 switchport access vlan 60
 switchport mode access
!

-----------------------------------
Now  if we montor terminal by
Switch# terminal monitor 
then some error may found like bellow

1w0d: %CDP-4-NATIVE_VLAN_MISMATCH: 
Native VLAN mismatch discovered on FastEthernet0/21 (60), with Switch FastEthernet0/20 (50).

----------------
Switch-tayab# conf t 
Switch-tayab (config)# no cdp run
Switch-tayab (config)#exit
Switch-tayab# wri
----------------------------------------------------------------------
  
--------------------------------------------------------------------------------------------------

No comments:

Post a Comment