Motor de enrutamiento avanzado (BGP): Cómo configurar la redistribución de ruta

Motor de enrutamiento avanzado (BGP): Cómo configurar la redistribución de ruta

14903
Created On 07/24/24 04:42 AM - Last Modified 01/07/25 13:13 PM


Objective


Utilizando la topología siguiente:

  • Publicitar las rutas estáticas en BGP
  • Publicitar las rutas conectadas en BGP

re1.png


Environment


  • Motor de enrutamiento avanzado
  • Enrutador lógico
  • BGP
  • Redistribución de rutas
  • Versión PAN-OS


Procedure


  1. Configure el Perfil de redistribución de BGP yendo a Red > Enrutamiento > Perfiles de enrutamiento > BGP > Perfil de redistribución de BGP > Agregar . En este ejemplo se utilizan los siguientes parámetros:
    1. Nombre: My_RP_2_BGP
    2. Estático: marcado
    3. Conectado: comprobado
re2.png
  1. Haga clic en OK para guardar
  2. Aplique el Perfil de redistribución BGP anterior al enrutador lógico yendo a Red > Enrutamiento > Enrutador lógico > [Nombre_del_enrutador_lógico] > BGP > Redistribución > Perfil de redistribución IPv4 y use el perfil creado anteriormente.
re3.png
  1. Haga clic en OK y luego en Confirmar para guardar.
  2. Para verificar, utilice el siguiente comando de CLI:
admin@PA-3250-ENT> show advanced-routing bgp peer advertised-routes peer-name ISP1 

Status codes:  R removed, d damped, * valid, r ribFailure, S stale, = multipath,
               s suppressed, i internal, > best, h history
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  e egp, i igp, ? incomplete

Peer: ISP1                                                    Logical router: ENT
----------------------------------------------------------------------------------
   Network              Next Hop             Metric LocPrf Weight Path
*> 172.16.0.0/24        172.16.1.254             10    100  32768  ?
*> 172.16.1.0/24        0.0.0.0                   0    100  32768  ?
*> 172.16.2.0/24        0.0.0.0                   0    100  32768  ?
*> 172.16.3.0/24        172.16.1.254             10    100  32768  ?
*> 172.16.4.0/24        172.16.1.254             10    100  32768  ?

-----Snipped for brevity-----------

*> 172.16.30.0/24       172.16.1.254             10    100  32768  ?
*> 172.16.31.0/24       172.16.1.254             10    100  32768  ?
*> 192.168.1.0/24       172.16.1.254             10    100  32768  ?
*> 192.168.2.0/24       172.16.1.254             10    100  32768  ?
*> 192.168.3.0/24       172.16.1.254             10    100  32768  ?

-----Snipped for brevity-----------

*> 192.168.254.0/24     172.16.1.254             10    100  32768  ?
*> 192.168.255.0/24     172.16.1.254             10    100  32768  ?
----------------------------------------------------------------------------------
Total number of prefixes 286

admin@PA-3250-ENT> 

Nota: The highlighted routes above are all connected routes, while the rest are static routes that were redistributed to BGP.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000010zIGCAY&lang=es&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language