when I run sh ip bgp summary I have two peers 1.2.3.4 and 5.6.7.8
If the updates from the network statements coming from this router match the access-list 130 what happens?
If they don't match 130 do they then get checked against 131?
Why does the AS abcde get prepended 5 times?
What is the purpose of the route-map set-prepend?
Any other information would be helpful as I am trying to learn BGP enough to get by at work and pass the BSCI.
router bgp abcde
no synchronization
bgp log-neighbor-changes
network x.x.164.0 mask 255.255.255.0
network x.x.192.0 mask 255.255.224.0
network x.x.192.0 mask 255.255.255.0
network x.x.201.0 mask 255.255.255.0
network x.x.202.0 mask 255.255.255.0
network x.x.205.0 mask 255.255.255.0
network x.x.206.0 mask 255.255.255.0
network x.x.207.0 mask 255.255.255.0
network x.x.x.0 mask 255.255.255.0
neighbor ibgp-mesh peer-group
neighbor ibgp-mesh remote-as abcde
neighbor ibgp-mesh update-source Loopback0
neighbor ibgp-mesh version 4
neighbor ibgp-mesh next-hop-self
neighbor 5.6.7.8 peer-group ibgp-mesh
neighbor 1.2.3.4 remote-as fghi
neighbor 1.2.3.4 password 7 mypassword
neighbor 1.2.3.4 send-community both
neighbor 1.2.3.4 route-map set-prepend out
no auto-summary
access-list 130 permit ip host x.x.192.0 host 255.255.255.0
access-list 130 permit ip host x.x.201.0 host 255.255.255.0
access-list 130 permit ip host x.x.202.0 host 255.255.255.0
access-list 130 permit ip host x.x.205.0 host 255.255.255.0
access-list 130 permit ip host x.x.192.0 host 255.255.224.0
access-list 130 permit ip host x.x.206.0 host 255.255.255.0
access-list 130 permit ip host x.x.207.0 host 255.255.255.0
access-list 130 permit ip host x.x.209.0 host 255.255.255.0
access-list 131 permit ip host x.x.224.0 host 255.255.255.0
access-list 131 permit ip host x.x.225.0 host 255.255.255.0
access-list 131 permit ip host x.x.224.0 host 255.255.224.0
access-list 131 permit ip host x.x.160.0 host 255.255.224.0
access-list 131 permit ip host x.x.164.0 host 255.255.255.0
!
route-map set-prepend permit 10
match ip address 130
!
route-map set-prepend permit 20
description adding community attributes to ISP
match ip address 131
set as-path prepend abcde abcde abcde abcde abcde
set community fghi:80