Нетворк описан, это просто кусок настройки. Я полного понимания видимо надо полный кусок настройки:
router bgp 1111
bgp router-id 1.1.1.1
bgp log-neighbor-changes
neighbor 10.2.22.2 remote-as 1111
neighbor 10.2.22.2 version 4
neighbor x.x.x.x remote-as 2222
neighbor x.x.x.x version 4
neighbor y.y.y.y remote-as 3333
neighbor y.y.y.y version 4
maximum-paths 2
!
address-family ipv4
redistribute static route-map BGP-BLACKHOLE
neighbor 10.2.22.2 activate
neighbor 10.2.22.2 next-hop-self
neighbor 10.2.22.2 soft-reconfiguration inbound
neighbor x.x.x.x activate
neighbor x.x.x.x send-community
neighbor x.x.x.x soft-reconfiguration inbound
neighbor x.x.x.x route-map map-AS#2222-out out
neighbor y.y.y.y activate
neighbor y.y.y.y send-community
neighbor y.y.y.y soft-reconfiguration inbound
neighbor y.y.y.y route-map map-AS#3333-out out
maximum-paths 2
no auto-summary
no synchronization
network a.a.a.0 mask 255.255.254.0
exit-address-family
ip route a.a.a.0 255.255.254.0 null0 250
sh ip bgp sum
BGP table version is 78939955, main routing table version 78939955
399381 network entries using 46727577 bytes of memory
792877 path entries using 41229604 bytes of memory
130443/67300 BGP path/bestpath attribute entries using 16174932 bytes of memory
115716 BGP AS-PATH entries using 3341258 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 107473371 total bytes of memory
BGP activity 3815699/3416318 prefixes, 16878539/16085662 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.2.22.2 4 1111 0 0 0 0 0 never Active
x.x.x.x 4 2222 23056761 418791 78939955 0 0 1w2d 399122
y.y.y.y 4 3333 29492960 418864 78939955 0 0 41w3d 393754
на втором роутере аналогично.
касаемо next-hop-self - при пересылке маршрутов на 10.2.22.2 менять значение next-hop на свой адрес. По умолчанию для iBGP сессий этого не происходит
Схема такая:
Роутер1-----свитч-----свитч-----Роутер2
Соответственно на свитче порты в транке, все вланы описаны