Advanced Routing Engine - BGP: How to configure route redistribution
14651
Created On 07/24/24 04:42 AM - Last Modified 08/19/24 21:35 PM
Objective
Using the Topology below:
- Advertise the static Routes into BGP
- Advertise the connected Routes into BGP
Environment
- Advanced Routing Engine
- Logical Router
- BGP
- Route Redistribution
- PAN-OS version
Procedure
- Configure the BGP Redistribution Profile by going to Network > Routing > Routing Profiles > BGP > BGP Redistribution Profile > Add. The following parameters are using in this example:
- Name: My_RP_2_BGP
- Static: checked
- Connected: checked
- Click OK to save
- Apply the above BGP Redistribution Profile to the Logical Router by going to Network > Routing > Logical Router > [Logical_Router_Name] > BGP > Redistribution > IPv4 Redistribution Profile, and use the profile created above.
- Click OK then Commit to save
- To verify, Use the following CLI command:
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>
Note: The highlighted routes above are all connected routes, while the rest are static routes that were redistributed to BGP.