SP NETWORKING ACADEMY - BGP-010 PREFIX-LIST FILTERING Execution time: 2026-11-13 16:57:38.265235 ============================================================================== ============================================================================== SP NETWORKING ACADEMY - BGP-010 PREFIX-LIST ROUTE FILTERING AND VALIDATION ============================================================================== Execution started: 2026-11-13 16:57:24.374865 Filtering router: R1 Neighbor: 11.1.1.2 Test prefix: 172.16.2.2/32 Prefix-list: BGP010-FILTER Authentication: Automatic ============================================================================== [INFO] Connecting to R1 (10.0.31.1) [PASS] SSH connected to R1 ============================================================================== PHASE 1 - INITIAL NEIGHBOR ROUTE BASELINE ============================================================================== [PASS] R1 receives 172.16.2.2/32 from R2 ============================================================================== PHASE 2 - CHECK EXISTING NEIGHBOR POLICY ============================================================================== [INFO] Existing inbound prefix-list configuration: No existing prefix-list policy [PASS] No existing prefix-list policy on test neighbor ============================================================================== PHASE 3 - APPLY INBOUND PREFIX-LIST ============================================================================== [INFO] Applying inbound filter on R1 configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip prefix-list BGP010-FILTER seq 5 deny 172.16.2.2/32 R1(config)#ip prefix-list BGP010-FILTER seq 10 permit 0.0.0.0/0 le 32 R1(config)#router bgp 65001 R1(config-router)#neighbor 11.1.1.2 prefix-list BGP010-FILTER in R1(config-router)#end R1# [PASS] Inbound prefix-list successfully attached to R2 neighbor ============================================================================== PHASE 4 - VERIFY PREFIX FILTERING ============================================================================== [INFO] Requesting inbound route refresh from R2 [INFO] Waiting for prefix-list filtering | Attempt 1/18 [PASS] R1: Prefix 172.16.2.2/32 is filtered on neighbor 11.1.1.2 [PASS] Prefix 172.16.2.2/32 denied from R2 neighbor route set ============================================================================== PHASE 5 - REMOVE TEST PREFIX-LIST ============================================================================== configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router bgp 65001 R1(config-router)#no neighbor 11.1.1.2 prefix-list BGP010-FILTER in R1(config-router)#exit R1(config)#no ip prefix-list BGP010-FILTER R1(config)#end R1# [INFO] Cleanup verification output: [INFO] No matching configuration found [PASS] Test prefix-list definition and neighbor attachment removed ============================================================================== PHASE 6 - VERIFY PREFIX RECOVERY ============================================================================== [INFO] Requesting inbound route refresh from R2 [INFO] Waiting for prefix recovery | Attempt 1/18 [PASS] R1: Prefix 172.16.2.2/32 is present on neighbor 11.1.1.2 [PASS] Prefix successfully received again from R2 [INFO] Disconnected from R1 ============================================================================== BGP-010 EXECUTION SUMMARY ============================================================================== Checks passed: 8 Checks failed: 0 Infrastructure errors: 0 FINAL STATUS: PASS Single consolidated report: /home/user/network-automation/BGP/REPORTS/BGP-010-PREFIX-LIST-20261113_165724.txt ============================================================================== ============================================================================== BGP-010 EXECUTION SUMMARY ============================================================================== Checks passed: 8 Checks failed: 0 Infrastructure errors: 0 FINAL STATUS: PASS Report: /home/user/network-automation/BGP/REPORTS/BGP-010-PREFIX-LIST-20261113_165724.txt