bgp router-reflector cisco example-config with peer-group statico and no bgp default ipv4-unicast and ipv4-vrf redist between RR and RR-client
09.01 2020 | by massimilianorouter-reflector cisco example-config with peer-group statico and no bgp default ipv4-unicast and ipv4-vrf redist between RR and RR-client […]
https://www.ingegnerianetworking.com/wp-content/uploads/2020/01/RR-config-cisco-example-peer-group-vpnv4-only-4d2.png
router-reflector cisco example-config with peer-group statico and no bgp default ipv4-unicast and ipv4-vrf redist between RR and RR-client
ARCHITETTURA DI RIFERIMENTO:
CONFIG PE1 (RR Clients)
router bgp 65201
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.121.197 remote-as 65201
neighbor 192.168.121.197 update-source Loopback0
neighbor 192.168.121.198 remote-as 65201
neighbor 192.168.121.198 update-source Loopback0
!
address-family vpnv4
neighbor 192.168.121.197 activate
neighbor 192.168.121.197 send-community extended
neighbor 192.168.121.198 activate
neighbor 192.168.121.198 send-community extended
exit-address-family
!
address-family ipv4 vrf Bianco
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf Azzurro
redistribute connected
no auto-summary
no synchronization
exit-address-family
CONFIG RR1 (RR Cluster)
router bgp 65201
bgp router-id < loopback0 >
bgp log-neighbor-changes
bgp cluster-id < ip_address or num_decimale > # in assenza di questo comando il RR crea sempre l’attributo di cluster_list inserendo il proprio BGP-RID
neighbor REFLECTOR peer-group
neighbor REFLECTOR remote-as 65201
neighbor REFLECTOR update-source Loopback0
neighbor CLIENT peer-group
neighbor CLIENT remote-as 65201
neighbor CLIENT update-source Loopback0
neighbor 10.1.1.198 remote-as 65201 # sessione iBGP con il RR peer
neighbor 10.1.1.198 timer 10 30
neighbor 192.168.121.198 peer-group REFLECTOR
neighbor 192.168.121.201 peer-group CLIENT
neighbor 192.168.121.202 peer-group CLIENT
neighbor 192.168.121.203 peer-group CLIENT
neighbor 192.168.121.204 peer-group CLIENT
!
address-family ipv4
neighbor 10.1.1.198 activate
neighbor 10.1.1.198 next-hop-self
!
address-family vpnv4
neighbor REFLECTOR activate
neighbor REFLECTOR send-community extended
neighbor CLIENT activate
neighbor CLIENT route-reflector-client
neighbor CLIENT send-community extended
neighbor 192.168.121.198 peer-group REFLECTOR
neighbor 192.168.121.201 peer-group CLIENT
neighbor 192.168.121.202 peer-group CLIENT
neighbor 192.168.121.203 peer-group CLIENT
neighbor 192.168.121.204 peer-group CLIENT
!
address-family ipv4 vrf INET
redistribute connected
redistribute static
default-information originate # annuncio default-route verso i PE
no auto-summary
no synchronization
exit-address-family