04 Establecimiento y verificación de sesiones eBGP de CLI01 y CLI02 con los AS 210 y 220
Se crearan las sesiones de eBGP de los clientes con los proveedores de servicio (AS210 y AS220). Ademas se usara el comando next-hop self donde sea necesario.
Luego se verificaran los prefijos recibidos en ambos clientes.
DP1(config)#router bgp 210
DP1(config-router)#neighbor 200.214.210.2 remote-as 214
DP1(config-router)#neighbor 210.12.0.2 next-hop-self
DP1(config-router)#neighbor 210.23.0.3 next-hop-self
DP6(config)#router bgp 220
DP6(config-router)#neighbor 200.214.220.2 remote-as 214
DP6(config-router)#neighbor 220.56.0.5 next-hop-self
CLI01(config-if)#router bgp 214
CLI01(config-router)#neighbor 200.214.210.1 remote-as 210
CLI01(config-router)#neighbor 200.214.220.1 remote-as 220
CLI01(config-router)#network 214.0.0.0
CLI01(config-router)#network 214.0.1.0
DP4(config)#router bgp 220
DP4(config-router)#neighbor 200.215.220.2 remote-as 215
DP4(config-router)#neighbor 200.215.220.2 default-originate
DP6(config)#router bgp 220
DP6(config-router)#neighbor 200.220.215.2 remote-as 215
DP6(config-router)#neighbor 200.220.215.2 default-originate
CLI02A(config)#router bgp 215
CLI02A(config-router)#neighbor 200.220.215.1 remote-as 220
CLI02A(config-router)#neighbor 215.10.20.2 remote-as 215
CLI02A(config-router)#network 215.10.0.0
CLI02A(config-router)#neighbor 215.10.20.2 next-hop-self
CLI02B(config)#router bgp 215
CLI02B(config-router)#neighbor 200.215.220.1 remote-as 220
CLI02B(config-router)# neighbor 215.10.20.1 remote-as 215
CLI02B(config-router)#network 215.20.0.0
CLI02B(config-router)#neighbor 215.10.20.1 next-hop-self
CLI01#show ip bgp
BGP table version is 13, local router ID is 214.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
* 210.1.0.0 200.214.220.1 0 220 210 i
*> 200.214.210.1 0 0 210 i
* 210.1.1.0 200.214.220.1 0 220 210 i
*> 200.214.210.1 0 0 210 i
* 210.2.0.0 200.214.220.1 0 220 210 i
*> 200.214.210.1 0 210 i
* 210.3.0.0 200.214.220.1 0 220 210 i
*> 200.214.210.1 0 210 i
*> 214.0.0.0 0.0.0.0 0 32768 i
*> 214.0.1.0 0.0.0.0 0 32768 i
* 215.10.0.0 200.214.210.1 0 210 220 215 i
*> 200.214.220.1 0 220 215 i
* 215.20.0.0 200.214.210.1 0 210 220 215 i
*> 200.214.220.1 0 220 215 i
*> 220.4.0.0 200.214.220.1 0 220 i
* 200.214.210.1 0 210 220 i
*> 220.5.0.0 200.214.220.1 0 220 i
* 200.214.210.1 0 210 220 i
*> 220.6.0.0 200.214.220.1 0 0 220 i
* 200.214.210.1 0 210 220 i
*> 220.6.1.0 200.214.220.1 0 0 220 i
* 200.214.210.1 0 210 220 i
CLI02A#show ip bgp
BGP table version is 25, local router ID is 215.10.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 200.220.215.1 0 220 i
* i 215.10.20.2 0 100 0 220 i
*> 210.1.0.0 200.220.215.1 0 220 210 i
* i 215.10.20.2 0 100 0 220 210 i
*> 210.1.1.0 200.220.215.1 0 220 210 i
* i 215.10.20.2 0 100 0 220 210 i
*> 210.2.0.0 200.220.215.1 0 220 210 i
* i 215.10.20.2 0 100 0 220 210 i
*> 210.3.0.0 200.220.215.1 0 220 210 i
* i 215.10.20.2 0 100 0 220 210 i
*> 214.0.0.0 200.220.215.1 0 220 214 i
* i 215.10.20.2 0 100 0 220 214 i
*> 214.0.1.0 200.220.215.1 0 220 214 i
* i 215.10.20.2 0 100 0 220 214 i
*> 215.10.0.0 0.0.0.0 0 32768 i
*>i 215.20.0.0 215.10.20.2 0 100 0 i
*> 220.4.0.0 200.220.215.1 0 220 i
* i 215.10.20.2 0 100 0 220 i
*> 220.5.0.0 200.220.215.1 0 220 i
* i 215.10.20.2 0 100 0 220 i
*> 220.6.0.0 200.220.215.1 0 0 220 i
* i 215.10.20.2 0 100 0 220 i
*> 220.6.1.0 200.220.215.1 0 0 220 i
* i 215.10.20.2 0 100 0 220 i
CLI02B#show ip bgp
BGP table version is 14, local router ID is 215.20.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
* i 0.0.0.0 215.10.20.1 0 100 0 220 i
*> 200.215.220.1 0 220 i
* i 210.1.0.0 215.10.20.1 0 100 0 220 210 i
*> 200.215.220.1 0 220 210 i
* i 210.1.1.0 215.10.20.1 0 100 0 220 210 i
*> 200.215.220.1 0 220 210 i
* i 210.2.0.0 215.10.20.1 0 100 0 220 210 i
*> 200.215.220.1 0 220 210 i
* i 210.3.0.0 215.10.20.1 0 100 0 220 210 i
*> 200.215.220.1 0 220 210 i
* i 214.0.0.0 215.10.20.1 0 100 0 220 214 i
*> 200.215.220.1 0 220 214 i
* i 214.0.1.0 215.10.20.1 0 100 0 220 214 i
*> 200.215.220.1 0 220 214 i
*>i 215.10.0.0 215.10.20.1 0 100 0 i
*> 215.20.0.0 0.0.0.0 0 32768 i
* i 220.4.0.0 215.10.20.1 0 100 0 220 i
*> 200.215.220.1 0 0 220 i
* i 220.5.0.0 215.10.20.1 0 100 0 220 i
*> 200.215.220.1 0 220 i
* i 220.6.0.0 215.10.20.1 0 100 0 220 i
*> 200.215.220.1 0 220 i
* i 220.6.1.0 215.10.20.1 0 100 0 220 i
*> 200.215.220.1 0 220 i