EIGRP Route-Map Filtering

Derek,
Route-Maps are the swiss-army knife of Cisco. You can use them for all kinds of things in many different ways depending on the situation. With EIGRP, access-lists, prefix-lists, and route-maps are all options of a distribute-list. In other words, the “distribute-list” keyword is entered first, then you can choose which option you want after. Check out the available options below:

R1(config-router)#distribute-list ?
  <1-199>      IP access list number
  <1300-2699>  IP expanded access list number
  WORD               Access-list name
  gateway            Filtering incoming address updates based on gateway
  prefix             Filter prefixes in address updates
  route-map  Filter prefixes based on the route-map

Now, without getting too deep, where you actually apply this depends on whether you are running EIGRP “classic” mode or EIGRP “named” mode (the new style, also called Multi-Address Family EIGRP).

The example I showed above was from classic mode by going to the EIGRP process (let’s just say, its Autonomous-System 1) by

R1(config)#router eigrp 1

If you are running named mode, it takes a little bit longer to get there. In the example below, I am running EIGRP Named Instance “NetLessons” with AS 1. Here are the commands to get to the right spot in this instance:

R1(config)#router eigrp NetLessons
R1(config-router)#address-family ipv4 unicast autonomous-system 1
R1(config-router-af)#topology base
R1(config-router-af-topology)#distribute-list ?
  <1-199>      IP access list number
  <1300-2699>  IP expanded access list number
  WORD               Access-list name
  gateway            Filtering incoming address updates based on gateway
  prefix             Filter prefixes in address updates
  route-map  Filter prefixes based on the route-map

I hope I understood your question correctly.
--Andrew

1 Like