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.
28 Reply
Re:Cisco trunk and multiple vlans
2023-08-01 18:07:12

  @SoulRaven 

 

You should have no issue with VLAN 14. As far as the VLANs 1 and 100 are concerned, it all depends which one is native on the CISCO switch since the native VLAN means untagged traffic on the trunk. That needs to be matched on the AP.

 

Untagged (Native) = no VID on SSID (only one VLAN)

 Tagged = VID on SSID (one or many VLANs)

Kris K
  0  
  0  
#22
Options
Re:Cisco trunk and multiple vlans
2023-08-01 18:12:20

  @KJK native vlan is 1

 

Port        Mode             Encapsulation  Status        Native vlan
Gi0/1       on               802.1q         trunking      1
Gi0/3       on               802.1q         trunking      1
Gi0/4       on               802.1q         trunking      1
Gi0/45      on               802.1q         trunking      1
Gi0/46      on               802.1q         trunking      1
Gi0/47      on               802.1q         trunking      1
Gi0/48      on               802.1q         trunking      1

 

Port        Vlans allowed on trunk
Gi0/1       1-4094
Gi0/3       1-4094
Gi0/4       1,14,100
Gi0/45      1-4094
Gi0/46      9-10,99-100
Gi0/47      1-4094
Gi0/48      13

 

Port        Vlans allowed and active in management domain
Gi0/1       1,9,14,99-100
Gi0/3       1,9,14,99-100
Gi0/4       1,14,100
Gi0/45      1,9,14,99-100
Gi0/46      9,99-100
Gi0/47      1,9,14,99-100
Gi0/48      none

 

Port        Vlans in spanning tree forwarding state and not pruned
Gi0/1       1,9,14,99-100
Gi0/3       1,9,14,99-100
Gi0/4       1,14,100
Gi0/45      1,9,14,99-100
Gi0/46      9,99-100
Gi0/47      1,9,14,99-100
Gi0/48      none
 

  0  
  0  
#23
Options
Re:Cisco trunk and multiple vlans
2023-08-01 18:25:24

  @SoulRaven 

of course you can have both on a cisco switch.

try and simplify it a bit, try and turn off management vlan on access point, set deafult vlan to vlan1 with these commands
switchport trunk native vlan 1 or switchport access vlan 1

on ssid vlan should be disabled on native vlan.

 

you probably have to do some lab before it will work, smiley 

 

If you find a solution, write a few words on the forum, I'm curious as to what the problem is.

 

 

 

 

 

 

 

 

  1  
  1  
#24
Options
Re:Cisco trunk and multiple vlans
2023-08-01 18:29:00

SoulRaven wrote

  @KJK native vlan is 1

 

Port        Mode             Encapsulation  Status        Native vlan
Gi0/1       on               802.1q         trunking      1
Gi0/3       on               802.1q         trunking      1
Gi0/4       on               802.1q         trunking      1
Gi0/45      on               802.1q         trunking      1
Gi0/46      on               802.1q         trunking      1
Gi0/47      on               802.1q         trunking      1
Gi0/48      on               802.1q         trunking      1

 

Port        Vlans allowed on trunk
Gi0/1       1-4094
Gi0/3       1-4094
Gi0/4       1,14,100
Gi0/45      1-4094
Gi0/46      9-10,99-100
Gi0/47      1-4094
Gi0/48      13

 

Port        Vlans allowed and active in management domain
Gi0/1       1,9,14,99-100
Gi0/3       1,9,14,99-100
Gi0/4       1,14,100
Gi0/45      1,9,14,99-100
Gi0/46      9,99-100
Gi0/47      1,9,14,99-100
Gi0/48      none

 

Port        Vlans in spanning tree forwarding state and not pruned
Gi0/1       1,9,14,99-100
Gi0/3       1,9,14,99-100
Gi0/4       1,14,100
Gi0/45      1,9,14,99-100
Gi0/46      9,99-100
Gi0/47      1,9,14,99-100
Gi0/48      none
 

  @SoulRaven ok. connect a computer and se if you get ip from vlan1 on that port and what port use your firewall

 

  0  
  0  
#25
Options
Re:Cisco trunk and multiple vlans
2023-08-01 18:36:45

  @SoulRaven all off my AP ar working with trunk and trunk access vlan.

 

the openwrt has not any problem with trunking and access mode on ports.

 

the question is what is the reson that EAP requires specific settings any other that any normal trunking port for multiple ssid's

  0  
  0  
#26
Options
Re:Cisco trunk and multiple vlans
2023-08-01 18:39:50

  @MR.S i have 20 years in networking and data center maintenance as active CTO.

 

the problem untill now is not my knolage about nrtworking is about how EAP is working with trunks and tagged and untagged traffic.

 

to keep in mind, in any trunking configuration, the only untagged vlan is native vlan, any other vlan accepted is tagged.

in access mode you don't have more that 1 accepted vlan, and in trunking as many as you want, except the native vlan that is untagged.

  0  
  0  
#27
Options
Re:Cisco trunk and multiple vlans
2023-08-01 18:45:54

  @SoulRaven 

 

I think you have to ask tp-link about that. I give up for now. mybe there is som other on the forum that have more information to you,

 

 

 

 

 

  0  
  0  
#28
Options
Re:Cisco trunk and multiple vlans
2023-08-01 21:25:15

  @SoulRaven 

 

An EAP configured according to the screenshot you have provided earlier will do the following:

 

  1. Frames received from devices connected to “TP-Link_2.4…” will be sent untagged to the switch. Untagged frames received from the switch will be sent to devices connected to the same SSID (TP-Link_2.4…).
  2. Frames received from devices connected to “test” will be sent to the switch tagged with VID= 14. Frames tagged with VID=14 received from the switch will be sent to devices connected to the same SSID (test).
  3. Frames received from devices connected to “TP-Link_5…” will be sent to the switch tagged with VID=100. Frames tagged with VID=100 received from the switch will be sent to devices connected to the same SSID (TP-Link_5…).

 

Since both your EAP and switch talk the same language, that is dot1q, they should understand each other. I have never heard about any incompatibility in this resect.

Kris K
  0  
  0  
#29
Options

Tags

cisco
Related Articles