Lab 126 - BGP Local-AS No-prepend Dual-AS - Learn Cisco

Post Top Ad

Lab 126 - BGP Local-AS No-prepend Dual-AS

Prerequisites: CCNP level skills.

Note!
Configuration from Lab 123 must be used in this lab.

Topology

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

Task 1
After merging the three ASes (Lab 123/124), the administrators of AS 40 requested that AS 123 should not show in the path of the prefixes advertised by 123. They also requested that you configure R1 so that R4 can peer using either AS 123 or the previous AS 10.

Solution

Task 1
After merging the three ASes (Lab 123/124), the administrators of AS 40 requested that AS 123 should not show in the path of the prefixes advertised by 123. They also requested that you configure R1 so that R4 can peer using either AS 123 or the previous AS 10.

Pic. 2 - Current BGP Table on R4.

R1 Configuration:
!
router bgp 123
 no synchronization
 bgp router-id 172.16.101.1
 bgp log-neighbor-changes
 network 172.16.101.0 mask 255.255.255.0
 neighbor 10.1.13.3 remote-as 123
 neighbor 10.1.13.3 next-hop-self
 neighbor 10.1.14.4 remote-as 40
 neighbor 10.1.14.4 local-as 10 no-prepend replace-as dual-as
 no auto-summary
!


After changing the configuration R4 shows the following messages:


Pic. 3 - R4 BGP Syslog.

Notice!
R4's BGP session has been torn down and re-established.

R1 has established session with R4 using its local-as (AS 40).  

Pic. 4 - R1's BGP Neighbors.


R4 has established the session with AS 10 (local-as).

Pic. 5 - R4's BGP Peering.
Now, R4 can be reconfigured to establish session with R1 using its AS 123. Under a second the session with the new real AS number succeeds.

Pic. 6 - R4 Reconfigured to peer with AS 123.

Post Top Ad