Welcome to BGP Community String Traffic Steering Lab! 🚀
What You'll Learn
- BGP Community String Structure: Understand the format of network:XXXXY values
- Traffic Steering Logic: Master how PEs make routing decisions based on local preference
- Route Map Configuration: Configure community strings with the additive keyword
- MPLS Network Behavior: Differentiate between default route (0.0.0.0/0) and specific route handling
- Internet Offload Setup: Implement West Coast to East Coast traffic steering
- Verification Techniques: Use BGP commands to verify community advertisement and route sources
- Troubleshooting Skills: Identify and resolve common BGP community configuration issues
Lab Environment
This lab simulates a real-world MPLS network with Lumen PEs connecting multiple sites including Denver (DR), Tampa (IDC), Honolulu (HON), Portland, and St. Louis. You'll work with both the "red" network (Lumen MPLS) and learn why this configuration is currently limited to this network only.
💡 Key Learning Point
The magic of BGP community strings is in their structure: 6745:XXXXY. The first four digits (6745) identify the network, the next four digits (XXXX) identify the target PE, and the final digit (Y) sets the local preference value.
Ready to master BGP traffic steering? Let's dive in!
🏗️ Network Topology
West Coast Sites MPLS Network East Coast Sites
┌─────────────┐ ┌──────────────┐ ┌─────────────┐
│ HON │ │ │ │ STL │
│ BR-01 │───────────│ Lumen PE │───────────│ BR-01 │
│ (Honolulu) │ │ 5211 │ │ (St.Louis) │
└─────────────┘ │ │ └─────────────┘
│ │
┌─────────────┐ │ RED NETWORK │ ┌─────────────┐
│ Portland │───────────│ (6745:XXXXY) │───────────│ Tampa │
│ BR-01 │ │ │ │ IDC │
└─────────────┘ │ │ │ BR-01 │
│ │ └─────────────┘
┌─────────────┐ │ │ Default
│ Denver │───────────│ Lumen PE │ LocalPref
│ DR │ │ 5170 │ = 800
│ BR-01 │ │ │
└─────────────┘ └──────────────┘
Internet
Offload Community Strings:
LocalPref = 900 • 6745:51709 (HON → DR)
• 6745:52119 (Portland → DR)
• 6745:26487 (Denver PE)
Traffic Flow Logic
Default Traffic Flow (Without Internet Offload)
All sites route internet traffic through Tampa (IDC) with LocalPref = 800
- Remote sites learn default route from AS 65200 (Tampa)
- No community strings applied to influence routing
- Tampa serves as the primary internet gateway
📋 Prerequisites
Knowledge Requirements
- BGP Fundamentals: Understanding of iBGP, eBGP, and BGP attributes
- Local Preference: How BGP local preference influences routing decisions
- Route Maps: Cisco IOS route-map configuration and logic
- MPLS Basics: Provider Edge (PE) and Customer Edge (CE) router roles
- Autonomous System Numbers: Understanding AS path and AS origin
Network Planning Information
Required Documentation
- Lumen PE Spreadsheet: Contains circuit IDs and PE identifiers
- IP BGP Neighbors Document: Maps circuit IDs to PE community values
- Site AS Numbers: AS 65199 (DR), AS 65200 (IDC)
Access Requirements
Router Console Access
SSH or console access to:
- DR BR-01 (Denver border router)
- IDC BR-01 (Tampa border router)
- Remote site CE routers (HAN, Portland, STL)
Documentation Access
Access to carrier-provided documentation for PE identification
💡 Key Learning Point
Always verify PE information from carrier documentation, as it can sometimes be inconsistent or incomplete. Cross-reference multiple sources when possible.
⚙️ Configuration Steps
Identify Target PE Information
Before configuring community strings, you must identify the correct PE values from carrier documentation.
Configure Tampa (IDC) Default Local Preference
Set baseline local preference for all PEs and lower Denver PE preference.
💡 Key Learning Point
The Denver PE (2648) gets local preference 700 to ensure DR-originated routes are preferred when community strings are applied from Denver.
Configure Denver (DR) Community Strings
Set up community strings to steer specific PEs to prefer Denver for default route.
Enable Community Advertisement
Ensure BGP neighbors are configured to send community attributes.
Community String Breakdown
Understanding Community String Format
- 6745: Lumen network identifier (constant)
- 5170: Target PE identifier (varies by site)
- 9: Local preference value (900)
Multiple PE Targeting
This targets both HON (51709) and Portland (52119) PEs with LocalPref 900
🔧 Troubleshooting Guide
Community Not Being Advertised
Most Common Cause: Missing "send-community" command
Community Values Overwritten
Cause: Missing "additive" keyword in route-map set commands
Traffic Still Going to Tampa
Diagnosis Steps:
Incorrect PE Identifier
Resolution:
- Cross-reference Lumen spreadsheet with IP BGP Neighbors document
- Look for circuits ending in "LUM" (not "TWCS")
- Verify circuit ID matches actual connection
- Contact carrier for accurate PE information if discrepancies exist
Specific Routes Affected
Expected Behavior: Only default route (0.0.0.0/0) should be affected by community strings
💡 Key Learning Point
Community strings should only affect the default route (0.0.0.0/0). Specific routes for internal connectivity should always prefer Tampa (IDC) to maintain proper site-to-site VPN functionality.
Inconsistent Carrier Documentation
Best Practices:
- Always verify configuration is working with show commands
- Test routing behavior before and after changes
- Document any discrepancies found in carrier information
- Maintain internal documentation of working configurations
✅ Verification Procedures
Verify Community Advertisement
Confirm that community strings are being advertised to the PE
Expected Output Example
Verify Route Origin on Remote Sites
Check that target sites are receiving default route from correct AS
Verify Specific Route Behavior
Confirm internal routes still prefer Tampa for site-to-site connectivity
Test Traffic Steering
Verify actual traffic flow matches BGP routing decisions
Configuration Backup and Documentation
Verification Checklist
- ☐ Community strings appear in BGP advertisements
- ☐ Target sites show AS 65199 for default route
- ☐ Non-target sites show AS 65200 for default route
- ☐ All sites show AS 65200 for specific internal routes
- ☐ Traceroute confirms traffic path through Denver
- ☐ Configuration saved and documented
💡 Key Learning Point
Always verify configuration with both BGP show commands and actual traffic tests. BGP convergence can take time, so allow 1-2 minutes between configuration changes and verification.
🧠 Knowledge Check
Test your understanding of BGP community string traffic steering!