Sección 4: Multiprotocol iBGP
En base a publicar prefijos + etiquetas asociadas a los prefijos vpnv4 debemos activar la familia vpnv4 en BGP.
Ejemplo 6-1
─────────────────────────────────────────────────────────────────
R2
router bgp 1
neighbor 10.0.0.3 remote-as 1
neighbor 10.0.0.3 update-source Loopback0
address-family vpnv4
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community extended
neighbor 10.0.0.4 activate
neighbor 10.0.0.4 send-community extended
neighbor 10.0.0.5 activate
neighbor 10.0.0.5 send-community extended
R3
router bgp 1
neighbor 10.0.0.2 remote-as 1
neighbor 10.0.0.2 update-source Loopback0
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.4 activate
neighbor 10.0.0.4 send-community extended
neighbor 10.0.0.5 activate
neighbor 10.0.0.5 send-community extended
R4
router bgp 1
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community extended
neighbor 10.0.0.5 activate
neighbor 10.0.0.5 send-community extended
R5
router bgp 1
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community extended
neighbor 10.0.0.4 activate
neighbor 10.0.0.4 send-community extended
exit-address-family
─────────────────────────────────────────────────────────────────
Ejemplo 6-2
─────────────────────────────────────────────────────────────────
R2#show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.2, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.3 4 1 6 7 1 0 0 00:04:54 0
10.0.0.4 4 1 191 148 1 0 0 00:03:18 0
10.0.0.5 4 1 168 143 1 0 0 00:00:43 0
R3#show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.3, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 9 8 1 0 0 00:06:49 0
10.0.0.4 4 1 183 131 1 0 0 00:05:15 0
10.0.0.5 4 1 159 124 1 0 0 00:02:40 0
R4#show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.4, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 150 194 1 0 0 00:05:37 0
10.0.0.3 4 1 131 184 1 0 0 00:05:40 0
10.0.0.5 4 1 160 177 1 0 0 00:03:10 0
R5#show ip bgp vpnv4 all summary
BGP router identifier 10.0.0.5, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 146 171 1 0 0 00:03:18 0
10.0.0.3 4 1 125 160 1 0 0 00:03:21 0
10.0.0.4 4 1 177 161 1 0 0 00:03:27 0
─────────────────────────────────────────────────────────────────
· Habilitar MP-iBGP en AS1. Utilizar malla completa.
En base a publicar prefijos + etiquetas asociadas a los prefijos vpnv4 debemos activar la familia vpnv4 en BGP.
Ejemplo 6-1
─────────────────────────────────────────────────────────────────
R2
router bgp 1
neighbor 10.0.0.3 remote-as 1
neighbor 10.0.0.3 update-source Loopback0
address-family vpnv4
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community extended
neighbor 10.0.0.4 activate
neighbor 10.0.0.4 send-community extended
neighbor 10.0.0.5 activate
neighbor 10.0.0.5 send-community extended
R3
router bgp 1
neighbor 10.0.0.2 remote-as 1
neighbor 10.0.0.2 update-source Loopback0
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.4 activate
neighbor 10.0.0.4 send-community extended
neighbor 10.0.0.5 activate
neighbor 10.0.0.5 send-community extended
R4
router bgp 1
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community extended
neighbor 10.0.0.5 activate
neighbor 10.0.0.5 send-community extended
R5
router bgp 1
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community extended
neighbor 10.0.0.4 activate
neighbor 10.0.0.4 send-community extended
exit-address-family
─────────────────────────────────────────────────────────────────
Verificamos sesiones MP-iBGP con el comando show bgp vpnv4 unicast all summary o show ip bgp vpnv4 all summary. La columna State/PfxRcd nos muestra el estado de la sesion, y el numero de prefijos publicados por el vecino MP-BGP.
Ejemplo 6-2
─────────────────────────────────────────────────────────────────
R2#show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.2, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.3 4 1 6 7 1 0 0 00:04:54 0
10.0.0.4 4 1 191 148 1 0 0 00:03:18 0
10.0.0.5 4 1 168 143 1 0 0 00:00:43 0
R3#show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.3, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 9 8 1 0 0 00:06:49 0
10.0.0.4 4 1 183 131 1 0 0 00:05:15 0
10.0.0.5 4 1 159 124 1 0 0 00:02:40 0
R4#show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.4, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 150 194 1 0 0 00:05:37 0
10.0.0.3 4 1 131 184 1 0 0 00:05:40 0
10.0.0.5 4 1 160 177 1 0 0 00:03:10 0
R5#show ip bgp vpnv4 all summary
BGP router identifier 10.0.0.5, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 146 171 1 0 0 00:03:18 0
10.0.0.3 4 1 125 160 1 0 0 00:03:21 0
10.0.0.4 4 1 177 161 1 0 0 00:03:27 0
─────────────────────────────────────────────────────────────────
No hay comentarios:
Publicar un comentario