Border Gateway Protocol (BGP) is a dynamic routing protocol used to exchange routing information between autonomous systems (AS). In Palo Alto Networks firewalls, BGP route redistribution allows the integration of routes from different sources (e.g., static, connected, OSPF, RIP) into BGP, enabling a unified routing strategy across diverse network segments.
Network > Virtual Routers
and select your virtual router.
Redistribution Profile
and click
Add
.
BGP > Redist Rules
.
For detailed steps, refer to the official documentation: Configure Route Redistribution .
BGP uses several attributes to determine the best path when multiple routes to the same destination exist. Understanding and manipulating these attributes can influence routing decisions to align with network policies.
These attributes can be set or modified using route maps within redistribution profiles.
To prefer a specific route for outbound traffic:
set local-preference 200
This sets the local preference to 200 for the matched routes, making them more preferred over routes with lower local preference values.
To influence inbound traffic from a neighboring AS:
set med 50
This sets the MED to 50 for the matched routes, suggesting to external peers that this path is more preferred for inbound traffic.
To tag routes for policy application:
set community 65000:100
This assigns the community value 65000:100 to the matched routes, which can then be used in routing policies to control route advertisement or acceptance.
Effective monitoring and troubleshooting are essential to ensure that BGP route redistribution functions as intended. Palo Alto Networks firewalls offer various tools and commands to assist in this process.
Network > Virtual Routers > [Your Virtual Router] > BGP > Peer Group
to view the status of BGP peers.
show routing route
to display the routing table and verify redistributed routes.
show routing protocol bgp rib-out
to view the routes being advertised to peers.
Network > Virtual Routers > [Your Virtual Router] > Redistribution Profile
to ensure correct configuration.
Monitor > Logs > System
for any BGP-related events or errors.
Regularly monitoring these areas helps in early detection of issues and ensures that the routing policies are enforced as intended.
Effective monitoring and troubleshooting are essential to ensure that BGP route redistribution functions as intended. Palo Alto Networks firewalls offer various tools and commands to assist in this process.
show routing protocol bgp summary virtual-router <virtual-router-name>
show routing protocol bgp peer peer-name <peer-name> virtual-router <virtual-router-name>
show routing protocol bgp loc-rib
show routing route
show routing protocol bgp rib-out
These commands provide insights into the BGP sessions, advertised and received routes, and the overall routing table, aiding in pinpointing issues related to route redistribution.
Network > Virtual Routers > [Your Virtual Router] > BGP > Peer Group
to view the status of BGP peers.
Routing
tab under
Device > Troubleshooting
to analyze the routing table and verify redistributed routes.
BGP
tab under
Network > Virtual Routers > More Runtime Stats
to view the routes being advertised to peers.
The web interface provides a graphical representation of BGP sessions, routing tables, and redistribution profiles, facilitating easier analysis and troubleshooting.