cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
250
Views
5
Helpful
2
Replies

(Another) VLAN question...

jimmysands73_2
Level 5
Level 5

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 2

lamav
Level 8
Level 8

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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco