Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rl:labs:12:contents:02 [2024/01/06 18:06]
vlad_iulius.nastase [02. [20p] Configurare eBGP]
rl:labs:12:contents:02 [2024/01/06 19:23] (current)
vlad_iulius.nastase [02. [20p] Configurare eBGP]
Line 133: Line 133:
 </​code>​ </​code>​
  
 +<​hidden>​
 +Pentru AS 2
 +<​code>​
 +root@g2-proxy ~> ./goto.sh LOND router
 +Warning: Permanently added '​158.2.10.1'​ (ECDSA) to the list of known hosts.
  
 +Hello, this is FRRouting (version 7.5.1).
 +Copyright 1996-2005 Kunihiro Ishiguro, et al.
 +
 +LOND_router#​ configure terminal
 +LOND_router(config)#​ router bgp 2
 +LOND_router(config-router)#​ bgp router-id 180.22.0.2
 +LOND_router(config-router)#​ no bgp ebgp-requires-policy
 +LOND_router(config-router)#​ neighbor 180.22.0.22 remote-as 22
 +LOND_router(config-router)#​ address-family ipv4 unicast
 +LOND_router(config-router-af)#​ network 2.0.0.0/8
 +LOND_router(config-router-af)#​ neighbor 180.22.0.22 activate
 +LOND_router(config-router-af)#​ exit-address-family
 +LOND_router(config-router)#​ exit
 +LOND_router(config)#​ exit
 +LOND_router#​ show bgp sum
 +
 +IPv4 Unicast Summary:
 +BGP router identifier 180.22.0.2, local AS number 2 vrf-id 0
 +BGP table version 2
 +RIB entries 3, using 576 bytes of memory
 +Peers 1, using 14 KiB of memory
 +
 +Neighbor ​       V         ​AS ​  ​MsgRcvd ​  ​MsgSent ​  ​TblVer ​ InQ OutQ  Up/Down State/​PfxRcd ​  ​PfxSnt
 +180.22.0.22 ​    ​4 ​        ​22 ​        ​5 ​        ​5 ​       0    0    0 00:​00:​33 ​           2        2
 +
 +Total number of neighbors 1
 +LOND_router#​
 +</​code>​
 +Comanda ''​%%neighbor 180.22.0.2 activate%%''​ e opțională by default dacă folosim ''​%%address-family ipv4 unicast%%''​.
 +
 +**În textul laboratorului trebuie să dea ''​%%no bgp ebgp-requires-policy%%''​ după ce s-a stabilit conexiunea. După comanda asta trebuie restabilită conexiunea cu ''​%%clear bgp *%%''​ în afara modului de config.**
 +
 +</​hidden>​
rl/labs/12/contents/02.1704557219.txt.gz · Last modified: 2024/01/06 18:06 by vlad_iulius.nastase
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0