A route map is a powerful and flexible policy tool used in network routing environments to control how routing information is processed, filtered, and manipulated as it moves between routing protocols or routing processes. It functions as a conditional policy engine that evaluates routing information against a set of defined criteria and then applies specific actions based on whether those criteria are matched. Network engineers rely on route maps extensively because they provide granular control over routing decisions that simple access lists and prefix lists alone cannot achieve.
The concept behind route maps draws from basic programming logic. Each route map contains numbered sequences that are evaluated in order, and each sequence contains two functional components known as match conditions and set actions. Match conditions tell the router what to look for in a given route, while set actions tell the router what to do when a match is found. This structure gives network administrators a highly precise mechanism for shaping routing behavior across complex enterprise and service provider networks.
Route maps are evaluated in a strictly sequential manner, starting from the lowest sequence number and moving upward through each subsequent sequence until a match is found or the route map ends. When a route enters the evaluation process, the router compares it against the match conditions in the first sequence. If the route satisfies all the conditions defined in that sequence, the corresponding set actions are immediately applied and evaluation stops without checking any remaining sequences further down the route map.
If the route does not match the conditions in the first sequence, the router moves to the next sequence and repeats the evaluation process. This continues until either a matching sequence is found or the route reaches the end of the route map without matching anything. When a route reaches the end without finding a match, the default behavior is an implicit deny, meaning the route is dropped and not passed along to the next process. This implicit deny behavior is an important detail that network engineers must account for when writing route maps to avoid accidentally blocking legitimate routes.
Match conditions are the filtering criteria that a route map uses to identify which routes it should act upon. These conditions can reference a wide variety of routing attributes depending on what the network engineer needs to control. Common match conditions include matching on an IP address or prefix using an access list or prefix list, matching on the route source using another routing protocol, matching on an interface through which the route was learned, or matching on a specific metric value associated with the route.
In BGP environments, match conditions become even more sophisticated. Engineers can match on BGP communities, AS path attributes using regular expressions, local preference values, multi-exit discriminator values, and route origin types. The ability to match on such a broad range of attributes makes route maps applicable across virtually every routing scenario imaginable. Candidates studying for network certifications and working engineers alike must develop a thorough familiarity with the full range of available match conditions because choosing the wrong match criterion is one of the most common sources of route map misconfiguration in production networks.
Set actions are the instructions that a route map applies to a route after it successfully matches the defined conditions in a given sequence. These actions modify the attributes of the route before it is passed along to the next process, redistributed into another protocol, or used to influence forwarding decisions. The range of available set actions is extensive and varies depending on the routing protocol context in which the route map is being applied.
Common set actions include changing the route metric, modifying the next hop address, setting an administrative tag value, and adjusting route preference. In BGP contexts, set actions take on additional importance because BGP relies heavily on attribute manipulation for traffic engineering. Engineers use set actions to modify local preference to influence outbound traffic paths, adjust the MED value to influence inbound traffic from neighboring autonomous systems, prepend the AS path to make a route appear less attractive, and set BGP community values to carry policy information across routing boundaries. Each set action gives the network engineer a precise lever for shaping how traffic flows through the network.
Every sequence within a route map must be configured as either a permit or a deny statement, and this distinction fundamentally determines what happens to a route that matches the conditions in that sequence. When a sequence is configured as permit and a route matches its conditions, the set actions defined in that sequence are applied to the route and the route is allowed to continue through the process. The route is passed along with its modified attributes intact and is used in whatever function the route map is serving.
When a sequence is configured as deny and a route matches its conditions, the route is simply dropped and no set actions are applied. The route does not continue through any further sequences and is not passed along to the next process. This deny behavior is useful when engineers want to block specific routes from being redistributed or advertised while allowing all other routes to pass. The combination of permit and deny sequences within a single route map gives engineers the ability to build sophisticated filtering policies that treat different subsets of routes in completely different ways within a single cohesive policy structure.
One of the most common and important applications of route maps is controlling the redistribution of routes between different routing protocols. When an organization runs multiple routing protocols simultaneously, such as OSPF in the core and EIGRP at the edge, routes must be redistributed between those protocols so that the entire network can reach all destinations. Without a route map attached to the redistribution process, all routes from the source protocol would be redistributed indiscriminately, which can lead to routing instability, suboptimal paths, and security concerns.
A route map attached to a redistribution command gives the engineer precise control over which routes are redistributed and what attributes are assigned to them during the redistribution process. For example, an engineer might use a route map to only redistribute routes that fall within specific prefixes, while assigning different metric values to different categories of redistributed routes based on their origin or importance. This level of control prevents route feedback loops, reduces unnecessary routing table growth, and ensures that redistributed routes carry appropriate metric information that reflects their true cost and priority within the receiving protocol domain.
BGP is the routing protocol where route maps find their most extensive and sophisticated application. Because BGP is a policy-based protocol designed to carry routing information between autonomous systems across the internet and between organizational networks, the ability to apply detailed policies to BGP routes is not optional but essential. Route maps applied to BGP neighbors control which routes are received from that neighbor, which routes are advertised to that neighbor, and what attribute modifications are made in each direction.
Inbound route maps applied to a BGP neighbor filter and modify routes as they are received from that neighbor before they enter the local BGP table. Outbound route maps filter and modify routes as they are about to be advertised to a neighbor before they leave the local router. This bidirectional application of route maps gives BGP operators extraordinary precision in shaping traffic flows across complex multi-homed and multi-provider network environments. Service providers in particular rely on BGP route maps to implement customer routing policies, enforce peering agreements, and manage traffic engineering across large-scale internet infrastructure.
Policy based routing is another major application area for route maps, and it differs fundamentally from standard destination-based routing. In normal routing, a router forwards packets based solely on the destination IP address and the best matching entry in the routing table. Policy based routing uses route maps to override this default behavior and forward packets based on additional criteria such as the source IP address, the protocol type, the packet size, or the input interface through which the packet arrived.
A practical example of policy based routing involves a company with two internet service provider connections where the organization wants web traffic from one department to exit through one provider and all other traffic to exit through a different provider. A route map configured for policy based routing can match on the source IP addresses of that department and set the next hop to the appropriate provider link, while all other traffic follows the normal routing table. This capability makes policy based routing an invaluable tool for traffic engineering, quality of service implementation, and meeting specific business requirements that destination-based routing alone cannot satisfy.
Access lists and route maps are both used for filtering in network environments, but they serve fundamentally different purposes and operate in distinctly different ways. An access list is a simple sequential list of permit and deny statements that match packets or routes based on limited criteria, typically source and destination IP addresses and protocol information. Access lists are effective for basic filtering tasks but lack the ability to modify attributes or apply conditional actions based on complex multi-attribute matching.
Route maps, by contrast, can reference access lists as one of their match conditions while also incorporating many additional match criteria and applying a rich set of attribute modifications through set actions. This makes route maps a superset of access list functionality in the routing policy context. When a network engineer needs to simply block or allow routes based on prefix, an access list or prefix list alone may be sufficient. When the requirement involves matching on multiple attributes simultaneously and modifying route characteristics based on the match result, a route map is the appropriate and necessary tool for the job.
One of the most powerful aspects of route maps is the ability to combine multiple match conditions within a single sequence, creating compound matching logic that gives engineers very precise control over which routes are affected by a given policy. When multiple match statements are included within the same sequence, they function as a logical AND operation, meaning that a route must satisfy every single match condition in that sequence before the set actions are applied. This AND logic allows engineers to build highly targeted policies that affect only a very specific subset of routes.
For example, a sequence might match on both a prefix list and a BGP community value simultaneously, ensuring that only routes that match the specified prefixes AND carry the specified community are subject to the set actions in that sequence. Routes that match the prefix list but not the community, or the community but not the prefix list, would not match that sequence and would continue to the next one. This granularity is what makes route maps so well suited to complex network environments where different routes from the same neighbor or protocol may need to be treated in fundamentally different ways based on their full set of attributes.
OSPF uses route maps in several specific contexts that network engineers must be familiar with. When redistributing external routes into OSPF, a route map can control which external routes are accepted into the OSPF domain and what metric type and metric value are assigned to those routes upon redistribution. OSPF distinguishes between type 1 and type 2 external routes, and a route map set action can specify which type is assigned to redistributed routes, which has a direct impact on how those routes are preferred relative to other external routes within the OSPF domain.
Route maps also interact with OSPF through the distribute-list command, which filters routes during the OSPF route installation process. While OSPF itself propagates link state information through its database flooding mechanism, distribute lists with route maps can prevent certain routes from being installed into the routing table on specific routers even if those routes exist in the OSPF database. This filtering capability is useful in scenarios where certain routers should not have reachability to specific destinations even though the routing protocol has calculated valid paths to those destinations.
EIGRP uses route maps primarily in the context of redistribution and route filtering through distribute lists. When redistributing routes from another protocol into EIGRP, a route map gives the engineer control over which routes enter the EIGRP domain and what metric components are assigned to those routes. EIGRP requires explicit metric specification during redistribution because it uses a composite metric calculated from bandwidth, delay, reliability, load, and maximum transmission unit values, and a route map can be used to set different metric values for different categories of redistributed routes based on their characteristics.
Route maps applied to EIGRP neighbor relationships through the neighbor route-map command provide additional filtering granularity at the per-neighbor level. This allows different routing policies to be applied to routes exchanged with different EIGRP neighbors even when those neighbors are part of the same EIGRP process. In large enterprise networks running EIGRP across multiple sites with varying connectivity requirements, per-neighbor route map policies provide the flexibility needed to implement site-specific routing behaviors without the complexity of running separate routing protocol instances for each site.
Troubleshooting route map problems requires a systematic approach because route maps interact with multiple routing processes simultaneously and errors can manifest in subtle and sometimes counterintuitive ways. The most common route map issue is an implicit deny blocking routes that the engineer intended to allow. This happens when a route map is written with sequences that match specific routes but no final permit-all sequence exists to pass through routes that do not match any specific criteria. Engineers must always consider whether unmatched routes should be permitted or denied and configure the route map accordingly.
The show route-map command is the primary diagnostic tool for examining route map configuration and statistics. This command displays each sequence within the route map, the match and set statements within each sequence, and counters showing how many routes have matched each sequence. These counters are extremely valuable during troubleshooting because they quickly reveal whether routes are hitting the expected sequences or bypassing them entirely. The debug ip policy command provides real-time visibility into policy based routing decisions, showing which packets are being matched and what next hop values are being applied, which is invaluable when troubleshooting policy based routing behavior.
In real production network environments, route maps are rarely simple single-sequence constructs. Enterprise networks and service provider environments commonly deploy route maps with dozens of sequences, each handling a different category of routes with different policy requirements. A service provider might maintain route maps with sequences that handle customer routes, peer routes, and upstream provider routes all within a single policy applied to a BGP neighbor, with each sequence applying different community tags, local preference values, and MED settings based on the route category.
The operational complexity of managing large route maps in production environments drives the need for careful documentation, consistent naming conventions, and regular policy audits. Route map sequences that were added to solve a specific problem years ago may interact unexpectedly with newer sequences added later, creating difficult-to-diagnose routing anomalies. Organizations that treat their route map configurations as living documents, regularly reviewed and cleaned up as network requirements evolve, tend to operate more stable and predictable routing environments than those that accumulate route map complexity without corresponding management discipline.
Configuring a route map on a Cisco router follows a consistent syntax pattern that engineers must know precisely. The route-map command followed by the map name, the permit or deny keyword, and the sequence number creates or enters a specific sequence within the route map. Within that sequence, match commands specify the criteria and set commands specify the actions. The route map is then applied to a specific function such as redistribution, a BGP neighbor relationship, or a policy based routing interface using the appropriate application command for that context.
Careful planning before beginning route map configuration saves significant troubleshooting time afterward. Engineers should document the intended policy in plain language before translating it into route map syntax, identifying every category of routes that needs distinct treatment and what action should be taken for each. Testing route maps in a lab environment or on non-production routers before deploying them to production is strongly recommended because route map errors can cause immediate and widespread routing disruptions that affect all traffic traversing the network segments where the policy is applied.
Route maps represent one of the most versatile and indispensable tools available to network engineers working with routing protocols and traffic engineering in both enterprise and service provider environments. From controlling redistribution between protocols and shaping BGP attributes to implementing policy based routing and filtering routing table entries, route maps provide a level of policy precision that no simpler mechanism can match. Their sequential evaluation logic, compound match capabilities, and rich set action options make them adaptable to an enormous range of routing policy requirements across different protocol environments and network scales.
The importance of route maps extends beyond their technical functionality to the broader discipline of network design and operations. A well-designed set of route maps reflects a deep understanding of how routing protocols make decisions, how traffic flows through a network, and what business requirements must be met through routing policy. Engineers who invest time in truly comprehending how route maps work, rather than simply memorizing syntax, develop a problem-solving capability that serves them across every routing challenge they encounter throughout their careers.
As networks continue to grow in complexity, incorporating more routing protocols, more cloud connectivity, and more demanding traffic engineering requirements, the relevance of route maps only increases. Software-defined networking and automation platforms have not replaced route maps but rather made them easier to deploy at scale through templating and programmatic configuration. Network automation tools like Ansible and Python-based management frameworks can generate, validate, and deploy route map configurations across hundreds of devices simultaneously, amplifying the power of well-designed routing policies rather than replacing the need for them.
For anyone pursuing network certifications such as CCNP, CCIE, or JNCIP, route maps are a topic that demands genuine depth of study rather than surface-level familiarity. Exam questions on route maps frequently involve multi-step scenarios where the correct answer requires tracing how a specific route would be evaluated through multiple sequences, what attributes would be applied, and how the result would affect routing decisions downstream. That same analytical thinking is exactly what production network troubleshooting demands, which is why the investment in deeply learning route maps pays dividends both on certification exams and throughout a professional networking career.
Site Search:
SPECIAL OFFER: GET 10% OFF

Pass your Exam with ExamCollection's PREMIUM files!
SPECIAL OFFER: GET 10% OFF
Use Discount Code:
MIN10OFF
A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.
Download Free Demo of VCE Exam Simulator
Experience Avanset VCE Exam Simulator for yourself.
Simply submit your e-mail address below to get started with our interactive software demo of your free trial.