Monday, April 11, 2011

Lab 103 - BGP Path Selection using MAXAS-LIMIT

Prerequisites: CCNP level skills.

Topology

Personal Note!
Back home! Resuming my bgp command study and posts. My company seem to have planned a lot of travels for me (well, beggars can't be choosers). These kind of study distractions I equate to a tcp slow start: they're inevitable impediments and must be factored in during study.
Solution: increase the dose of tenacity ;)

Pic. 1 - Topology Diagram.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task 1
Given the topology (pic. 1), configure AS 50 so it does not accept prefixes from AS 124. Do not use any access-list, prefix-list, as-path access-list to accomplish this.

Solution

Task 1
Given the topology (pic. 1), configure AS 50 so it does not accept prefixes from AS 124. Do not use any access-list, prefix-list, as-path access-list to accomplish this.

Pic. 3 - BGP Table on R5.

R5 Configuration:
!
router bgp 50
 no synchronization
 bgp router-id 172.16.105.5
 bgp log-neighbor-changes
 bgp maxas-limit 1
 network 172.16.105.0 mask 255.255.255.0
 neighbor 10.1.35.3 remote-as 30
 no auto-summary
!

Verification:
Pic. 3 - BGP Table on R5.

Notice!
Configuration allows the maximum as-path length of 1 AS.