The following section is a summary of the major points you should be aware of in this chapter.
Access Lists and IP Prefix Lists Fundamentals
- ACLs use wildcard masks to specify what networks should be permitted or denied
- IP prefix lists are used to match specific prefixes based on number and length
- IP prefix lists can also be used to match a range of networks that fall within a prefix
- IP prefix lists consume fewer CPU cycles than traditional ACLs
Understanding Route Maps
- Route maps and ACLs have common characteristics. These characteristics are as follows:
- Route maps and ACLs are an ordered sequence of individual statements
- The evaluation of route maps or ACLs is based on a list scan, in a predetermined order
- They are both generic mechanisms that can be used in multiple tasks
- There are some differences between ACLs and route maps which are as follows
- Route maps can, and often do, use ACLs as matching criteria
- Route maps can do more than simply permit or deny
- By design, each individual ACL ends with an implicit deny statement
- Match clauses are used to match against predefined criteria
- Set clauses are used to determine what happens a positive match has been made
Filtering EIGRP Routes
- EIGRP supports the following route filtering mechanisms
- Distribute Lists
- Denying or permitting the default route
Filtering OSPF Routes
- OSPF supports the following route filtering mechanisms
- Distribute Lists
- Filtering Type 3 LSAs at the Area Border Router
- Filtering Outgoing LSAs
Protocol Independent Route Filtering
- The distance command can be used to filter routes if the distance is set to 255
- The distance command can be used in conjunction with any routing protocol
Route Redistribution Overview
- When redistribution is configured, different routes sources communicate with the RIB
- Different routing protocols or instances will never communicate directly
- Only route that have been installed into the RIB will actually be redistributed
Configuring and Verifying Route Redistribution
- The redistribute command is used to configure route redistribution between route sources
- By default, EIGRP assigns a metric of infinity during redistribution except:
- When redistributing between two EIGRP autonomous systems
- When redistributing static routes into EIGRP
- When redistributing connected interfaces (subnets) into EIGRP
- The EIGRP metric to be used for redistribution can be set in the following ways:
- By specifying the seed (default) EIGRP metric for redistributed routes
- By indirectly specifying the EIGRP metric during redistribution using a route map
- By directly specifying the EIGRP metric during route redistribution
- When redistributing routes into OSPF, the default metric assignments are as follows:
- Redistributed routes from BGP are assigned a metric or cost of 1
- Redistributed routes from another OSPF process use the source routes cost
- All other redistributed routes are assigned a default metric of 20
- OSPF external routes may either be Type 1 or Type 2. This is also applicable to NSSAs
- The difference between Type 1 and Type 2 external routes is metric calculation
- The metric for Type 2 external routes will never change
- The metric for Type 1 external routes will increment at every router (hop)
- By default, OSPF will only redistribute Classful networks
- To redistribute subnetted networks, the subnets keyword must be used
- For OSPF, there are three ways in which the metric for redistributed routes can be set:
- Directly using the default-metric router configuration command
- Indirectly by setting the metric value in a route map using the set metric command
- Directly by using the metric command with the redistribute command
- For OSPF, there are two ways the metric type, i.e. Type 1 or Type 2, can be set:
- Directly using the metric-type command with the redistribute command
- Indirectly by setting the type in a route map using the set metric-type command
Route Redistribution Design Considerations
- Route redistribution can be performed or implemented one-way or two-way
- Redistribution can also be performed on a single router or multiple router
- For redistribution, use the following to avoid routing loops and suboptimal routing
In summation, although a lot has been discussed in this chapter, make it a point to remember the following when implementing route redistribution:
- Use a protocol that can use different distance values for internal and external routes
- If possible, redistribute external routes with a higher administrative distance value
- Use route tagging or other filters to ensure that only internal routes are redistributed
- Redistribute external routes with a higher metric (worse)