Redistribution and Filtering
Redistribution and Filtering
com
Configuring Redistribution
To configure redistribution between routing protocols, the redistribute protocol command is
used under the routing protocol that recieves the routes.
R1(config-router)# redistribute protocol [AS] [metric metric-vlaue]
The process-id field above is the AS number for RIP, EIGRP, BGP. For OSPF, use the process ID.
Also, both RIP and EIGRP require the use the metric keyword!
If you don’t use it the IOS will even give you a warning. Make sure to include it.
Distribute Lists
Distribute lists are access lists applied to the routing process, determining which networks are
allowed into the routing table or included in updates. They essentially act as a filter.
Route Maps
When a routing update arrives at an interface, a series of steps occur to process it correctly.
The diagram below outlines those steps and serves as a foundation for the rest of this route
redistribution and filtering section.
Route maps are extremely flexible and are used in a number routing scenarios including:
Controlling redistribution based on permit/deny statements
Defining policies in policy-based routing (PBR)
Add more mature decision making to NAT decisions than simply using static
translations
When implementing BGP PBR
Route maps allow an administrator to define specific traffic and then take automated actions
against it to control how routing information is processed and forwarded. Route maps uses
logic similar to if/then statements in simple scripting.
In route map terms, it matches traffic against conditions and sets options for that traffic.
NOTE: If you have downloaded the Switch Exam Guide, you will notice the similarity between
the syntax structure of route maps and VACLs.
Each statement in a route map has a sequence number, which is read from lowest to highest.
The router stops reading statements when it reaches its first matching statement.
Shabeer Ibm http://SysnetNotes.blogspot.com
Understand that there is an implicit deny included in all route maps. If traffic does not match
any statement, it is denied.