Skip to content

Route Map

Location in GUI: Objects » Object Management » Route Map

Diagram
NameTypeConstraintMandatoryDefault Value
route_mapsList[route_maps]No

NameTypeConstraintMandatoryDefault Value
nameStringYes
overridableBooleantrue, falseNofalse
entriesList[entries]Yes

NameTypeConstraintMandatoryDefault Value
actionChoiceDENY, PERMITYes
idIntegermin: 1, max: 20000Yes
matchClass[match]No
setClass[set]No

match (fmc.domains.objects.route_maps.entries)

Section titled “match (fmc.domains.objects.route_maps.entries)”
NameTypeConstraintMandatoryDefault Value
security_zonesListStringNo
interface_literalsListStringNo
ipv4_address_access_listsListStringNo
ipv4_address_prefix_listsListStringNo
ipv4_next_hop_access_listsListStringNo
ipv4_next_hop_prefix_listsListStringNo
ipv4_route_source_access_listsListStringNo
ipv4_route_source_prefix_listsListStringNo
ipv6_address_extended_access_listStringNo
ipv6_address_prefix_listStringNo
ipv6_next_hop_extended_access_listStringNo
ipv6_next_hop_prefix_listStringNo
ipv6_route_source_extended_access_listStringNo
ipv6_route_source_prefix_listStringNo
bgp_as_pathsListInteger[min: 1, max: 500]No
bgp_community_listsListStringNo
bgp_policy_listsListStringNo
route_metricsListInteger[min: 0, max: 4294967295]No
tagsListInteger[min: 0, max: 4294967295]No
route_type_external_1Booleantrue, falseNo
route_type_external_2Booleantrue, falseNo
route_type_internalBooleantrue, falseNo
route_type_localBooleantrue, falseNo
route_type_nssa_external_1Booleantrue, falseNo
route_type_nssa_external_2Booleantrue, falseNo

set (fmc.domains.objects.route_maps.entries)

Section titled “set (fmc.domains.objects.route_maps.entries)”
NameTypeConstraintMandatoryDefault Value
metric_bandwidthIntegermin: 1, max: 4294967295No
metric_typeChoiceINTERNAL, TYPE_1, TYPE_2No
bgp_as_path_prependListInteger[min: 0, max: 4294967295]No
bgp_as_path_prepend_last_asIntegermin: 1, max: 10No
bgp_as_path_convert_route_tag_into_as_pathBooleantrue, falseNo
bgp_community_noneBooleantrue, falseNo
bgp_community_specific_communityIntegermin: 1, max: 4294967295No
bgp_community_add_to_existing_communitiesBooleantrue, falseNo
bgp_community_internetBooleantrue, falseNo
bgp_community_no_advertiseBooleantrue, falseNo
bgp_community_no_exportBooleantrue, falseNo
bgp_community_route_targetsListStringNo
bgp_community_add_to_existing_extended_communitiesBooleantrue, falseNofalse
bgp_automatic_tagBooleantrue, falseNo
bgp_local_preferenceIntegermin: 0, max: 4294967295No
bgp_weightIntegermin: 0, max: 65535No
bgp_originChoiceLOCAL_IGP, INCOMPLETENo
bgp_ipv4_next_hopChoiceUSE_PEER_ADDRESS, SPECIFIC_IPNo
bgp_ipv4_next_hop_specific_ipsListIPNo
bgp_ipv4_prefix_listStringNo
bgp_ipv6_next_hopChoiceUSE_PEER_ADDRESS, SPECIFIC_IPNo
bgp_ipv6_next_hop_specific_ipsListStringNo

NOTE: id should be included in each entry with unique value. This is a workaround and value of that parameter is not used.

Prerequisites:

fmc:
domains:
- name: Global
objects:
security_zones:
- name: MySecurityZoneName1
hosts:
- name: MyHostName1
ip: 10.10.10.1
standard_access_lists:
- name: MyStandardACLName1
entries:
- action: DENY
literals:
- 10.1.13.130
- action: PERMIT
objects:
- MyHostName1
fmc:
domains:
- name: Global
objects:
route_maps:
- name: MyRouteMapName1
entries:
- action: PERMIT
id: 1
match:
security_zones:
- MySecurityZoneName1
set:
metric_bandwidth: 1000
metric_type: INTERNAL
- action: PERMIT
id: 2
match:
ipv4_address_access_lists:
- MyStandardACLName1
set:
bgp_as_path_prepend:
- 65000
- 66000
bgp_as_path_prepend_last_as: 3
bgp_as_path_convert_route_tag_into_as_path: true
- action: DENY
id: 99