OSPF Feature Template
Configure the OSPF Routing parameters for a IOS-XE WAN Edge. This feature tempalte is referenced under a VPN feature template in the cEdge Device Template. OSPF routing allows the WAN Edge to make intelligent routing decision.
Diagram
Classes
edge_feature_templates (sdwan)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ospf_templates | List | [ospf_templates] | No |
ospf_templates (sdwan.edge_feature_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[^<>!&" ]{1,128}$ | Yes | |
description | String | Yes | ||
device_types | List | Choice[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 | |
areas | List | [areas] | No | |
auto_cost_reference_bandwidth | Integer | min: 1 , max: 4294967 | No | |
auto_cost_reference_bandwidth_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
compatible_rfc1583 | Boolean | true , false | No | |
compatible_rfc1583_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
default_information_originate | Boolean | true , false | No | |
default_information_originate_always | Boolean | true , false | No | |
default_information_originate_always_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
default_information_originate_metric | Integer | min: 0 , max: 16777214 | No | |
default_information_originate_metric_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
default_information_originate_metric_type | Choice | type1 , type2 | No | |
default_information_originate_metric_type_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
distance_inter_area | Integer | min: 1 , max: 255 | No | |
distance_inter_area_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
distance_intra_area | Integer | min: 1 , max: 255 | No | |
distance_intra_area_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
distance_external | Integer | min: 1 , max: 255 | No | |
distance_external_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
max_metric_router_lsas | List | [max_metric_router_lsas] | No | |
redistributes | List | [redistributes] | No | |
route_policy | String | No | ||
route_policy_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
router_id | IP | No | ||
router_id_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
timers_spf_delay | Integer | min: 1 , max: 600000 | No | |
timers_spf_delay_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
timers_spf_initial_hold | Integer | min: 1 , max: 600000 | No | |
timers_spf_initial_hold_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
timers_spf_max_hold | Integer | min: 1 , max: 600000 | No | |
timers_spf_max_hold_variable | String | Regex: ^[^"~ $&+,]255$` | No |
areas (sdwan.edge_feature_templates.ospf_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
area_number | Integer | min: 0 , max: 4294967295 | No | |
area_number_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
area_type | Choice | stub , nssa | No | |
interfaces | List | [interfaces] | No | |
no_summary | Boolean | true , false | No | |
no_summary_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
optional | Boolean | true , false | No | |
ranges | List | [ranges] | No |
max_metric_router_lsas (sdwan.edge_feature_templates.ospf_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
time | Integer | min: 5 , max: 86400 | No | |
time_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
type | Choice | administrative , on-startup | Yes |
redistributes (sdwan.edge_feature_templates.ospf_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
nat_dia | Boolean | true , false | No | |
nat_dia_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
optional | Boolean | true , false | No | |
protocol | Choice | bgp , connected , eigrp , nat , omp , static | No | |
protocol_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
route_policy | String | No | ||
route_policy_variable | String | Regex: ^[^"~ $&+,]255$` | No |
interfaces (sdwan.edge_feature_templates.ospf_templates.areas)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
authentication_message_digest_key | String | min: 1 , max: 31 | No | |
authentication_message_digest_key_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
authentication_message_digest_key_id | Integer | min: 1 , max: 255 | No | |
authentication_message_digest_key_id_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
authentication_type | Choice | simple , message-digest , null | No | |
authentication_type_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
cost | Integer | min: 1 , max: 65535 | No | |
cost_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
dead_interval | Integer | min: 1 , max: 65535 | No | |
dead_interval_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
hello_interval | Integer | min: 1 , max: 65535 | No | |
hello_interval_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
name | String | No | ||
name_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
network_type | Choice | broadcast , point-to-point , non-broadcast , point-to-multipoint | No | |
network_type_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
passive_interface | Boolean | true , false | No | |
passive_interface_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
priority | Integer | min: 0 , max: 255 | No | |
priority_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
retransmit_interval | Integer | min: 1 , max: 65535 | No | |
retransmit_interval_variable | String | Regex: ^[^"~ $&+,]255$` | No |
ranges (sdwan.edge_feature_templates.ospf_templates.areas)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address | IP | No | ||
address_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
cost | Integer | min: 1 , max: 16777214 | No | |
cost_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
no_advertise | Boolean | true , false | No | |
no_advertise_variable | String | Regex: ^[^"~ $&+,]255$` | No |
Examples
Examples-1: OSPF template with MD5 authentication, with variable for MD5 password, variable for interfaces, variable for route policy and variable for router-id. This template allows OMP routes to be redistributed into OSPF, this is will allow service side devices to learn routes from OMP routes. Enable OSPF MD5 authentication for added security.
sdwan: edge_feature_templates: ospf_templates: - name: FT-CEDGE-OSPF-01 description: "OSPF base template" areas: - area_number: 0 interfaces: - authentication_message_digest_key_variable: ospf_area0_if_md5_key authentication_message_digest_key_id: 1 authentication_type: message-digest name_variable: ospf_area0_if_name passive_interface: false default_information_originate: true redistributes: - protocol: omp route_policy_variable: ospf_redistribute_omp_route_policy router_id_variable: ospf_router_id
Examples-2: OSPF template with MD5 authentication, with variable for MD5 password, variable for interfaces, variable for route policy and variable for router-id. This template allows OMP routes to be redistributed into OSPF, this will allow service side devices to learn routes from static routes defined on the WAN Edge. Enable OSPF MD5 authentication for added security. OSPF timers have added to tweak the failover and convergence times.
sdwan: edge_feature_templates: ospf_templates: - name: XXX_Service-InternalVPN-OSPF_v001 description: Service Side Internal VPN OSPF Template device_types: - C8000V - ISR-4331 areas: - area_number_variable: VPNx_ospf_area_number_var interfaces: - authentication_message_digest_key: password authentication_message_digest_key_id: 1 authentication_type: message-digest cost: 1 dead_interval: 20 hello_interval: 5 name_variable: VPNx_ospf_interface_var default_information_originate_metric: 100 default_information_originate_metric_type: type1 router_id_variable: VPNx_router_ospf_id_var redistributes: - protocol: static