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.

(Another) VLAN question...

Say you have this config (found on internet browsing)...

interface FastEthernet0/19

description AP1120G-Gnd

switchport access vlan 50

switchport trunk encapsulation dot1q

switchport trunk native vlan 50

switchport trunk allowed vlan 50,51

switchport mode trunk

switchport nonegotiate

!

How can this work, having an access port and trunk on same port? A trunk port will allow all VLAN, but this is pruned to only let VLANs 50 and 51 through, but then why the sw ac vl 50 cmd?

Again, this is just someones config I found on internet, so it might be incorrect.

Thx again

2 REPLIES
Blue

Re: (Another) VLAN question...

I can fully understand why you are confused. One normally configures a port to be an access port or a trunk port. This is configured as both.

The reason that this is done is to have a deterministic failure scenario in the event that the port stops trunking. If the port ceases to trunk properly, it will automatically place itself in vlan 1. This configuration is meant to force into vlan 50 instead.

HTH

Victor

Re: (Another) VLAN question...

Thanks for the explanation, I got the original page from here:

http://www.tek-tips.com/viewthread.cfm?qid=1472833&page=5

116
Views
5
Helpful
2
Replies