miércoles, 21 de julio de 2010

Inter-AS RR Multihop 2ª

2ª iBGP

Esta sección comprende el establecimiento de sesiones BGP dentro de los ASs, y publicación de las loopbacks 0. La disposición de los router bgp se muestra a continuación:

- AS1 RR -> R3, R2 y R4 client.

- AS2 RR -> R6, R5 y R7 client.

- AS100 RR -> R11 y R12, R9 y R10 client.


AS1 iBGP
--------------------------------------------------------------------------
R2
router bgp 1
bgp router-id 10.0.0.2
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.0.3 remote-as 1
neighbor 10.0.0.3 update-source Loopback0
!
address-family ipv4
no synchronization
network 10.0.0.2 mask 255.255.255.255
neighbor 10.0.0.3 activate
no auto-summary
exit-address-family

R3
router bgp 1
bgp router-id 10.0.0.3
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor AS1 peer-group
neighbor AS1 remote-as 1
neighbor AS1 description INTERNOS-AS1
neighbor AS1 update-source Loopback0
neighbor 10.0.0.2 peer-group AS1
neighbor 10.0.0.4 peer-group AS1
!
address-family ipv4
no synchronization
network 10.0.0.3 mask 255.255.255.255
neighbor AS1 route-reflector-client
neighbor 10.0.0.2 activate
neighbor 10.0.0.4 activate
no auto-summary
exit-address-family


R4
router bgp 1
bgp router-id 10.0.0.4
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.0.3 remote-as 1
neighbor 10.0.0.3 update-source Loopback0
!
address-family ipv4
no synchronization
network 10.0.0.4 mask 255.255.255.255
neighbor 10.0.0.3 activate
no auto-summary
exit-address-family

R3#show ip bgp all summary
For address family: IPv4 Unicast
BGP router identifier 10.0.0.3, local AS number 1
BGP table version is 6, main routing table version 6
3 network entries using 360 bytes of memory
3 path entries using 156 bytes of memory
2/2 BGP path/bestpath attribute entries using 248 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 764 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.2 4 1 7 8 6 0 0 00:02:22 1
10.0.0.4 4 1 5 8 6 0 0 00:00:32 1

--------------------------------------------------------------------------

AS2 iBGP

--------------------------------------------------------------------------
R5
router bgp 2
bgp router-id 10.0.0.5
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.0.6 remote-as 2
neighbor 10.0.0.6 update-source Loopback0
!
address-family ipv4
no synchronization
network 10.0.0.5 mask 255.255.255.255
neighbor 10.0.0.6 activate
no auto-summary
exit-address-family

R6
router bgp 2
bgp router-id 10.0.0.6
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor AS2 peer-group
neighbor AS2 remote-as 2
neighbor AS2 description INTERNOS-AS2
neighbor AS2 update-source Loopback0
neighbor 10.0.0.5 peer-group AS2
neighbor 10.0.0.7 peer-group AS2
!
address-family ipv4
no synchronization
network 10.0.0.6 mask 255.255.255.255
neighbor AS2 route-reflector-client
neighbor 10.0.0.5 activate
neighbor 10.0.0.7 activate
no auto-summary
exit-address-family

R7
router bgp 2
bgp router-id 10.0.0.7
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.0.6 remote-as 2
neighbor 10.0.0.6 update-source Loopback0
!
address-family ipv4
no synchronization
network 10.0.0.7 mask 255.255.255.255
neighbor 10.0.0.6 activate
no auto-summary
exit-address-family


R6#show ip bgp all summary
For address family: IPv4 Unicast
BGP router identifier 10.0.0.6, local AS number 2
BGP table version is 6, main routing table version 6
3 network entries using 360 bytes of memory
3 path entries using 156 bytes of memory
2/2 BGP path/bestpath attribute entries using 248 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 764 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.5 4 2 6 8 6 0 0 00:01:46 1
10.0.0.7 4 2 5 8 6 0 0 00:00:29 1
--------------------------------------------------------------------------

AS100 iBGP

--------------------------------------------------------------------------
R9
router bgp 100
bgp router-id 10.0.0.9
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor AS100 peer-group
neighbor AS100 remote-as 100
neighbor AS100 description INTERNOS-AS100
neighbor AS100 update-source Loopback0
neighbor 10.0.0.11 peer-group AS100
neighbor 10.0.0.12 peer-group AS100
!
address-family ipv4
no synchronization
neighbor AS100 next-hop-self
network 10.0.0.9 mask 255.255.255.255
neighbor 10.0.0.11 activate
neighbor 10.0.0.12 activate
no auto-summary
exit-address-family

R10
router bgp 100
bgp router-id 10.0.0.10
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor AS100 peer-group
neighbor AS100 remote-as 100
neighbor AS100 description INTERNOS-AS100
neighbor AS100 update-source Loopback0
neighbor 10.0.0.11 peer-group AS100
neighbor 10.0.0.12 peer-group AS100
!
address-family ipv4
no synchronization
neighbor AS100 next-hop-self
network 10.0.0.10 mask 255.255.255.255
neighbor 10.0.0.11 activate
neighbor 10.0.0.12 activate
no auto-summary
exit-address-family

R11
router bgp 100
bgp router-id 10.0.0.11
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor AS100 peer-group
neighbor AS100 remote-as 100
neighbor AS100 description INTERNOS-AS100
neighbor AS100 update-source Loopback0
neighbor 10.0.0.9 peer-group AS100
neighbor 10.0.0.10 peer-group AS100
neighbor 10.0.0.12 peer-group AS100

address-family ipv4
no synchronization
neighbor AS100 route-reflector-client
network 10.0.0.11 mask 255.255.255.255
neighbor 10.0.0.9 activate
neighbor 10.0.0.10 activate
neighbor 10.0.0.12 activate
no auto-summary
exit-address-family


R12
router bgp 100
bgp router-id 10.0.0.12
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor AS100 peer-group
neighbor AS100 remote-as 100
neighbor AS100 description INTERNOS-AS100
neighbor AS100 update-source Loopback0
neighbor 10.0.0.9 peer-group AS100
neighbor 10.0.0.10 peer-group AS100
neighbor 10.0.0.11 peer-group AS100

address-family ipv4
no synchronization
neighbor AS100 route-reflector-client
network 10.0.0.12 mask 255.255.255.255
neighbor 10.0.0.9 activate
neighbor 10.0.0.10 activate
neighbor 10.0.0.11 activate
no auto-summary
exit-address-family

R11#show bgp ipv4 unicast summary
BGP router identifier 10.0.0.11, local AS number 100
BGP table version is 26, main routing table version 26
4 network entries using 480 bytes of memory
6 path entries using 312 bytes of memory
2/2 BGP path/bestpath attribute entries using 248 bytes of memory
2 BGP rrinfo entries using 48 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 1088 total bytes of memory
BGP activity 10/6 prefixes, 18/12 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.9 4 100 26 30 26 0 0 00:17:33 1
10.0.0.10 4 100 26 32 26 0 0 00:17:34 1
10.0.0.12 4 100 32 31 26 0 0 00:17:41 3

R12#show bgp ipv4 unicast summary
BGP router identifier 10.0.0.12, local AS number 100
BGP table version is 26, main routing table version 26
4 network entries using 480 bytes of memory
6 path entries using 312 bytes of memory
2/2 BGP path/bestpath attribute entries using 248 bytes of memory
2 BGP rrinfo entries using 48 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 1088 total bytes of memory
BGP activity 10/6 prefixes, 18/12 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.9 4 100 26 33 26 0 0 00:18:09 1
10.0.0.10 4 100 27 33 26 0 0 00:18:09 1
10.0.0.11 4 100 32 33 26 0 0 00:17:57 3
--------------------------------------------------------------------------

No hay comentarios:

Publicar un comentario