Book now with code EOY2025
snickered wrote: » I am reading the ICND2 Cisco Press book and don't understand a couple things about native VLANs. Hopefully someone can help me out. The book says: "When the switch on the other side of the trunk receives a frame that does not have an 802.1Q header, the receiving switch knows that the frame is part of the native VLAN. Note that because of this behavior, both switches must agree which VLAN is the native VLAN." 1. So, let's say an unmanaged switch is connected to that trunk port. That switch will get frames that are tagged and untagged. Will the unmanaged switch simply drop the tagged frames?
snickered wrote: » 2. I'm guessing that if you have more than one trunk port on a switch they would all have to have the same native VLAN, correct?
snickered wrote: » 3. What happens if you connect an unmanaged switch to an access port? I would guess frames arriving in that switchport would be tagged if it wasn't an access port of the native VLAN. So, wouldn't it be better to create an access port that's in the native VLAN and connect it to the unmanaged switch? It seems like it would eliminate all the dropped frames that I'm suspecting from question 1.
LBC90805 wrote: » Tim, you mean you can have different native VLANs per trunk?
"Yes, you can have one trunk between two switches with let's say Native VLAN 1 and another trunk between the two switches with Native VLAN 2."
snickered wrote: » tim100, you say: This confuses me terribly. I think I'm confused on the "order of operations" when tagging. I was under the impression that frames were tagged upon arriving at a switchport. But this can't be true with what you said. It must be that switches are intelligent enough to determine when to tag and when not to tag based on the trunk port. Here's a scenario... int fa0/1 switchport mode access switchport access vlan 2 int fa0/2 switchport mode access switchport access vlan 3 int fa0/23 switchport mode trunk switchport trunk native vlan 3 int fa0/24 switchport mode trunk switchport trunk native vlan 2 Let's say ComputerA is connected to fa0/1 and ComputerB is connected to fa0/2. 1. ComputerA sends a broadcast frame. 2. The switch tags the frame and doesn't tag the frame. 3. The switch sends the tagged frame out fa0/23. 4. The switch sends the untagged frame out fa0/24. and it would be reversed in ComputerB's situation: 1. ComputerB sends a broadcast frame. 2. The switch tags the frame and doesn't tag the frame. 3. The switch sends the tagged frame out fa0/24. 4. The switch sends the untagged frame out fa0/23. Is this how it would work? Thanks.
tim100 wrote: » unmanaged switches are usually just basic switches that don't have any of the capabalities of a managed switch. An unmanaged switch's ports are all access ports and there is no vlan. They are all under one broadcast domain. If an unmanaged switch is connected to that trunk port then yes the ummanaged switch will drop tagged frames and only process untagged frames. So basically the unmanaged switch will only be able to communicate with any other access port that is a member of the native vlan on that trunk port. This is not a common practice.
The 802.1Q native VLAN provides some interesting functions, mainly to support connections to devices that do not understand trunking. For example, a Cisco switch could be cabled to a switch that does not understand 802.1Q trunking. The switch could send frames in the native VLAN--Meaning that the frame has no trunking header--so the other switch would understand the frame.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!