Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Switchport Config - Trunk or Access?

Hi,

Just wondering if Cisco has any recommendations around whether to configure the switchport as a trunk or as an access port for Lightweight Access Points?

We've been running some LAPs connected to trunk ports and some connected to access ports and we can't really see any difference.

We're guessing that the trunk port will allow 802.1p values to be carried in the frame, where an access port won't.

Can anyone provide any clarification or recommendations around this for us?

Cheers,

Dave.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Switchport Config - Trunk or Access?

When an AP joins a controller it creates an LWAPP tunnel adjacency (if your are on 5.2 code, it's a CAPWAP tunnel). Like most tunnels, all your traffic is aggregated within the tunnel itself.

So your vlans, qos, ssids, and traffic transverse the LWAPP tunnel, so there is no need to config the access switch with a trunk.

Your aps dont attach to the manager interface, but rather to the AP manager. I forget what code version the ap manager goes away, but you get the point.

__________________________________________________________________________________________ "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin ___________________________________________________________
10 REPLIES
Hall of Fame Super Gold

Re: Switchport Config - Trunk or Access?

Hi Dave,

Does your switchport carry two or more VLANs (like voice and data)? If yes, then it's recommended that you configure the switchports as trunks. Otherwise, if you only have one VLAN, then access would do just fine.

Hope this helps.

New Member

Re: Switchport Config - Trunk or Access?

Thanks Leo,

Yes the switchports do carry two vlans, as mentioned, voice & data... in fact three vlans if you include the management vlan. So it would make sense to configure them as trunks... but...

The LAPs connected to access ports still pass all traffic, whether its voice, data or management.

That's whats led me to post the question.

Its got me a bit confused.

Hall of Fame Super Gold

Re: Switchport Config - Trunk or Access?

Hi Dave,

You can always "allow" the specific VLANs you require:

switchport trunk allowed vlan Management,Voice,Data

Just substitute the "Management,Voice,Data".

Does this help?

Re: Switchport Config - Trunk or Access?

Leo,

Dave mentioned these were for lwapp access points. These should always be access ports ...

see attached

While the Cisco WLCs always connect to 802.1Q trunks, Cisco lightweight APs do not understand VLAN tagging and should only be connected to the access ports of the neighbor switch.

http://74.125.47.132/search?q=cache:1pLYVU-lw70J:www.cisco.com/en/US/products/ps6366/products_configuration_example09186a0080665cdf.shtml+lwapp+access+trunk&cd=4&hl=en&ct=clnk&gl=us

If these were autonomous, then yes you would need a truck. But not with LWAPP... but hey you boyz from down under have a whole different way of doing things lol!

__________________________________________________________________________________________ "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin ___________________________________________________________
New Member

Re: Switchport Config - Trunk or Access?

Hi gstefanick,

Thanks for your reply.

I've checked out the link and it seems to answer my question when it says that, 'Cisco lightweight APs do not understand VLAN tagging and should only be connected to the access ports'...

So I'll correct any LAP switchports that are currently configured as trunks.

How does it work though? Ie., having multiple vlans, but the LAP is attached to an access port in the management vlan.. how does the voice & data traffic get switched?

Re: Switchport Config - Trunk or Access?

When an AP joins a controller it creates an LWAPP tunnel adjacency (if your are on 5.2 code, it's a CAPWAP tunnel). Like most tunnels, all your traffic is aggregated within the tunnel itself.

So your vlans, qos, ssids, and traffic transverse the LWAPP tunnel, so there is no need to config the access switch with a trunk.

Your aps dont attach to the manager interface, but rather to the AP manager. I forget what code version the ap manager goes away, but you get the point.

__________________________________________________________________________________________ "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin ___________________________________________________________
New Member

Re: Switchport Config - Trunk or Access?

Cool, that explains things.

Yeah we're running 5.2 code, so it must be a CAPWAP tunnel.

Thanks for all your help.

Hall of Fame Super Gold

Re: Switchport Config - Trunk or Access?

Hi George,

I had LAPs connected to access port and AP's connected to Trunks. Don't see any difference. He he he ...

Re: Switchport Config - Trunk or Access?

Leo,

LOL, yea my first few installs was trunks too ...

__________________________________________________________________________________________ "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin ___________________________________________________________
Hall of Fame Super Gold

Re: Switchport Config - Trunk or Access?

I forget what code version the ap manager goes away, but you get the point.

The 5508 does not use AP-Manager. Optionally, you can have Dynamic AP-Manager.

2999
Views
5
Helpful
10
Replies