Skip to content

Edge BGP Feature Template

Configure the AS number, router ID, distance, maximum paths, neighbors, redistribution of protocols into BGP, hold time, and keepalive timers.

NameTypeConstraintMandatoryDefault Value
bgp_templatesList[bgp_templates]No

bgp_templates (sdwan.edge_feature_templates)

Section titled “bgp_templates (sdwan.edge_feature_templates)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[^<>!&" ]{1,128}$Yes
descriptionStringYes
device_typesListChoice[ASR-1001-HX, ASR-1001-X, ASR-1002-HX, ASR-1002-X, ASR-1006-X, C1101-4P, C1101-4PLTEP, C1101-4PLTEPW, C1109-2PLTEGB, C1109-2PLTEUS, C1109-2PLTEVZ, C1109-4PLTE2P, C1109-4PLTE2PW, C1111-4P, C1111-4PLTEEA, C1111-4PLTELA, C1111-4PW, C1111-8P, C1111-8PLTEEA, C1111-8PLTEEAW, C1111-8PLTELA, C1111-8PLTELAW, C1111-8PW, C1111X-8P, C1112-8P, C1112-8PLTEEA, C1112-8PLTEEAWE, C1112-8PWE, C1113-8P, C1113-8PLTEEA, C1113-8PLTEEAW, C1113-8PLTELA, C1113-8PLTELAWZ, C1113-8PLTEW, C1113-8PM, C1113-8PMLTEEA, C1113-8PMWE, C1113-8PW, C1116-4P, C1116-4PLTEEA, C1116-4PLTEEAWE, C1116-4PWE, C1117-4P, C1117-4PLTEEA, C1117-4PLTEEAW, C1117-4PLTELA, C1117-4PLTELAWZ, C1117-4PM, C1117-4PMLTEEA, C1117-4PMLTEEAWE, C1117-4PMWE, C1117-4PW, C1118-8P, C1121-4P, C1121-4PLTEP, C1121-8P, C1121-8PLTEP, C1121-8PLTEPW, C1121X-8P, C1121X-8PLTEP, C1121X-8PLTEPW, C1126-8PLTEP, C1126X-8PLTEP, C1127-8PLTEP, C1127-8PMLTEP, C1127X-8PLTEP, C1127X-8PMLTEP, C1128-8PLTEP, C1131-8PLTEPW, C1131-8PW, C1131X-8PLTEPW, C1131X-8PW, C1161-8P, C1161-8PLTEP, C1161X-8P, C1161X-8PLTEP, C8000V, C8200-1N-4T, C8200L-1N-4T, C8300-1N1S-4T2X, C8300-1N1S-6T, C8300-2N2S-4T2X, C8300-2N2S-6T, C8500-12X, C8500-12X4QC, C8500-20X6C, C8500L-8S4X, IR-1101, IR-1821, IR-1831, IR-1833, IR-1835, IR-8140H, IR-8140H-P, IR-8340, ISR-4221, ISR-4221X, ISR-4321, ISR-4331, ISR-4351, ISR-4431, ISR-4451-X, ISR-4461, ISR1100-4G-XE, ISR1100-4GLTEGB-XE, ISR1100-4GLTENA-XE, ISR1100-6G-XE, ISR1100X-4G-XE, ISR1100X-6G-XE]No
always_compare_medBooleantrue, falseNo
always_compare_med_variableStringRegex: ^[^"~`$&+,]{1,255}$No
as_numberIntegermin: 1, max: 4294967295No
as_number_variableStringRegex: ^[^"~`$&+,]{1,255}$No
compare_router_idBooleantrue, falseNo
compare_router_id_variableStringRegex: ^[^"~`$&+,]{1,255}$No
deterministic_medBooleantrue, falseNo
deterministic_med_variableStringRegex: ^[^"~`$&+,]{1,255}$No
distance_externalIntegermin: 1, max: 255No
distance_external_variableStringRegex: ^[^"~`$&+,]{1,255}$No
distance_internalIntegermin: 1, max: 255No
distance_internal_variableStringRegex: ^[^"~`$&+,]{1,255}$No
distance_localIntegermin: 1, max: 255No
distance_local_variableStringRegex: ^[^"~`$&+,]{1,255}$No
holdtimeIntegermin: 0, max: 65535No
holdtime_variableStringRegex: ^[^"~`$&+,]{1,255}$No
ipv4_address_familyClass[ipv4_address_family]No
ipv6_address_familyClass[ipv6_address_family]No
keepaliveIntegermin: 0, max: 65535No
keepalive_variableStringRegex: ^[^"~`$&+,]{1,255}$No
missing_med_as_worstBooleantrue, falseNo
missing_med_as_worst_variableStringRegex: ^[^"~`$&+,]{1,255}$No
mpls_interfacesList[mpls_interfaces]No
multipath_relaxBooleantrue, falseNo
multipath_relax_variableStringRegex: ^[^"~`$&+,]{1,255}$No
propagate_as_pathBooleantrue, falseNo
propagate_as_path_variableStringRegex: ^[^"~`$&+,]{1,255}$No
propagate_communityBooleantrue, falseNo
propagate_community_variableStringRegex: ^[^"~`$&+,]{1,255}$No
router_idIPNo
router_id_variableStringRegex: ^[^"~`$&+,]{1,255}$No
shutdownBooleantrue, falseNo
shutdown_variableStringRegex: ^[^"~`$&+,]{1,255}$No

ipv4_address_family (sdwan.edge_feature_templates.bgp_templates)

Section titled “ipv4_address_family (sdwan.edge_feature_templates.bgp_templates)”
NameTypeConstraintMandatoryDefault Value
default_information_originateBooleantrue, falseNo
default_information_originate_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_pathsIntegermin: 1, max: 32No
maximum_paths_variableStringRegex: ^[^"~`$&+,]{1,255}$No
aggregate_addressesList[aggregate_addresses]No
neighborsList[neighbors]No
networksList[networks]No
redistributesList[redistributes]No
route_targetsList[route_targets]No
table_map_policyStringNo
table_map_policy_variableStringRegex: ^[^"~`$&+,]{1,255}$No
table_map_filterBooleantrue, falseNo
table_map_filter_variableStringRegex: ^[^"~`$&+,]{1,255}$No

ipv6_address_family (sdwan.edge_feature_templates.bgp_templates)

Section titled “ipv6_address_family (sdwan.edge_feature_templates.bgp_templates)”
NameTypeConstraintMandatoryDefault Value
default_information_originateBooleantrue, falseNo
default_information_originate_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_pathsIntegermin: 1, max: 32No
maximum_paths_variableStringRegex: ^[^"~`$&+,]{1,255}$No
aggregate_addressesList[aggregate_addresses]No
neighborsList[neighbors]No
networksList[networks]No
redistributesList[redistributes]No
route_targetsList[route_targets]No
table_map_policyStringNo
table_map_policy_variableStringRegex: ^[^"~`$&+,]{1,255}$No
table_map_filterBooleantrue, falseNo
table_map_filter_variableStringRegex: ^[^"~`$&+,]{1,255}$No

mpls_interfaces (sdwan.edge_feature_templates.bgp_templates)

Section titled “mpls_interfaces (sdwan.edge_feature_templates.bgp_templates)”
NameTypeConstraintMandatoryDefault Value
interface_nameStringNo
interface_name_variableStringRegex: ^[^"~`$&+,]{1,255}$No

aggregate_addresses (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)

Section titled “aggregate_addresses (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)”
NameTypeConstraintMandatoryDefault Value
prefixIPNo
prefix_variableStringRegex: ^[^"~`$&+,]{1,255}$No
as_set_pathBooleantrue, falseNo
as_set_path_variableStringRegex: ^[^"~`$&+,]{1,255}$No
summary_onlyBooleantrue, falseNo
summary_only_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

neighbors (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)

Section titled “neighbors (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)”
NameTypeConstraintMandatoryDefault Value
addressIPNo
address_variableStringRegex: ^[^"~`$&+,]{1,255}$No
address_familiesList[address_families]No
allow_as_inIntegermin: 1, max: 10No
allow_as_in_variableStringRegex: ^[^"~`$&+,]{1,255}$No
as_overrideBooleantrue, falseNo
as_override_variableStringRegex: ^[^"~`$&+,]{1,255}$No
descriptionStringmin: 1, max: 32No
description_variableStringRegex: ^[^"~`$&+,]{1,255}$No
ebgp_multihopIntegermin: 1, max: 255No
ebgp_multihop_variableStringRegex: ^[^"~`$&+,]{1,255}$No
next_hop_selfBooleantrue, falseNo
next_hop_self_variableStringRegex: ^[^"~`$&+,]{1,255}$No
passwordStringstarts_with: $CRYPT_CLUSTER$, min: 1, max: 128No
password_variableStringRegex: ^[^"~`$&+,]{1,255}$No
remote_asIntegermin: 1, max: 4294967295No
remote_as_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_communityBooleantrue, falseNo
send_community_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_extended_communityBooleantrue, falseNo
send_extended_community_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_labelBooleantrue, falseNo
send_label_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_label_explicit_nullBooleantrue, falseNo
send_label_explicit_null_variableStringRegex: ^[^"~`$&+,]{1,255}$No
shutdownBooleantrue, falseNo
shutdown_variableStringRegex: ^[^"~`$&+,]{1,255}$No
source_interfaceStringNo
source_interface_variableStringRegex: ^[^"~`$&+,]{1,255}$No
keepaliveIntegermin: 0, max: 65535No
keepalive_variableStringRegex: ^[^"~`$&+,]{1,255}$No
holdtimeIntegermin: 0, max: 65535No
holdtime_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

networks (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)

Section titled “networks (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)”
NameTypeConstraintMandatoryDefault Value
prefixIPNo
prefix_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

redistributes (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)

Section titled “redistributes (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)”
NameTypeConstraintMandatoryDefault Value
protocolChoiceconnected, eigrp, nat, omp, ospf, ospfv3, staticNo
protocol_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policyStringNo
route_policy_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

redistributes (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)

Section titled “redistributes (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)”
NameTypeConstraintMandatoryDefault Value
protocolChoiceconnected, eigrp, nat, omp, ospf, ospfv3, staticYes
protocol_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policyStringNo
route_policy_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

route_targets (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)

Section titled “route_targets (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family)”
NameTypeConstraintMandatoryDefault Value
importsList[imports]No
exportsList[exports]No
optionalBooleantrue, falseNo
vpn_idIntegermin: 1, max: 65527No
vpn_id_variableStringRegex: ^[^"~`$&+,]{1,255}$No

aggregate_addresses (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)

Section titled “aggregate_addresses (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)”
NameTypeConstraintMandatoryDefault Value
prefixIPNo
prefix_variableStringRegex: ^[^"~`$&+,]{1,255}$No
as_set_pathBooleantrue, falseNo
as_set_path_variableStringRegex: ^[^"~`$&+,]{1,255}$No
summary_onlyBooleantrue, falseNo
summary_only_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

neighbors (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)

Section titled “neighbors (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)”
NameTypeConstraintMandatoryDefault Value
addressIPNo
address_variableStringRegex: ^[^"~`$&+,]{1,255}$No
address_familiesList[address_families]No
allow_as_inIntegermin: 1, max: 10No
allow_as_in_variableStringRegex: ^[^"~`$&+,]{1,255}$No
as_overrideBooleantrue, falseNo
as_override_variableStringRegex: ^[^"~`$&+,]{1,255}$No
descriptionStringmin: 1, max: 32No
description_variableStringRegex: ^[^"~`$&+,]{1,255}$No
ebgp_multihopIntegermin: 1, max: 255No
ebgp_multihop_variableStringRegex: ^[^"~`$&+,]{1,255}$No
next_hop_selfBooleantrue, falseNo
next_hop_self_variableStringRegex: ^[^"~`$&+,]{1,255}$No
passwordStringstarts_with: $CRYPT_CLUSTER$, min: 1, max: 128No
password_variableStringRegex: ^[^"~`$&+,]{1,255}$No
remote_asIntegermin: 1, max: 4294967295No
remote_as_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_communityBooleantrue, falseNo
send_community_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_extended_communityBooleantrue, falseNo
send_extended_community_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_labelBooleantrue, falseNo
send_label_variableStringRegex: ^[^"~`$&+,]{1,255}$No
send_label_explicit_nullBooleantrue, falseNo
send_label_explicit_null_variableStringRegex: ^[^"~`$&+,]{1,255}$No
shutdownBooleantrue, falseNo
shutdown_variableStringRegex: ^[^"~`$&+,]{1,255}$No
source_interfaceStringNo
source_interface_variableStringRegex: ^[^"~`$&+,]{1,255}$No
keepaliveIntegermin: 0, max: 65535No
keepalive_variableStringRegex: ^[^"~`$&+,]{1,255}$No
holdtimeIntegermin: 0, max: 65535No
holdtime_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

networks (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)

Section titled “networks (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)”
NameTypeConstraintMandatoryDefault Value
prefixIPNo
prefix_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

redistributes (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)

Section titled “redistributes (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)”
NameTypeConstraintMandatoryDefault Value
protocolChoiceconnected, eigrp, nat, omp, ospf, ospfv3, staticNo
protocol_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policyStringNo
route_policy_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

redistributes (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)

Section titled “redistributes (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)”
NameTypeConstraintMandatoryDefault Value
protocolChoiceconnected, eigrp, nat, omp, ospf, ospfv3, staticYes
protocol_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policyStringNo
route_policy_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

route_targets (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)

Section titled “route_targets (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family)”
NameTypeConstraintMandatoryDefault Value
importsList[imports]No
exportsList[exports]No
optionalBooleantrue, falseNo
vpn_idIntegermin: 1, max: 65527No
vpn_id_variableStringRegex: ^[^"~`$&+,]{1,255}$No

address_families (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family.neighbors)

Section titled “address_families (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family.neighbors)”
NameTypeConstraintMandatoryDefault Value
family_typeChoiceipv4-unicast, vpnv4-unicast, vpnv6-unicastYes
maximum_prefixesIntegermin: 1, max: 4294967295No
maximum_prefixes_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_prefixes_restartIntegermin: 1, max: 65535No
maximum_prefixes_restart_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_prefixes_thresholdIntegermin: 0, max: 100No
maximum_prefixes_threshold_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_prefixes_warning_onlyBooleantrue, falseNo
maximum_prefixes_warning_only_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policy_inStringNo
route_policy_in_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policy_outStringNo
route_policy_out_variableStringRegex: ^[^"~`$&+,]{1,255}$No
shutdownBooleantrue, falseNo
shutdown_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

imports (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family.route_targets)

Section titled “imports (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family.route_targets)”
NameTypeConstraintMandatoryDefault Value
asn_ipStringRegex: ^([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7]):([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7])$No
asn_ip_variableStringRegex: ^[^"~`$&+,]{1,255}$No

exports (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family.route_targets)

Section titled “exports (sdwan.edge_feature_templates.bgp_templates.ipv4_address_family.route_targets)”
NameTypeConstraintMandatoryDefault Value
asn_ipStringRegex: ^([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7]):([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7])$No
asn_ip_variableStringRegex: ^[^"~`$&+,]{1,255}$No

address_families (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family.neighbors)

Section titled “address_families (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family.neighbors)”
NameTypeConstraintMandatoryDefault Value
family_typeChoiceipv6-unicastYes
maximum_prefixesIntegermin: 1, max: 4294967295No
maximum_prefixes_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_prefixes_restartIntegermin: 1, max: 65535No
maximum_prefixes_restart_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_prefixes_thresholdIntegermin: 0, max: 100No
maximum_prefixes_threshold_variableStringRegex: ^[^"~`$&+,]{1,255}$No
maximum_prefixes_warning_onlyBooleantrue, falseNo
maximum_prefixes_warning_only_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policy_inStringNo
route_policy_in_variableStringRegex: ^[^"~`$&+,]{1,255}$No
route_policy_outStringNo
route_policy_out_variableStringRegex: ^[^"~`$&+,]{1,255}$No
shutdownBooleantrue, falseNo
shutdown_variableStringRegex: ^[^"~`$&+,]{1,255}$No
optionalBooleantrue, falseNo

imports (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family.route_targets)

Section titled “imports (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family.route_targets)”
NameTypeConstraintMandatoryDefault Value
asn_ipStringRegex: ^([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7]):([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7])$No
asn_ip_variableStringRegex: ^[^"~`$&+,]{1,255}$No

exports (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family.route_targets)

Section titled “exports (sdwan.edge_feature_templates.bgp_templates.ipv6_address_family.route_targets)”
NameTypeConstraintMandatoryDefault Value
asn_ipStringRegex: ^([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7]):([0-9]|[1-9][0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-7])$No
asn_ip_variableStringRegex: ^[^"~`$&+,]{1,255}$No

Example-1: The following example demonstrates how to configure a BGP router with an ASN, specifically targeting the IPv4 unicast address family within a VRF. You can add multiple neighbors under the “neighbors” section. The configuration also includes advertising the network IP prefix and redistributing OMP routes into BGP. A route map policy can be applied for detailed route management. Additionally, the BGP timers are set to a keepalive interval of 1 second and a hold time of 3 seconds, facilitating swift detection of neighbor issues and ensuring network stability.

sdwan:
edge_feature_templates:
bgp_templates:
- name: FT-EDGE-VPN13-BGP-01
description: VPN 13 BGP
ipv4_address_family:
default_information_originate: false
maximum_paths_variable: vpn13_bgp_ipv4_maximum_paths
redistributes:
- protocol: omp
optional: false
route_policy_variable: vpn13_bgp_ipv4_rm_omp_to_bgp
neighbors:
- address_variable: vpn13_bgp_ipv4_neighbor1_address
address_families:
- family_type: ipv4-unicast
maximum_prefixes: 1000
next_hop_self: false
password_variable: vpn13_bgp_ipv4_neighbor1_password
remote_as_variable: vpn13_bgp_ipv4_neighbor1_remote_as
shutdown_variable: vpn13_bgp_ipv4_neighbor1_shutdown
optional: true
networks:
- prefix_variable: vpn13_bgp_ipv4_network1_prefix
optional: true
as_number_variable: vpn13_bgp_as_number
shutdown_variable: vpn13_bgp_shutdown
holdtime: 3
keepalive: 1