350-401 · Question #977
Lab Simulation 8 Guidelines This is a lab item in which tasks will be performed on virtual devices. - Refer to the Tasks tab to view the tasks for this lab item. - Refer to the Topology tab to access
GLBP Lab Explanation Overall Goal GLBP (Gateway Load Balancing Protocol) is Cisco's proprietary first-hop redundancy protocol. Unlike HSRP/VRRP which waste standby router bandwidth, GLBP simultaneously load-balances traffic across multiple gateways while providing redundancy. The
Question
Explanation
GLBP Lab Explanation
Overall Goal
GLBP (Gateway Load Balancing Protocol) is Cisco's proprietary first-hop redundancy protocol. Unlike HSRP/VRRP which waste standby router bandwidth, GLBP simultaneously load-balances traffic across multiple gateways while providing redundancy. The goal here is to make both distribution switches actively forward traffic for VLAN 100 hosts, with DISTRO-SW1 as the Active Virtual Gateway (AVG) - the router that assigns MAC addresses and coordinates the group.
Note: The question says "group 30" but the answer uses
glbp 1. Always use the group number from the actual lab screen - they deliberately vary it. The explanation below uses group 1 as shown in the answer.
Step-by-Step Breakdown
Steps 1 & 5 - interface vlan 100 (on both switches)
Both switches must enter the SVI (Switched Virtual Interface) for VLAN 100. GLBP operates at Layer 3 on an interface, so all GLBP commands are entered here. Skipping this puts commands on the wrong interface, breaking everything silently.
Step 2 - glbp 1 ip 192.168.1.254 (DISTRO-SW1)
This creates GLBP group 1 and sets the virtual IP address - the gateway IP that all VLAN 100 hosts will point to as their default gateway. Both routers share this single IP. The first router to issue this command typically becomes the AVG candidate.
- If skipped: Hosts have no virtual gateway to route through; GLBP group never forms.
Step 3 - glbp 1 priority 110 (DISTRO-SW1 only)
The default GLBP priority is 100. Setting DISTRO-SW1 to 110 makes it win the AVG election (higher priority wins). DISTRO-SW2 stays at default 100, so it becomes the AVS (Active Virtual Secondary) - it still forwards traffic but defers to SW1 for group coordination.
- If skipped: Both switches have equal priority (100); election outcome is non-deterministic and SW1 may not become AVG.
Step 4 - glbp 1 preempt delay minimum 15 (DISTRO-SW1)
This does two things:
- Preempt - enables SW1 to reclaim the AVG role automatically after recovering from a failure (preemption is disabled by default in GLBP).
- Delay minimum 15 - waits at least 15 seconds before preempting, giving routing protocols (OSPF, EIGRP) and STP time to reconverge before SW1 takes over, preventing a traffic blackhole.
- If
preemptis skipped: SW1 recovers but sits as standby forever; SW2 remains AVG indefinitely. - If
delayis skipped: SW1 preempts immediately on recovery, potentially before its routing table is populated - packets drop.
Step 6 - glbp 1 ip 192.168.1.254 (DISTRO-SW2)
SW2 joins the same GLBP group with the same virtual IP. This is required for group membership - without it, SW2 is not part of GLBP and provides no redundancy or load balancing.
Step 7 - glbp 1 preempt (DISTRO-SW2)
SW2 needs preemption enabled so it can reclaim the AVG role if SW1 fails permanently and a new higher-priority router appears. Without this, in some failure/recovery scenarios the group gets stuck with an unexpected AVG.
Why no priority or delay on SW2? SW2 should remain subordinate (default priority 100), so no priority command is needed. No delay is specified here either - the exam only requires the minimum 15-second delay on SW1 per the task requirements.
Step 8 - copy running-config startup-config (both)
Saves configuration to NVRAM. Without this, a reboot wipes all GLBP config. This is always the final step in any Cisco lab.
What Breaks If Steps Are Out of Order
| Mistake | Consequence |
|---|---|
Setting priority before glbp ip | Command may be rejected (group doesn't exist yet) |
| Skipping preempt on SW1 | SW1 never reclaims AVG after recovery |
| Skipping delay on SW1 | SW1 preempts before convergence -> traffic drops |
| Not configuring SW2's virtual IP | SW2 never joins the GLBP group |
| Not saving | Config lost on reboot |
Memory Tip
Think of it as "IP -> Priority -> Preempt" - you always establish the group identity first (virtual IP), then assert dominance (priority), then define recovery behavior (preempt + delay). Same order on both devices, but only the designated primary (SW1) gets priority and the delay.
AVG = the "manager" that assigns virtual MACs to group members. Even the non-AVG router (SW2) actively forwards packets - that's GLBP's advantage over HSRP.
Topics
Community Discussion
No community discussion yet for this question.