Soru

Zorluk: ZorInterswitch Connectivity and Trunking (802.1Q)

An administrator connects two Cisco switches, Switch-1 and Switch-2, using interface GigabitEthernet0/1. Switch-1 is configured with `switchport mode dynamic desirable`, `switchport trunk native vlan 20`, and `switchport trunk allowed vlan 10,20,30`. Switch-2 is configured with `switchport mode dynamic auto`, `switchport trunk native vlan 20`, and `switchport trunk allowed vlan 10,30`. Which statement correctly describes the operational status and traffic behavior across this interswitch link?

  1. An 802.1Q trunk link forms successfully via DTP negotiation, but Switch-2 drops all ingress traffic for VLAN 20 because VLAN 20 is not included in its allowed VLAN list.Cevap
  2. B
    DTP negotiation fails to form a trunk link because the allowed VLAN lists on Switch-1 and Switch-2 do not match.
  3. C
    Switch-2 accepts untagged frames from Switch-1 on the native VLAN and automatically tags them with VLAN 20 to bypass its allowed VLAN list filter.
  4. D
    Because VLAN 20 is pruned on Switch-2, untagged VLAN 20 frames received by Switch-2 are automatically remapped to default VLAN 1.

Cevap

An 802.1Q trunk link forms successfully via DTP negotiation, but Switch-2 drops all ingress traffic for VLAN 20 because VLAN 20 is not included in its allowed VLAN list.
DTP successfully negotiates trunking between dynamic desirable and dynamic auto operational modes. However, trunk interface allowed VLAN lists filter traffic independently on each switch. Because Switch-2 has configured `switchport trunk allowed vlan 10,30`, VLAN 20 is explicitly pruned from Switch-2's trunk interface. Untagged traffic for native VLAN 20 arriving on Switch-2 will be mapped to VLAN 20 and subsequently dropped because VLAN 20 is not permitted on the trunk.

Adım Adım Çözüm

1
Analyze the Dynamic Trunking Protocol (DTP) mode negotiation between Switch-1 and Switch-2.
Switch-1 (dynamic desirable) actively sends DTP frames, while Switch-2 (dynamic auto) responds. A operational 802.1Q trunk link is established.
Matching allowed VLAN lists are not required for DTP to successfully negotiate a trunk link.
2
Evaluate the native VLAN frame tagging mechanics for Switch-1.
Switch-1 transmits frames for VLAN 20 without an 802.1Q tag across the trunk.
By default in 802.1Q trunking, traffic belonging to the native VLAN is sent untagged.
3
Evaluate Switch-2 ingress processing and allowed VLAN pruning logic.
Switch-2 receives untagged frames, associates them with native VLAN 20, but drops them because VLAN 20 is not present in `switchport trunk allowed vlan 10,30`.
The `switchport trunk allowed vlan` command acts as an ingress and egress filter on trunk interfaces.

Anahtar Kavram

802.1Q Trunking DTP Negotiation and Allowed VLAN Pruning Mechanics
Tahmini Süre:1m 30s
Bu soruyu puanla