A network administrator configures an interswitch link between Switch-A and Switch-B using interface GigabitEthernet1/0/24 on both switches.
Switch-A interface configuration:
text
interface GigabitEthernet1/0/24
switchport trunk encapsulation dot1q
switchport mode dynamic auto
switchport trunk native vlan 20
switchport trunk allowed vlan 10,20,30
Switch-B interface configuration:
text
interface GigabitEthernet1/0/24
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
switchport trunk native vlan 1
switchport trunk allowed vlan 10,30,40
Assuming both switches support DTP and IEEE 802.1Q encapsulation, what is the operational behavior of this interswitch link?
- AThe trunk link forms successfully, and untagged VLAN 20 frames sent by Switch-A are accepted by Switch-B and forwarded into VLAN 1 regardless of Switch-B's allowed VLAN list configuration.
- The trunk link forms successfully; tagged traffic for VLANs 10 and 30 is forwarded normally, but untagged VLAN 20 frames sent by Switch-A are dropped upon ingress at Switch-B because Switch-B's native VLAN (VLAN 1) is not in its allowed VLAN list.Cevap
- CCDP detects the native VLAN mismatch between VLAN 20 and VLAN 1 and automatically forces both interfaces into an err-disabled state, blocking all interswitch traffic.
- DThe link fails to negotiate a trunk because dynamic DTP mode negotiation requires spanning-tree PortFast to be enabled on interswitch trunk interfaces before trunking can complete.
Cevap
The trunk link forms successfully; tagged traffic for VLANs 10 and 30 is forwarded normally, but untagged VLAN 20 frames sent by Switch-A are dropped upon ingress at Switch-B because Switch-B's native VLAN (VLAN 1) is not in its allowed VLAN list.
Dynamic Trunking Protocol (DTP) successfully negotiates an operational 802.1Q trunk because Switch-A is set to dynamic auto and Switch-B is set to dynamic desirable. Tagged VLANs present in both allowed lists (VLAN 10 and VLAN 30) traverse the link normally. However, Switch-A transmits VLAN 20 frames untagged because VLAN 20 is Switch-A's native VLAN. Upon receiving these untagged frames, Switch-B assigns them to its local native VLAN (VLAN 1). Since VLAN 1 is omitted from Switch-B's explicit allowed list (10, 30, 40), Switch-B drops the frames upon ingress.
Adım Adım Çözüm
Anahtar Kavram
802.1Q Trunking Mechanics, DTP Negotiation, Native VLAN Ingress Processing, and Allowed VLAN List Enforcement