Route Map
Location in GUI: Objects » Object Management » Route Map
Diagram
Section titled “Diagram”Classes
Section titled “Classes”objects (fmc.domains)
Section titled “objects (fmc.domains)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| route_maps | List | [route_maps] | No |
route_maps (fmc.domains.objects)
Section titled “route_maps (fmc.domains.objects)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| overridable | Boolean | true, false | No | false |
| entries | List | [entries] | Yes |
entries (fmc.domains.objects.route_maps)
Section titled “entries (fmc.domains.objects.route_maps)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| action | Choice | DENY, PERMIT | Yes | |
| id | Integer | min: 1, max: 20000 | Yes | |
| match | Class | [match] | No | |
| set | Class | [set] | No |
match (fmc.domains.objects.route_maps.entries)
Section titled “match (fmc.domains.objects.route_maps.entries)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| security_zones | List | String | No | |
| interface_literals | 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 | |
| ipv4_route_source_access_lists | List | String | No | |
| ipv4_route_source_prefix_lists | List | String | No | |
| ipv6_address_extended_access_list | String | No | ||
| ipv6_address_prefix_list | String | No | ||
| ipv6_next_hop_extended_access_list | String | No | ||
| ipv6_next_hop_prefix_list | String | No | ||
| ipv6_route_source_extended_access_list | String | No | ||
| ipv6_route_source_prefix_list | String | No | ||
| bgp_as_paths | List | Integer[min: 1, max: 500] | No | |
| bgp_community_lists | List | String | No | |
| bgp_policy_lists | List | String | No | |
| route_metrics | List | Integer[min: 0, max: 4294967295] | No | |
| tags | List | Integer[min: 0, max: 4294967295] | No | |
| route_type_external_1 | Boolean | true, false | No | |
| route_type_external_2 | Boolean | true, false | No | |
| route_type_internal | Boolean | true, false | No | |
| route_type_local | Boolean | true, false | No | |
| route_type_nssa_external_1 | Boolean | true, false | No | |
| route_type_nssa_external_2 | Boolean | true, false | No |
set (fmc.domains.objects.route_maps.entries)
Section titled “set (fmc.domains.objects.route_maps.entries)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| metric_bandwidth | Integer | min: 1, max: 4294967295 | No | |
| metric_type | Choice | INTERNAL, TYPE_1, TYPE_2 | No | |
| bgp_as_path_prepend | List | Integer[min: 0, max: 4294967295] | No | |
| bgp_as_path_prepend_last_as | Integer | min: 1, max: 10 | No | |
| bgp_as_path_convert_route_tag_into_as_path | Boolean | true, false | No | |
| bgp_community_none | Boolean | true, false | No | |
| bgp_community_specific_community | Integer | min: 1, max: 4294967295 | No | |
| bgp_community_add_to_existing_communities | Boolean | true, false | No | |
| bgp_community_internet | Boolean | true, false | No | |
| bgp_community_no_advertise | Boolean | true, false | No | |
| bgp_community_no_export | Boolean | true, false | No | |
| bgp_community_route_targets | List | String | No | |
| bgp_community_add_to_existing_extended_communities | Boolean | true, false | No | false |
| bgp_automatic_tag | Boolean | true, false | No | |
| bgp_local_preference | Integer | min: 0, max: 4294967295 | No | |
| bgp_weight | Integer | min: 0, max: 65535 | No | |
| bgp_origin | Choice | LOCAL_IGP, INCOMPLETE | No | |
| bgp_ipv4_next_hop | Choice | USE_PEER_ADDRESS, SPECIFIC_IP | No | |
| bgp_ipv4_next_hop_specific_ips | List | IP | No | |
| bgp_ipv4_prefix_list | String | No | ||
| bgp_ipv6_next_hop | Choice | USE_PEER_ADDRESS, SPECIFIC_IP | No | |
| bgp_ipv6_next_hop_specific_ips | List | String | No |
Examples
Section titled “Examples”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: - MyHostName1fmc: 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