What can a route-map perform?
- Identify the subset of the routes to filter or change based on the route’s prefix/length, plus other factors
- Make filtering choices about which routes are redistributed, and which are not
- Set the metric to different values based on information matchable by the route-map
- Set the type of external route for different redistributed routes, for example, OSPF Type 1 for some routes, Type 2 for others
- Set a route tag, a unitless integer value that can later be matched with a route-map at another redistribution point
How do you configure a route-map with redistribution?
Redistribute command has two mechanisms that allow filtering of routes:
- the match {internal | external 1 | external 2 | nssa-external} parameters
- the route-map map-name option
router eigrp 1 redistribute ospf 2 route-map FILTER-OSPF-ROUTES
How do you configure route filtering with Redistribution?
Use a route-map that has a deny clause to filter routes or a permit clause to not filter routes. Within the route-map you can match routes by using standard and extended ACLs with a deny clause to filter routes & use a permit clause at the end that matches all the remaining routes that allows them to go through.
An alternative is to use IP prefix lists within a route-map with a permit clause so that routes are allowed. Use the implicit deny all at the end of the route-map to filter denied routes.
What commands are used to verify redistribution filtering operations?
Use the show ip route network command on the router that is to have filtered routes. The filtered routes should not be in the routing table. Also, additional routes should not be filtered. You can also verify this in the topology table of the router.
Any ACLs or prefix lists used to filter routes can be verified by using the show ip access-list [number | name] and show ip prefix-list detail [name] to show an increment in the counters of the filtered routes.
How would you configure metric settings when redistributing?
Utilize the set metric command within the route-map. For EIGRP there are five parameters (bandwidth, delay, reliability, load, mtu). For OSPF and RIP there is only one integer metric. Example:
route-map route-map-name permit 10 match ip address prefix-list prefix-list-name set metric 1000 44 255 1 1500
What command is used to verify metric settings?
In EIGRP:
show ip eigrp topology network
When redistributing, how would you set the external route type?
Used when redistributing into OSPF. Utilize the set metric-type route-map subcommand:
set metric-type {type-1 | type-2}
What is a distribute-list?
A distribute-list is a method of filtering routes, similar to a route-map, except it is used if you do not need additional functions supplied by the route-map. You can filter routes with an ACL or prefix-list. It also refers to the direction and the routing process in which the updates are received with an in or out referenced in the distribute-list.
Syntax:
distribute-list 1 out ospf 2 or distribute-list prefix UPDATES out eigrp 1
{ 0 comments }