Sw4
conf t
router rip
redistribute eigrp 100 metric 10
router eigrp 100
redistribute rip metric 1500 2000 255 1 1500
Sw1
conf t
router rip
ridistribute ospf 100 metric 10 match internal external 1 external 2 nssa external 1 nssa
externla 2
router ospf 100
default-inforamtion originate allways
area 1 nssa default-information-originate
R1
conf t
router bgp 10
no bgp default ipv4-unicast
bgp router-id 110.1.1.1
neighbor 110.2.2.2 remote-as 10
neighbor 110.2.2.2 update-source loop 0
neighbor 110.2.2.2 password cisco
neighbor 110.2.2.2 transport connection-mode active
neighbor 110.3.3.3 remote-as 10
neighbor 110.3.3.3 update-source loop 0
neighbor 110.3.3.3 password cisco
neighbor 110.3.3.3 transport connection-mode active
neighbor 110.4.4.4 remote-as 10
neighbor 110.4.4.4 update-source loop 0
neighbor 110.4.4.4 password cisco
neighbor 110.4.4.4 transport connection-mode active
neighbor 110.5.5.5 remote-as 10
neighbor 110.5.5.5 update-source loop 0
neighbor 110.5.5.5 password cisco
neighbor 110.5.5.5 transport connection-mode active
neighbor 110.6.6.6 remote-as 10
neighbor 110.6.6.6 update-source loop 0
neighbor 110.6.6.6 password cisco
neighbor 110.6.6.6 transport connection-mode active
neighbor 110.8.8.8 remote-as 10
neighbor 110.8.8.8 update-source loop 0
neighbor 110.8.8.8 password cisco
neighbor 110.8.8.8 transport connection-mode active
address-family ipv4
neighbor 110.2.2.2 activate
neighbor 110.2.2.2 send-community
neighbor 110.2.2.2 route-reflector-client
neighbor 110.3.3.3 activate
neighbor 110.3.3.3 send-community
neighbor 110.3.3.3 route-reflector-client
neighbor 110.4.4.4 activate
neighbor 110.4.4.4 send-community
neighbor 110.4.4.4 route-reflector-client
neighbor 110.5.5.5 activate
neighbor 110.5.5.5 send-community
neighbor 110.5.5.5 route-reflector-client
neighbor 110.6.6.6 activate
neighbor 110.6.6.6 send-community
neighbor 110.6.6.6 route-reflector-client
neighbor 110.8.8.8 activate
neighbor 110.8.8.8 send-community
neighbor 110.8.8.8 route-reflector-client
neighbor 110.2.2.2 activate
neighbor 110.2.2.2 send-community
neighbor 110.2.2.2 route-reflector-client
no auto-sum
no sync
R2
conf t
router bgp 10
no bgp default ipv4-unicast
bgp router-id 110.2.2.2
neighbor 110.1.1.1 remote-as 10
neighbor 110.1.1.1 update-source loop 0
neighbor 110.1.1.1 password cisco
neighbor 110.1.1.1 transport connection-mode active
address-family ipv4
neighbor 110.1.1.1 activate
neighbor 110.1.1.1 send-community
no auto-sum
no sync
R2
conf t
router bgp 10
bgp router-id 110.2.2.2
R3
conf t
router bgp 10
bgp router-id 110.3.3.3
R4
conf t
router bgp 10
bgp router-id 110.4.4.4
R5
conf t
router bgp 10
bgp router-id 110.5.5.5
R6
conf t
router bgp 10
bgp router-id 110.6.6.6
R8
conf t
router bgp 10
bgp router-id 110.8.8.8
R2,R3,R4,R5,SW1,SW3
conf t
router bgp 10
no bgp default ipv4-unicast
neighbor 110.1.1.1 remote-as 10
neighbor 110.1.1.1 update-source loop 0
neighbor 110.1.1.1 password cisco
neighbor 110.1.1.1 transport connection-mode passiv
address-family ipv4
neighbor 110.1.1.1 activate
neighbor 110.1.1.1 send-community
R5
conf t
router bgp 10
no bgp default ipv4-unicast
neighbor 150.2.10.254 remote-as 254
no neighbor 150.2.10.254 route-map PREPEND in
!
address-family ipv4
neighbor 150.2.10.254 activate
neighbor 110.1.1.1 next-hop-self
no neighbor 150.2.10.254 next-hop-self
neighbor 150.2.10.254 route-map PREPEND in
route-map PREPEND permit 10
set as-path prepend 253
R4
conf t
router bgp 10
no bgp default ipv4-unicast
neighbor 150.1.10.254 remote-as 254
!
address-family ipv4
neighbor 150.1.10.254 activate
no neighbor 150.1.10.254 next-hop-self
neighbor 110.1.1.1 next-hop-self
Sw4
conf t
router bgp 144
bgp router-id 110.9.9.9
no bgp default ipv4-unicast
no neighbor 10.110.96.6 remote-as 10
neighbor 10.110.69.6 remote-as 10
neighbor 10.110.89.8 remote-as 10
address-family ipv4
neighbor 10.110.69.6 activate
neighbor 10.110.89.8 activate
Sw3
conf t
router bgp 10
bgp router-id 110.8.8.8
no bgp default ipv4-unicast
neighbor 10.110.89.9 remote-as 144
address-family ipv4
neighbor 10.110.89.9 activate
Sw1
conf t
router bgp 10
bgp router-id 110.6.6.6
no bgp default ipv4-unicast
neighbor 10.110.69.9 remote-as 144
address-family ipv4
neighbor 10.110.69.9 activate