Route maps are sophisticated policy tools that provide conditional routing decisions by combining flexible match criteria with configurable set actions, enabling complex routing policies for route redistribution, BGP path selection, and traffic engineering. They operate using sequence-based entries that define match conditions (such as prefix lists, access lists, AS paths, or communities) paired with set actions (including metric modification, next-hop assignment, community tagging, and BGP attribute manipulation). Route maps are fundamental building blocks for implementing advanced routing policies, enabling administrators to control route advertisement, path selection, and traffic flow while supporting features like conditional route filtering, multi-homed network optimization, and service provider peering policies.
Diagram
Classes
configuration (iosxe.devices)
Name
Type
Constraint
Mandatory
Default Value
route_maps
List
[route_maps]
No
route_maps (iosxe.devices.configuration)
Name
Type
Constraint
Mandatory
Default Value
name
String
Regex: ^[^\s]*$
Yes
entries
List
[entries]
No
entries (iosxe.devices.configuration.route_maps)
Name
Type
Constraint
Mandatory
Default Value
seq
Integer
min: 0, max: 65535
Yes
operation
Choice
deny, permit
No
description
String
No
continue
Boolean
true, false
No
continue_sequence_number
Integer
min: 0, max: 65535
No
match
Class
[match]
No
set
Class
[set]
No
match (iosxe.devices.configuration.route_maps.entries)
Name
Type
Constraint
Mandatory
Default Value
interfaces
List
String
No
ipv4_address_access_lists
List
String
No
ipv4_address_prefix_lists
List
String
No
ipv4_next_hop_access_lists
List
String
No
ipv4_next_hop_prefix_lists
List
String
No
ipv6_address_access_lists
String
No
ipv6_address_prefix_lists
String
No
ipv6_next_hop_access_lists
String
No
ipv6_next_hop_prefix_lists
String
No
route_type
Class
[route_type]
No
source_protocol
Class
[source_protocol]
No
tags
List
Integer
No
track
Integer
min: 1, max: 1000
No
as_paths
List
Integer
No
community_lists
List
String
No
community_list_exact_match
Boolean
true, false
No
extcommunity_lists
List
String
No
local_preferences
List
Integer
No
set (iosxe.devices.configuration.route_maps.entries)