Hands-On Lab: Advanced Multi-Layer Troubleshooting Challenge (BGP, VXLAN, and QoS)

This hands-on lab presents a complex failure spanning BGP path selection, a VXLAN VNI mismatch, and a QoS policy misapplication simultaneously, requiring the systematic layer-by-layer troubleshooting approach used throughout this series to isolate and resolve all three faults.

Advanced Multi-Fault TroubleshootingBGP Path Selection DiagnosisVXLAN VNI Verification

~4 min read · Updated Sep 26, 2026

Lab Objective

Diagnose and resolve three independently introduced faults across a topology combining BGP, VXLAN, and QoS — an incorrect local preference causing suboptimal path selection, a VNI mismatch breaking Layer 2 extension between two VTEPs, and a QoS policy applied in the wrong direction — using the systematic troubleshooting discipline established throughout this series.

Lab Purpose

This capstone lab combines faults across three of the more advanced technologies covered in this series, reinforcing that the same bottom-up, layer-by-layer methodology used for basic connectivity problems scales to sophisticated multi-technology environments — each fault here produces a distinct, identifiable signature once the right verification command is used, exactly as with every troubleshooting lab throughout this series.

Lab Topology

Site-A (R1, VTEP1) ---- BGP/VXLAN/QoS ---- Site-B (R2, VTEP2)

Expected working state:
- Traffic from Site-A to Site-B's network
  should prefer the primary path (higher
  local preference)
- HostA (Site-A, VNI 10100) should reach
  HostB (Site-B, same VLAN, should be VNI 10100)
- Voice traffic should be marked and
  prioritized outbound from R1 toward the WAN

Three faults have been deliberately introduced

Task 1: Confirm the Reported Symptoms

Traffic is taking the backup path unexpectedly, HostA cannot reach HostB, and voice quality is poor. Confirm all three symptoms.

Task 2: Diagnose and Resolve the BGP Path Selection Fault

Examine the BGP table for the affected route and identify why the expected path is not preferred.

Task 3: Diagnose and Resolve the VXLAN Fault

Examine the VNI configuration on both VTEPs and identify the mismatch preventing Layer 2 reachability.

Task 4: Diagnose and Resolve the QoS Fault

Examine the policy-map application on R1's interfaces and identify why voice traffic is not being prioritized.

Task 5: Verify All Symptoms Are Resolved

Confirm the primary BGP path is now preferred, HostA reaches HostB, and voice traffic is properly marked and queued.

Solution and Verification

-- Fault 1: BGP path selection

R1# show ip bgp 192.168.80.0

   Network              Next Hop        LocPrf  Path
*  192.168.80.0/24     [via primary]     80      65200 i
*> 192.168.80.0/24     [via backup]      100     65200 i
-- The backup path shows a HIGHER local
-- preference (100) than the intended
-- primary path (80) -- exactly backwards
-- from the design intent -- FAULT 1
-- IDENTIFIED

R1(config)# route-map SET-PRIMARY-LOCALPREF permit 10
R1(config-route-map)# set local-preference 200
R1(config)# router bgp 65100
R1(config-router)# neighbor [primary-peer] route-map SET-PRIMARY-LOCALPREF in
R1# clear ip bgp [primary-peer] soft in
-- Corrected: primary path now has the
-- highest local preference

-- Fault 2: VXLAN VNI mismatch

VTEP1# show nve vni

Interface  VNI     VLAN  State
nve1       10100   100   Up

VTEP2# show nve vni

Interface  VNI     VLAN  State
nve1       10200   100   Up
-- Both map VLAN 100 locally, but to
-- DIFFERENT VNIs (10100 vs 10200) -- they
-- are extending two completely separate
-- Layer 2 segments that never intersect --
-- FAULT 2 IDENTIFIED

VTEP2(config)# interface nve1
VTEP2(config-if)# no member vni 10200 vlan-mapping 100
VTEP2(config-if)# member vni 10100 vlan-mapping 100
-- Corrected: both VTEPs now use VNI 10100
-- for VLAN 100

-- Fault 3: QoS policy direction

R1# show policy-map interface gigabitethernet0/1

  Service-policy input: QUEUE-POLICY
-- The queuing policy is applied INBOUND
-- on the WAN interface -- queuing only
-- makes sense on egress, where congestion
-- and buffering actually occur -- FAULT 3
-- IDENTIFIED

R1(config)# interface gigabitethernet0/1
R1(config-if)# no service-policy input QUEUE-POLICY
R1(config-if)# service-policy output QUEUE-POLICY
-- Corrected: applied outbound instead

R1# show ip bgp 192.168.80.0
*> 192.168.80.0/24     [via primary]     200     65200 i
-- Primary path now preferred

HostA> ping HostB
!!!!!
Success rate is 100 percent (5/5)
-- VXLAN connectivity restored

R1# show policy-map interface gigabitethernet0/1
  Service-policy output: QUEUE-POLICY
    Class-map: VOICE-TRAFFIC
      Strict Priority
      (total drops) 0
-- Voice traffic now correctly prioritized
-- outbound, drops at zero

Key Takeaway

Even across three unrelated advanced technologies, each fault revealed itself through the same pattern established throughout this series: examine the specific attribute or state relevant to the symptom (local preference in the BGP table, VNI mapping in the NVE configuration, policy direction in the interface's service-policy output) rather than guessing broadly — this attribute-level, evidence-based diagnosis scales from the simplest Layer 1 cabling issue in an early lab to this multi-technology capstone scenario without requiring a fundamentally different troubleshooting approach.

Written & researched by Dr. Shahin Siami

Related Articles

Hands-On Lab: Configuring EIGRP Stub Routing

This hands-on lab configures a branch router as an EIGRP stub, verifying it advertises only its own connected and summary routes while the hub router correctly avoids querying the stub during a topology change elsewhere in the network.

Continue

Hands-On Lab: Configuring EIGRP Named Mode

This hands-on lab reconfigures a classic EIGRP setup into EIGRP named mode, organizing address-family and interface-specific configuration into a more structured hierarchy, and verifies functional equivalence with the classic configuration style used throughout earlier EIGRP labs in this series.

Continue

Hands-On Lab: Configuring ERSPAN Across a Routed Network

This hands-on lab configures Encapsulated RSPAN (ERSPAN) to mirror traffic across a Layer 3-routed network rather than a single Layer 2 trunk, extending the RSPAN concept from the previous lab beyond the boundaries of a single VLAN or switched domain.

Continue

Hands-On Lab: Configuring RSPAN Across Switches

This hands-on lab configures Remote SPAN (RSPAN) using a dedicated RSPAN VLAN carried across a trunk, allowing traffic mirrored on one switch to be monitored by a capture device connected to an entirely different switch, extending the local SPAN concept covered in an earlier lab across the network.

Continue

Hands-On Lab: Configuring In-Service Software Upgrade (ISSU) on a Stack

This hands-on lab performs an In-Service Software Upgrade across a StackWise stack, upgrading each member's IOS image one at a time while the stack continues forwarding traffic throughout, verifying zero downtime compared to the disruptive reload approach used in earlier IOS upgrade labs.

Continue

Hands-On Lab: Configuring Cisco Catalyst StackWise Traditional Stacking

This hands-on lab configures traditional Catalyst stacking (StackWise) across three switches using stack cables, contrasting its single-tier, chassis-proximity requirement against the StackWise Virtual pair covered in the previous lab, which allows switches to be located much farther apart.

Continue