Lição 7ª

 

 

 

 

 

   

Para ativar BGP tratar o seguinte comando:

router bgp Autonomous System Number

 

Para formar relacionamento próximo com o seguinte comando:

neighbor address remote-as autonomous system number

 

Vamos usar o exemplo a seguir para a configuração:

R1# conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# router bgp 100 R1(config-router)# ^Z R1# R2# conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# router bgp 200 R2(config-router)# ^Z R2# R3# conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)# router bgp 300R3(config-router)# ^Z R3# Después de habilitar BGP configuraremos la relación con los otros vecinos R1# conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router bgp 100 R1(config-router)# neighbor 10.10.10.2 remote-as 200 R1(config-router)# ^ZR1# R2# conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router bgp 200 R2(config-router)# neighbor 10.10.10.1 remote-as 100 R2(config-router)#neighbor 20.20.20.1 remote-as 300 R2(config-router)# ^Z R2# R3# conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)# router bgp 300 R3(config-router)#neighbor 20.20.20.2 remote-as 200 R3(config-router)# ^Z R3#

Isso tudo é, basicamente para configurar BGP.