Configure Route Redistribution
Table of Contents
Expand All
|
Collapse All
Next-Generation Firewall Docs
-
-
- Cloud Management of NGFWs
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0
- PAN-OS 11.1 & Later
- PAN-OS 9.1 (EoL)
-
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0
- PAN-OS 11.1 & Later
-
-
- Cloud Management and AIOps for NGFW
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0
- PAN-OS 11.1
- PAN-OS 11.2
- PAN-OS 8.1 (EoL)
- PAN-OS 9.0 (EoL)
- PAN-OS 9.1 (EoL)
Configure Route Redistribution
Perform the following procedure to configure route redistribution.
- Create a redistribution profile.
- Select NetworkVirtual Routers and select a virtual router.Select Redistribution Profile and IPv4 or IPv6 and Add a profile.Enter a Name for the profile, which must start with an alphanumeric character and can contain zero or more underscores (_), hyphens (-), dots (.), or spaces (up to 16 characters).Enter a Priority for the profile in the range 1 to 255. The firewall matches routes to profiles in order using the profile with the highest priority (lowest priority value) first. Higher priority rules take precedence over lower priority rules.For Redistribute, select one of the following:
- Redist—Select for redistribution the routes that match this filter.
- No Redist—Select for redistribution routes that match the redistribution profiles except the routes that match this filter. This selection treats the profile as a block list that specifies which routes not to select for redistribution. For example, if you have multiple redistribution profiles for BGP, you can create a No Redist profile to exclude several prefixes, and then a general redistribution profile with a lower priority (higher priority value) after it. The two profiles combine and the higher priority profile takes precedence. You can’t have only No Redist profiles; you would always need at least one Redist profile to redistribute routes.
On the General Filter tab, for Source Type, select one or more types of route to redistribute:- bgp—Redistribute BGP routes that match the profile.
- connect—Redistribute connected routes that match the profile.
- ospf (IPv4 only)—Redistribute OSPF routes that match the profile.
- rip (IPv4 only)—Redistribute RIP routes that match the profile.
- ospfv3 (IPv6 only)—Redistribute OSPFv3 routes that match the profile.
- static—Redistribute static routes that match the profile.
(Optional) For Interface, Add one or more egress interfaces of associated routes to match for redistribution. To remove an entry, click Delete.(Optional) For Destination, Add one or more IPv4 or IPv6 destinations of routes to match for redistribution. To remove an entry, click Delete.(Optional) For Next Hop, Add one or more next hop IPv4 or IPv6 addresses of routes to match for redistribution. To remove an entry, click Delete.Click OK.(Optional—When General Filter includes ospf or ospfv3) Create an OSPF filter to further specify which OSPF or OSPFv3 routes to redistribute.- Select NetworkVirtual Routers and select the virtual router.Select Redistribution Profile and IPv4 or IPv6 and select the profile you created.Select OSPF Filter.For Path Type, select one or more of the following types of OSPF path to redistribute: ext-1, ext-2, inter-area, or intra-area.To specify an Area from which to redistribute OSPF or OSPFv3 routes, Add an area in IP address format.To specify a Tag, Add a tag in IP address format.Click OK.(Optional—When General Filter includes bgp) Create a BGP filter to further specify which BGP routes to redistribute.
- Select NetworkVirtual Routers and select the virtual router.Select Redistribution Profile and IPv4 or IPv6 and select the profile you created.Select BGP Filter.For Community, Add to select from the list of communities, such as well-known communities: local-as, no-advertise, no-export, or nopeer. You can also enter a 32-bit value in decimal or hexadecimal or in AS:VAL format, where AS and VAL are each in the range 0 to 65,535. Enter a maximum of 10 entries.For Extended Community, Add an extended community as a 64-bit value in hexadecimal or in TYPE:AS:VAL or TYPE:IP:VAL format. TYPE is 16 bits; AS or IP is 16 bits; VAL is 32 bits. Enter a maximum of five entries.Click OK.Select the protocol into which you are redistributing routes, and set the attributes for those routes.This task illustrates redistributing routes into BGP.
- Select NetworkVirtual Routers and select the virtual router.Select BGPRedist Rules.Select Allow Redistribute Default Route to allow the firewall to redistribute the default route.Click Add.Select Address Family Type: IPv4 or IPv6 to specify in which route table the redistributed routes will be put.Select the Name of the Redistribution profile you created, which selects the routes to redistribute.Enable the redistribution rule.(Optional) Enter any of the following values, which the firewall applies to the routes being redistributed:
- Metric in the range 1 to 65,535.
- Set Origin—Origin of the route: igp, egp, or incomplete.
- Set MED—MED value in the range 0 to 4,294,967,295.
- Set Local Preference—Local preference value in the range 0 to 4,294,967,295.
- Set AS Path Limit—Maximum number of autonomous systems in the AS_PATH in the range 1 to 255.
- Set Community—Select or enter a 32-bit value in decimal or hexadecimal, or enter a value in AS:VAL format, where AS and VAL are each in the range 0 to 65,525. Enter a maximum of 10 entries.
- Set Extended Community—Select or enter an extended community as a 64-bit value in hexadecimal or in TYPE:AS:VAL or TYPE:IP:VAL format. TYPE is 16 bits; AS or IP is 16 bits; VAL is 32 bits. Enter a maximum of five entries.
Click OK.Commit your changes.