An administrator is configuring a trunk link between Switch-1 and Switch-2. On Switch-1 interface GigabitEthernet0/1, the engineer executes the following configuration commands:
Switch-1(config-if)# switchport mode trunk
Switch-1(config-if)# switchport trunk native vlan 20
Switch-1(config-if)# switchport trunk allowed vlan 10,30,40
Assuming Switch-2 has default 802.1Q trunk configurations with native VLAN 20 allowed, how will Switch-1 process frame forwarding for VLAN 20 traffic egressing interface GigabitEthernet0/1?
- Switch-1 drops frames originating from VLAN 20 because VLAN 20 is not included in the interface allowed VLAN list.Cevap
- BSwitch-1 forwards VLAN 20 frames untagged because VLAN 20 is configured as the native VLAN on the interface.
- CSwitch-1 tags VLAN 20 frames with an 802.1Q header before transmitting them across the link.
- DSwitch-1 automatically enables PortFast on GigabitEthernet0/1 to permit untagged native VLAN traffic.
Cevap
Switch-1 drops frames originating from VLAN 20 because VLAN 20 is explicitly excluded from the trunk's allowed VLAN list.
The correct answer identifies that Switch-1 drops frames originating from VLAN 20. When the command 'switchport trunk allowed vlan' is used with an explicit parameter list, only traffic for the listed VLANs (10, 30, 40) is permitted across the trunk link. Because VLAN 20 is not in this list, its traffic is pruned and dropped at ingress/egress, even though it is configured as the native VLAN.
Adım Adım Çözüm
Anahtar Kavram
802.1Q Trunk Allowed VLAN Filtering Logic