Route Redistribution
Route redistribution on the firewall is the
process of making routes that the firewall learned from one routing
protocol (or a static or connected route) available to a different
routing protocol, thereby increasing accessibility of network traffic.
Without route redistribution, a router or virtual router advertises
and shares routes only with other routers that run the same routing protocol.
You can redistribute IPv4 or IPv6 BGP, connected, or static routes
into the OSPF RIB and redistribute OSPFv3, connected, or static
routes into the BGP RIB.
This means, for example, you can
make specific networks that were once available only by manual static
route configuration on specific routers available to BGP autonomous
systems or OSPF areas. You can also advertise locally connected routes,
such as routes to a private lab network, into BGP autonomous systems
or OSPF areas.
You might want to give users on your internal
OSPFv3 network access to BGP so they can access devices on the internet.
In this case you would redistribute BGP routes into the OSPFv3 RIB.
Conversely,
you might want to give your external users access to some parts of
your internal network, so you make internal OSPFv3 networks available
through BGP by redistributing OSPFv3 routes into the BGP RIB.
- Create a redistribution profile.
- Selectand select a virtual router.NetworkVirtual Routers
- SelectRedistribution ProfileandIPv4orIPv6andAdda profile.
- Enter aNamefor 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 aPriorityfor 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.
- ForRedistribute, 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 aNo Redistprofile 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 onlyNo Redistprofiles; you would always need at least oneRedistprofile to redistribute routes.
- On theGeneral Filtertab, 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) ForInterface,Addone or more egress interfaces of associated routes to match for redistribution. To remove an entry, clickDelete.
- (Optional) ForDestination,Addone or more IPv4 or IPv6 destinations of routes to match for redistribution. To remove an entry, clickDelete.
- (Optional) ForNext Hop,Addone or more next hop IPv4 or IPv6 addresses of routes to match for redistribution. To remove an entry, clickDelete.
- ClickOK.
- (Optional—When General Filter includes ospf or ospfv3) Create an OSPF filter to further specify which OSPF or OSPFv3 routes to redistribute.
- Selectand select the virtual router.NetworkVirtual Routers
- SelectRedistribution ProfileandIPv4orIPv6and select the profile you created.
- SelectOSPF Filter.
- For Path Type, select one or more of the following types of OSPF path to redistribute:ext-1,ext-2,inter-area, orintra-area.
- To specify anAreafrom which to redistribute OSPF or OSPFv3 routes,Addan area in IP address format.
- To specify aTag,Adda tag in IP address format.
- ClickOK.
- (Optional—When General Filter includes bgp) Create a BGP filter to further specify which BGP routes to redistribute.
- Selectand select the virtual router.NetworkVirtual Routers
- SelectRedistribution ProfileandIPv4orIPv6and select the profile you created.
- SelectBGP Filter.
- ForCommunity,Addto select from the list of communities, such as well-known communities:local-as,no-advertise,no-export, ornopeer. 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.
- ForExtended Community,Addan 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.
- ClickOK.
- Select the protocol into which you are redistributing routes, and set the attributes for those routes.This task illustrates redistributing routes into BGP.
- Selectand select the virtual router.NetworkVirtual Routers
- Select.BGPRedist Rules
- SelectAllow Redistribute Default Routeto allow the firewall to redistribute the default route.
- ClickAdd.
- SelectAddress Family Type:IPv4orIPv6to specify in which route table the redistributed routes will be put.
- Select theNameof the Redistribution profile you created, which selects the routes to redistribute.
- Enablethe redistribution rule.
- (Optional) Enter any of the following values, which the firewall applies to the routes being redistributed:
- Metricin the range 1 to 65,535.
- Set Origin—Origin of the route:igp,egp, orincomplete.
- 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.
- ClickOK.
- Commityour changes.
Recommended For You
Recommended Videos
Recommended videos not found.