Service BGP Feature
Configure the AS number, router ID, distance, maximum paths, neighbors, redistribution of protocols into BGP, hold time, and keepalive timers.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”service_profiles (sdwan.feature_profiles)
Section titled “service_profiles (sdwan.feature_profiles)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
bgp_features | List | [bgp_features] | No |
bgp_features (sdwan.feature_profiles.service_profiles)
Section titled “bgp_features (sdwan.feature_profiles.service_profiles)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[^&<>! "]{1,128}$ | No | |
description | String | No | ||
always_compare_med | Boolean | true , false | No | |
always_compare_med_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
as_number | Integer | min: 1 , max: 4294967295 | No | |
as_number_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
compare_router_id | Boolean | true , false | No | |
compare_router_id_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
deterministic_med | Boolean | true , false | No | |
deterministic_med_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
external_routes_distance | Integer | min: 1 , max: 255 | No | |
external_routes_distance_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
hold_time | Integer | min: 0 , max: 65535 | No | |
hold_time_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
internal_routes_distance | Integer | min: 1 , max: 255 | No | |
internal_routes_distance_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv4_aggregate_addresses | List | [ipv4_aggregate_addresses] | No | |
ipv4_default_originate | Boolean | true , false | No | |
ipv4_default_originate_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv4_eibgp_maximum_paths | Integer | min: 1 , max: 32 | No | |
ipv4_eibgp_maximum_paths_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv4_neighbors | List | [ipv4_neighbors] | No | |
ipv4_networks | List | [ipv4_networks] | No | |
ipv4_redistributes | List | [ipv4_redistributes] | No | |
ipv4_table_map_filter | Boolean | true , false | No | |
ipv4_table_map_filter_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv4_table_map_route_policy | String | Regex: ^[^&<>! "]{1,128}$ | No | |
ipv6_aggregate_addresses | List | [ipv6_aggregate_addresses] | No | |
ipv6_default_originate | Boolean | true , false | No | |
ipv6_default_originate_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv6_eibgp_maximum_paths | Integer | min: 1 , max: 32 | No | |
ipv6_eibgp_maximum_paths_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv6_neighbors | List | [ipv6_neighbors] | No | |
ipv6_networks | List | [ipv6_networks] | No | |
ipv6_redistributes | List | [ipv6_redistributes] | No | |
ipv6_table_map_filter | Boolean | true , false | No | |
ipv6_table_map_filter_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ipv6_table_map_route_policy | String | Regex: ^[^&<>! "]{1,128}$ | No | |
keepalive_time | Integer | min: 0 , max: 65535 | No | |
keepalive_time_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
local_routes_distance | Integer | min: 1 , max: 255 | No | |
local_routes_distance_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
missing_med_as_worst | Boolean | true , false | No | |
missing_med_as_worst_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
multipath_relax | Boolean | true , false | No | |
multipath_relax_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
propagate_as_path | Boolean | true , false | No | |
propagate_as_path_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
propagate_community | Boolean | true , false | No | |
propagate_community_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
router_id | IP | No | ||
router_id_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv4_aggregate_addresses (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv4_aggregate_addresses (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
as_set_path | Boolean | true , false | No | |
as_set_path_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
network_address | IP | No | ||
network_address_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
subnet_mask | Choice | 255.255.255.255 , 255.255.255.254 , 255.255.255.252 , 255.255.255.248 , 255.255.255.240 , 255.255.255.224 , 255.255.255.192 , 255.255.255.128 , 255.255.255.0 , 255.255.254.0 , 255.255.252.0 , 255.255.248.0 , 255.255.240.0 , 255.255.224.0 , 255.255.192.0 , 255.255.128.0 , 255.255.0.0 , 255.254.0.0 , 255.252.0.0 , 255.240.0.0 , 255.224.0.0 , 255.192.0.0 , 255.128.0.0 , 255.0.0.0 , 254.0.0.0 , 252.0.0.0 , 248.0.0.0 , 240.0.0.0 , 224.0.0.0 , 192.0.0.0 , 128.0.0.0 , 0.0.0.0 | No | |
subnet_mask_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
summary_only | Boolean | true , false | No | |
summary_only_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv4_neighbors (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv4_neighbors (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address | IP | No | ||
address_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
address_families | List | [address_families] | No | |
allowas_in_number | Integer | min: 1 , max: 10 | No | |
allowas_in_number_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
as_override | Boolean | true , false | No | |
as_override_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
description | String | min: 1 , max: 32 | No | |
description_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ebgp_multihop | Integer | min: 1 , max: 255 | No | |
ebgp_multihop_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
hold_time | Integer | min: 0 , max: 65535 | No | |
hold_time_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
keepalive_time | Integer | min: 0 , max: 65535 | No | |
keepalive_time_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
local_as | Integer | min: 1 , max: 4294967295 | No | |
local_as_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
next_hop_self | Boolean | true , false | No | |
next_hop_self_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
password | String | min: 1 , max: 25 | No | |
password_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
remote_as | Integer | min: 1 , max: 4294967295 | No | |
remote_as_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
send_community | Boolean | true , false | No | |
send_community_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
send_extended_community | Boolean | true , false | No | |
send_extended_community_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
send_label | Boolean | true , false | No | |
shutdown | Boolean | true , false | No | |
shutdown_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
source_interface | String | Regex: ^(GigabitEthernet|Loopback|TenGigabitEthernet|TwoGigabitEthernet|FortyGigabitEthernet|HundredGigE|Vlan)(([1-9]\d|\d)/){0,2}(0|[1-9]\d*)([:|\.][1-9]\d*)? | No | |
source_interface_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv4_networks (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv4_networks (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
network_address | IP | No | ||
network_address_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
subnet_mask | Choice | 255.255.255.255 , 255.255.255.254 , 255.255.255.252 , 255.255.255.248 , 255.255.255.240 , 255.255.255.224 , 255.255.255.192 , 255.255.255.128 , 255.255.255.0 , 255.255.254.0 , 255.255.252.0 , 255.255.248.0 , 255.255.240.0 , 255.255.224.0 , 255.255.192.0 , 255.255.128.0 , 255.255.0.0 , 255.254.0.0 , 255.252.0.0 , 255.240.0.0 , 255.224.0.0 , 255.192.0.0 , 255.128.0.0 , 255.0.0.0 , 254.0.0.0 , 252.0.0.0 , 248.0.0.0 , 240.0.0.0 , 224.0.0.0 , 192.0.0.0 , 128.0.0.0 , 0.0.0.0 | No | |
subnet_mask_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv4_redistributes (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv4_redistributes (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
protocol | Choice | static , connected , omp , ospf , ospfv3 , nat , eigrp | No | |
protocol_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
route_policy | String | Regex: ^[^&<>! "]{1,128}$ | No | |
translate_rib_metric | Boolean | true , false | No | |
translate_rib_metric_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv6_aggregate_addresses (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv6_aggregate_addresses (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
as_set_path | Boolean | true , false | No | |
as_set_path_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
prefix | IP | No | ||
prefix_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
summary_only | Boolean | true , false | No | |
summary_only_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv6_neighbors (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv6_neighbors (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address | IP | No | ||
address_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
address_families | List | [address_families] | No | |
allowas_in_number | Integer | min: 1 , max: 10 | No | |
allowas_in_number_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
as_override | Boolean | true , false | No | |
as_override_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
description | String | min: 1 , max: 32 | No | |
description_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ebgp_multihop | Integer | min: 1 , max: 255 | No | |
ebgp_multihop_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
hold_time | Integer | min: 0 , max: 65535 | No | |
hold_time_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
keepalive_time | Integer | min: 0 , max: 65535 | No | |
keepalive_time_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
local_as | Integer | min: 1 , max: 4294967295 | No | |
local_as_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
next_hop_self | Boolean | true , false | No | |
next_hop_self_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
password | String | min: 1 , max: 25 | No | |
password_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
remote_as | Integer | min: 1 , max: 4294967295 | No | |
remote_as_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
send_community | Boolean | true , false | No | |
send_community_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
send_extended_community | Boolean | true , false | No | |
send_extended_community_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
shutdown | Boolean | true , false | No | |
shutdown_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
source_interface | String | Regex: ^(GigabitEthernet|Loopback|TenGigabitEthernet|TwoGigabitEthernet|FortyGigabitEthernet|HundredGigE|Vlan)(([1-9]\d|\d)/){0,2}(0|[1-9]\d*)([:|\.][1-9]\d*)? | No | |
source_interface_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv6_networks (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv6_networks (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
prefix | IP | No | ||
prefix_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
ipv6_redistributes (sdwan.feature_profiles.service_profiles.bgp_features)
Section titled “ipv6_redistributes (sdwan.feature_profiles.service_profiles.bgp_features)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
protocol | Choice | static , connected , ospf , omp | No | |
protocol_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
route_policy | String | Regex: ^[^&<>! "]{1,128}$ | No | |
translate_rib_metric | Boolean | true , false | No | |
translate_rib_metric_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
address_families (sdwan.feature_profiles.service_profiles.bgp_features.ipv4_neighbors)
Section titled “address_families (sdwan.feature_profiles.service_profiles.bgp_features.ipv4_neighbors)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
family_type | Choice | ipv4-unicast , vpnv4-unicast , vpnv6-unicast | Yes | |
maximum_prefixes_reach_policy | Choice | off , restart , warning-only , disable-peer | No | off |
maximum_prefixes_number | Integer | min: 1 , max: 4294967295 | No | |
maximum_prefixes_number_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
maximum_prefixes_restart_interval | Integer | min: 1 , max: 65535 | No | |
maximum_prefixes_restart_interval_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
maximum_prefixes_threshold | Integer | min: 1 , max: 100 | No | |
maximum_prefixes_threshold_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
route_policy_in | String | Regex: ^[^&<>! "]{1,128}$ | No | |
route_policy_out | String | Regex: ^[^&<>! "]{1,128}$ | No |
address_families (sdwan.feature_profiles.service_profiles.bgp_features.ipv6_neighbors)
Section titled “address_families (sdwan.feature_profiles.service_profiles.bgp_features.ipv6_neighbors)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
family_type | Choice | ipv6-unicast , vpnv6-unicast | Yes | |
maximum_prefixes_reach_policy | Choice | off , restart , warning-only , disable-peer | No | off |
maximum_prefixes_number | Integer | min: 1 , max: 4294967295 | No | |
maximum_prefixes_number_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
maximum_prefixes_restart_interval | Integer | min: 1 , max: 65535 | No | |
maximum_prefixes_restart_interval_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
maximum_prefixes_threshold | Integer | min: 1 , max: 100 | No | |
maximum_prefixes_threshold_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
route_policy_in | String | Regex: ^[^&<>! "]{1,128}$ | No | |
route_policy_out | String | Regex: ^[^&<>! "]{1,128}$ | No |
Examples
Section titled “Examples”Example-1: The example below demonstrates how to configure a service BGP feature with AS number 65000 that redistributes connected and static routes into BGP and has one neighbor with address and remote AS defined as variables.
sdwan: feature_profiles: service_profiles: - name: service1 bgp_features: name: bgp1 as_number: 65000 ipv4_redistributes: - protocol: connected - protocol: static ipv4_neighbors: - address_variable: vpn0_bgp_ipv4_neighbor1_address remote_as_variable: vpn0_bgp_ipv4_neighbor1_remote_as