Version: latest v1.3.0 v1.2.0
Configure route policies that can be assigned to routing protocols or when advertising routing protocols to OMP.
Name Type Constraint Mandatory Default Value route_policies List [route_policies]No
Name Type Constraint Mandatory Default Value name String Regex: ^[^&<>! "]{1,128}$ No description String No default_action Choice accept, rejectYes sequences List [sequences]No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 65536 Yes name String min: 1, max: 19 No routebase_action Choice accept, rejectYes protocol Choice ipv4, ipv6, bothNo ipv4match_entries Class [match_entries]No actions Class [actions]No
Name Type Constraint Mandatory Default Value as_path_list String Regex: ^[^&<>! "]{1,128}$ No bgp_local_preference Integer min: 0, max: 4294967295 No expanded_community_list String Regex: ^[^&<>! "]{1,128}$ No extended_community_list String Regex: ^[^&<>! "]{1,128}$ No ipv4_address_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv4_next_hop_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv6_address_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv6_next_hop_prefix_list String Regex: ^[^&<>! "]{1,128}$ No metric Integer min: 0, max: 4294967295 No omp_tag Integer min: 0, max: 4294967295 No ospf_tag Integer min: 0, max: 4294967295 No standard_community_lists List String[Regex: ^[^&<>! "]{1,128}$] No standard_community_lists_criteria Choice or, and, exactNo
Name Type Constraint Mandatory Default Value bgp_local_preference Integer min: 0, max: 4294967295 No communities List Choice[internet, local-AS, no-advertise, no-export] No communities_variable String Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ No communities_additive Boolean true, falseNo ipv4_next_hop IP No ipv6_next_hop IP No metric Integer min: 0, max: 4294967295 No metric_type Choice type1, type2No omp_tag Integer min: 0, max: 4294967295 No origin Choice igp, egp, incompleteNo ospf_tag Integer min: 0, max: 4294967295 No prepend_as_paths List Integer[min: 1, max: 4294967295] No weight Integer min: 0, max: 65535 No
Example-1: This example demonstrates how to configure a service route policy feature that accepts and assigns metric 200 to all prefixes that have OSPF tag 10. All other prefixes are accepted with the default action.
- name : route_policy_set_metric
description : " Set metric for OSPF routes "
Configure route policies that can be assigned to routing protocols or when advertising routing protocols to OMP.
Name Type Constraint Mandatory Default Value route_policies List [route_policies]No
Name Type Constraint Mandatory Default Value name String Regex: ^[^&<>! "]{1,128}$ No description String No default_action Choice accept, rejectYes sequences List [sequences]No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 65536 Yes name String min: 1, max: 19 No routebase_action Choice accept, rejectYes protocol Choice ipv4, ipv6, bothNo ipv4match_entries Class [match_entries]No actions Class [actions]No
Name Type Constraint Mandatory Default Value as_path_list String Regex: ^[^&<>! "]{1,128}$ No bgp_local_preference Integer min: 0, max: 4294967295 No expanded_community_list String Regex: ^[^&<>! "]{1,128}$ No extended_community_list String Regex: ^[^&<>! "]{1,128}$ No ipv4_address_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv4_next_hop_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv6_address_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv6_next_hop_prefix_list String Regex: ^[^&<>! "]{1,128}$ No metric Integer min: 0, max: 4294967295 No omp_tag Integer min: 0, max: 4294967295 No ospf_tag Integer min: 0, max: 4294967295 No standard_community_lists List String[Regex: ^[^&<>! "]{1,128}$] No standard_community_lists_criteria Choice or, and, exactNo
Name Type Constraint Mandatory Default Value bgp_local_preference Integer min: 0, max: 4294967295 No communities List Choice[internet, local-AS, no-advertise, no-export] No communities_variable String Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ No communities_additive Boolean true, falseNo ipv4_next_hop IP No ipv6_next_hop IP No metric Integer min: 0, max: 4294967295 No metric_type Choice type1, type2No omp_tag Integer min: 0, max: 4294967295 No origin Choice igp, egp, incompleteNo ospf_tag Integer min: 0, max: 4294967295 No prepend_as_paths List Integer[min: 1, max: 4294967295] No weight Integer min: 0, max: 65535 No
Example-1: This example demonstrates how to configure a service route policy feature that accepts and assigns metric 200 to all prefixes that have OSPF tag 10. All other prefixes are accepted with the default action.
- name : route_policy_set_metric
description : " Set metric for OSPF routes "
Configure route policies that can be assigned to routing protocols or when advertising routing protocols to OMP.
Name Type Constraint Mandatory Default Value route_policies List [route_policies]No
Name Type Constraint Mandatory Default Value name String Regex: ^[^&<>! "]{1,128}$ No description String No default_action Choice accept, rejectYes sequences List [sequences]No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 65536 Yes name String min: 1, max: 19 No routebase_action Choice accept, rejectYes protocol Choice ipv4, ipv6, bothNo ipv4match_entries Class [match_entries]No actions Class [actions]No
Name Type Constraint Mandatory Default Value as_path_list String Regex: ^[^&<>! "]{1,128}$ No bgp_local_preference Integer min: 0, max: 4294967295 No expanded_community_list String Regex: ^[^&<>! "]{1,128}$ No extended_community_list String Regex: ^[^&<>! "]{1,128}$ No ipv4_address_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv4_next_hop_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv6_address_prefix_list String Regex: ^[^&<>! "]{1,128}$ No ipv6_next_hop_prefix_list String Regex: ^[^&<>! "]{1,128}$ No metric Integer min: 0, max: 4294967295 No omp_tag Integer min: 0, max: 4294967295 No ospf_tag Integer min: 0, max: 4294967295 No standard_community_lists List String[Regex: ^[^&<>! "]{1,128}$] No standard_community_lists_criteria Choice or, and, exactNo
Name Type Constraint Mandatory Default Value bgp_local_preference Integer min: 0, max: 4294967295 No communities List Choice[internet, local-AS, no-advertise, no-export] No communities_variable String Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ No communities_additive Boolean true, falseNo ipv4_next_hop IP No ipv6_next_hop IP No metric Integer min: 0, max: 4294967295 No metric_type Choice type1, type2No omp_tag Integer min: 0, max: 4294967295 No origin Choice igp, egp, incompleteNo ospf_tag Integer min: 0, max: 4294967295 No prepend_as_paths List Integer[min: 1, max: 4294967295] No weight Integer min: 0, max: 65535 No
Example-1: This example demonstrates how to configure a service route policy feature that accepts and assigns metric 200 to all prefixes that have OSPF tag 10. All other prefixes are accepted with the default action.
- name : route_policy_set_metric
description : " Set metric for OSPF routes "