Soru

Zorluk: ZorTroubleshooting VLAN, Trunking, and Switching Issues

A network administrator is investigating a report that newly provisioned database servers residing on VLAN 30 attached to Switch-A cannot communicate with application servers on VLAN 30 connected to Switch-B. Both switches are connected via an 802.1Q trunk on interface GigabitEthernet0/1. The administrator executes a troubleshooting command on Switch-A and observes the following output:

PortModeEncapsulationStatusNative vlan
Gi0/1on802.1qtrunking1
PortVlans allowed on trunk
Gi0/11-20, 40-100

Local pings from the database servers to Switch-A's Layer 3 VLAN 30 interface succeed, but traffic crossing to Switch-B is completely dropped. Which of the following identifies the root cause of this connectivity failure?

  1. VLAN 30 is missing from the list of allowed VLANs configured on the trunk interface.Cevap
  2. B
    A native VLAN mismatch exists because Switch-A uses VLAN 1 while Switch-B is configured to send tagged frames for VLAN 30.
  3. C
    A duplex mismatch on interface Gi0/1 is causing late collisions that drop all frames tagged with VLAN 30.
  4. D
    Switch-A has been configured with an improper Spanning Tree Protocol (STP) priority, placing interface Gi0/1 into a blocking state.

Cevap

VLAN 30 is missing from the list of allowed VLANs configured on the trunk interface.
The trunk output clearly shows that interface Gi0/1 only permits VLANs in the ranges 1-20 and 40-100. Because VLAN 30 is omitted from this allowed list, Switch-A drops all ingress and egress frames tagged for VLAN 30 on this trunk interface.

Adım Adım Çözüm

1
Analyze the CLI trunk output on Switch-A
Interface Gi0/1 is configured as an 802.1Q trunk with native VLAN 1.
Understanding the trunk parameters helps determine how traffic is pruned or allowed across the switch link.
2
Inspect the 'Vlans allowed on trunk' field
The allowed VLAN range is 1-20 and 40-100.
VLAN 30 falls into the gap between 20 and 40, meaning traffic belonging to VLAN 30 is automatically pruned and dropped at the trunk boundary.
3
Formulate the corrective action
Add VLAN 30 to the allowed VLAN list on interface Gi0/1 using switchport trunk allowed vlan add 30.
Including VLAN 30 in the allowed list permits tagged frames for VLAN 30 to traverse the trunk link between Switch-A and Switch-B.

Anahtar Kavram

802.1Q Trunk Allowed VLAN List Pruning
Bu soruyu puanla