Cisco trunk and multiple vlans

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Cisco trunk and multiple vlans

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Cisco trunk and multiple vlans
Cisco trunk and multiple vlans
2023-08-01 12:32:03
Tags: #cisco
Model: EAP225-Outdoor  
Hardware Version: V3
Firmware Version: 5.1.0 Build 20220926 Rel. 62456(4555)

hello,

 

i have 2 SSID defined in EAP225 and setup as VLAN 1 and VLAN 14.

on the Cisco switch i have this settings:

 

interface GigabitEthernet0/4
description TP-Link EAP225
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,14,100
switchport mode trunk
spanning-tree portfast
end

 

But is not working, if i setup the Cisco port with access and access to a single VLAN, any VLAN is working, but in any configuration is not working.

I have also contacted the TP-Link Romania (great support, hello to the guy on the other end of the phone) but no solution yet, using TP-Link products is working, but EAP225 + Cisco and trunking is a no go.

 

Any idea what i am doing wrong?

  0      
  0      
#1
Options
28 Reply
Re:Cisco trunk and multiple vlans
2023-08-01 15:02:35 - last edited 2023-08-01 15:16:10

  @SoulRaven 

 

try and add  switchport trunk native vlan xx

 

I have a semilar config and it work. remember native vlan dont need vlan config on ssid.

 

my config

 description AP1
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 60
 switchport trunk allowed vlan 1,60,200
 switchport mode trunk

 

you should also remove spanning-tree portfast, no need for that on access point, anly use that on singel host. (Printers workstaion and so on)

 

 

  0  
  0  
#2
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:15:32

  @MR.S if i add the native vlan in my case 100, for management, the management port is not working any more, the only option is to set the native valan to 1

  0  
  0  
#3
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:18:04

  @SoulRaven 

 

do you use controller or is ap in stand alone?

 

  0  
  0  
#4
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:20:18
standalone, AP->cisco switch to mention that the same config i use on 3 openwrt AP's and is working absolutely OK, with no other intervention. Is like the tp-link FW is not knowing about trunk.
  0  
  0  
#5
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:26:55

  @SoulRaven 

SoulRaven wrote

standalone, AP->cisco switch to mention that the same config i use on 3 openwrt AP's and is working absolutely OK, with no other intervention. Is like the tp-link FW is not knowing about trunk.

 

what firewall do you have? and how is switch port config to firewall?

 

  0  
  0  
#6
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:42:12

  @MR.S between the AP and the switch i don't have anything.

 

as a router, IDS, firewall, dhcp i use pfSense, and all the vlans are avalibile, the others AP and servers and evething is working just fine, the EAP255 is not workis as expected.

  0  
  0  
#7
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:44:45

  @SoulRaven 

 

ok, my suggestion is to add this line in config 

 

switchport trunk native vlan 1

 

then set managemnet vlan on AP, in theory this should work, mybee smiley

 

  0  
  0  
#8
Options
Re:Cisco trunk and multiple vlans
2023-08-01 15:58:43
already done this setting, is the only solution to have management access to the AP.
  0  
  0  
#9
Options
Re:Cisco trunk and multiple vlans
2023-08-01 16:08:36

  @SoulRaven 

 

mybee I miss somthing here, what is the exact problem. is it managment vlan or is it ssid dont work on vlan 1 and 14

 

 

 

  0  
  0  
#10
Options
Re:Cisco trunk and multiple vlans
2023-08-01 16:20:25

  @MR.S the vlan 1 and vlan 14 in my case are not working.

 

Any combination of 2 vlans is not working, if i set the access vlan 1 or 14 is working one of them, but in trunk mode no vlan is working. the only constant is the management.

Is like the AP is not know about trunking and the trunk and the management is send as different traffic.

  0  
  0  
#11
Options