Skip to content

Router OSPF

OSPF is a link-state interior gateway protocol that uses Dijkstra’s algorithm to calculate the shortest path. It supports areas, VRFs, segment routing, fast reroute, flexible algorithms, and various redistribution options for multi-protocol environments.

Diagram
NameTypeConstraintMandatoryDefault Value
ospf_processesList[ospf_processes]No

ospf_processes (iosxr.devices.configuration.routing)

Section titled “ospf_processes (iosxr.devices.configuration.routing)”
NameTypeConstraintMandatoryDefault Value
idStringYes
mpls_traffic_eng_router_idIPNo
mpls_traffic_eng_router_id_interfaceStringNo
mpls_traffic_eng_multicast_intactBooleantrue, falseNo
mpls_traffic_eng_autoroute_exclude_route_policyStringNo
mpls_traffic_eng_igp_intactBooleantrue, falseNo
mpls_traffic_eng_ldp_sync_updateBooleantrue, falseNo
mpls_ldp_syncChoiceenableNo
mpls_ldp_sync_igp_shortcutsChoiceenableNo
mpls_ldp_auto_configBooleantrue, falseNo
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
priorityIntegermin: 0, max: 255No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
flood_reductionChoiceenable, disableNo
demand_circuitChoiceenable, disableNo
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
passiveChoiceenable, disableNo
log_adjacency_changesChoicedetail, disableNo
router_idIPNo
redistribute_connectedBooleantrue, falseNo
redistribute_connected_tagIntegermin: 0, max: 4294967295No
redistribute_connected_metric_typeIntegermin: 1, max: 2No
redistribute_connected_route_policyStringNo
redistribute_connected_metricIntegermin: 1, max: 16777214No
redistribute_connected_metric_use_rib_metricBooleantrue, falseNo
redistribute_connected_lsa_type_summaryBooleantrue, falseNo
redistribute_connected_nssa_onlyBooleantrue, falseNo
redistribute_staticBooleantrue, falseNo
redistribute_static_tagIntegermin: 0, max: 4294967295No
redistribute_static_metric_typeIntegermin: 1, max: 2No
redistribute_static_route_policyStringNo
redistribute_static_metricIntegermin: 1, max: 16777214No
redistribute_static_metric_use_rib_metricBooleantrue, falseNo
redistribute_static_lsa_type_summaryBooleantrue, falseNo
redistribute_static_nssa_onlyBooleantrue, falseNo
redistribute_bgpList[redistribute_bgp]No
redistribute_isisList[redistribute_isis]No
redistribute_ospfList[redistribute_ospf]No
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
distribute_list_out_aclStringNo
distribute_list_out_connected_aclStringNo
distribute_list_out_static_aclStringNo
distribute_list_out_bgp_asnAnyString or Integer[min: 1, max: 4294967295] or String[Regex: ^.*[\$\%]\{.*$]No
distribute_list_out_bgp_aclStringNo
distribute_list_out_ospf_processStringNo
distribute_list_out_ospf_aclStringNo
packet_sizeIntegermin: 576, max: 10000No
bfd_fast_detectChoiceenable, strict-modeNo
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 2, max: 50No
security_ttlChoiceenableNo
security_ttl_hopsIntegermin: 1, max: 254No
prefix_suppressionChoiceenableNo
default_information_originateBooleantrue, falseNo
default_information_originate_alwaysBooleantrue, falseNo
default_information_originate_metricIntegermin: 1, max: 16777214No
default_information_originate_metric_typeIntegermin: 1, max: 2No
default_information_originate_route_policyStringNo
default_metricIntegermin: 1, max: 16777214No
distance_sourcesList[distance_sources]No
distance_ospf_intra_areaIntegermin: 1, max: 255No
distance_ospf_inter_areaIntegermin: 1, max: 255No
distance_ospf_externalIntegermin: 1, max: 255No
auto_cost_reference_bandwidthIntegermin: 1, max: 2147483647No
auto_cost_disableBooleantrue, falseNo
ignore_lsa_mospfBooleantrue, falseNo
capability_opaque_disableBooleantrue, falseNo
capability_lls_disableBooleantrue, falseNo
capability_type7_preferBooleantrue, falseNo
max_metricClass[max_metric]No
max_lsaIntegermin: 1, max: 4294967294No
max_lsa_thresholdIntegermin: 1, max: 100No
max_lsa_warning_onlyBooleantrue, falseNo
max_lsa_ignore_timeIntegermin: 1, max: 17895697No
max_lsa_ignore_countIntegermin: 1, max: 4294967294No
max_lsa_reset_timeIntegermin: 2, max: 35791394No
timersClass[timers]No
nsf_intervalIntegermin: 90, max: 3600No
nsf_lifetimeIntegermin: 90, max: 1800No
nsf_flush_delay_timeIntegermin: 1, max: 3600No
nsf_ciscoBooleantrue, falseNo
nsf_cisco_enforce_globalBooleantrue, falseNo
nsf_ietfBooleantrue, falseNo
nsf_ietf_strict_lsa_checkingBooleantrue, falseNo
nsf_ietf_helper_disableBooleantrue, falseNo
address_family_ipv4_unicastBooleantrue, falseNo
maximum_interfacesIntegermin: 1, max: 4294967295No
maximum_pathsIntegermin: 1, max: 64No
maximum_redistributed_prefixesIntegermin: 1, max: 4294967295No
maximum_redistributed_prefixes_thresholdIntegermin: 1, max: 100No
maximum_redistributed_prefixes_warning_onlyBooleantrue, falseNo
queue_limit_highIntegermin: 1000, max: 30000No
queue_limit_mediumIntegermin: 1000, max: 30000No
queue_limit_lowIntegermin: 1000, max: 30000No
queue_dispatch_incomingIntegermin: 30, max: 3000No
queue_dispatch_rate_limited_lsaIntegermin: 30, max: 3000No
queue_dispatch_flush_lsaIntegermin: 30, max: 3000No
queue_dispatch_spf_lsa_limitIntegermin: 30, max: 3000No
summary_prefixesList[summary_prefixes]No
spf_prefix_priority_route_policyStringNo
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
fast_reroute_per_linkClass[fast_reroute_per_link]No
fast_reroute_disableBooleantrue, falseNo
loopback_stub_networkChoiceenable, disableNo
link_down_fast_detectBooleantrue, falseNo
weightIntegermin: 1, max: 16777214No
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
microloop_avoidanceChoiceenable, protected, segment-routingNo
microloop_avoidance_rib_update_delayIntegermin: 1, max: 600000No
segment_routingClass[segment_routing]No
affinity_mapsList[affinity_maps]No
flex_algosList[flex_algos]No
authenticationClass[authentication]No
networkChoicebroadcast, non-broadcast, point-to-point, point-to-multipointNo
external_outChoiceenable, disableNo
summary_inChoiceenable, disableNo
adjacency_stagger_disableBooleantrue, falseNo
adjacency_stagger_initial_neighborsIntegermin: 1, max: 65535No
adjacency_stagger_simultaneous_neighborsIntegermin: 1, max: 65535No
snmp_contextStringNo
snmp_trap_rate_limit_minIntegermin: 2, max: 60No
snmp_trap_rate_limit_maxIntegermin: 0, max: 300No
monitor_convergenceBooleantrue, falseNo
monitor_convergence_prefix_listStringNo
monitor_convergence_track_summary_routesBooleantrue, falseNo
monitor_convergence_track_external_routesBooleantrue, falseNo
monitor_convergence_track_ip_frrBooleantrue, falseNo
ucmpBooleantrue, falseNo
ucmp_varianceIntegermin: 101, max: 10000No
ucmp_prefix_listStringNo
ucmp_exclude_interfacesList[ucmp_exclude_interfaces]No
ucmp_delay_intervalIntegermin: 1, max: 5000No
srlg_admin_weightIntegermin: 0, max: 65535No
srlg_namesList[srlg_names]No
max_external_lsaIntegermin: 1, max: 4294967294No
max_external_lsa_thresholdIntegermin: 1, max: 100No
max_external_lsa_suppress_neighborBooleantrue, falseNo
max_external_lsa_warning_onlyBooleantrue, falseNo
exchange_timerIntegermin: 1, max: 35791394No
exchange_timer_hold_timeIntegermin: 1, max: 35791394No
exchange_timer_recovery_countIntegermin: 1, max: 4294967294No
distribute_link_stateBooleantrue, falseNo
distribute_link_state_instance_idIntegermin: 0, max: 4294967295No
distribute_link_state_throttleIntegermin: 1, max: 3600No
distribute_link_state_excl_externalBooleantrue, falseNo
distribute_link_state_allow_prefix_route_policyStringNo
distribute_link_state_follow_onIntegermin: 1, max: 3600No
nsrChoiceenable, disableNo
protocol_shutdownChoiceenable, host-mode, on-reloadNo
vrfsList[vrfs]No
areasList[areas]No

cost_fallback (iosxr.devices.configuration.routing.ospf_processes)

Section titled “cost_fallback (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
anomaly_delayClass[anomaly_delay]No

redistribute_bgp (iosxr.devices.configuration.routing.ospf_processes)

Section titled “redistribute_bgp (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
asnAnyString or Integer[min: 1, max: 4294967295] or String[Regex: ^.*[\$\%]\{.*$]Yes
tagIntegermin: 0, max: 4294967295No
metric_typeIntegermin: 1, max: 2No
route_policyStringNo
preserve_medBooleantrue, falseNo
metricIntegermin: 1, max: 16777214No
metric_use_rib_metricBooleantrue, falseNo
lsa_type_summaryBooleantrue, falseNo
nssa_onlyBooleantrue, falseNo

redistribute_isis (iosxr.devices.configuration.routing.ospf_processes)

Section titled “redistribute_isis (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
processStringYes
level_1Booleantrue, falseNo
level_2Booleantrue, falseNo
level_1_2Booleantrue, falseNo
tagIntegermin: 0, max: 4294967295No
metric_typeIntegermin: 1, max: 2No
route_policyStringNo
metricIntegermin: 1, max: 16777214No
metric_use_rib_metricBooleantrue, falseNo
lsa_type_summaryBooleantrue, falseNo
nssa_onlyBooleantrue, falseNo

redistribute_ospf (iosxr.devices.configuration.routing.ospf_processes)

Section titled “redistribute_ospf (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
processStringYes
tagIntegermin: 0, max: 4294967295No
metric_typeIntegermin: 1, max: 2No
route_policyStringNo
match_internalBooleantrue, falseNo
match_externalBooleantrue, falseNo
match_external_oneBooleantrue, falseNo
match_external_twoBooleantrue, falseNo
match_nssa_externalBooleantrue, falseNo
match_nssa_external_oneBooleantrue, falseNo
match_nssa_external_twoBooleantrue, falseNo
metricIntegermin: 1, max: 16777214No
metric_use_rib_metricBooleantrue, falseNo
lsa_type_summaryBooleantrue, falseNo
nssa_onlyBooleantrue, falseNo

distance_sources (iosxr.devices.configuration.routing.ospf_processes)

Section titled “distance_sources (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
wildcardStringYes
distanceIntegermin: 1, max: 255Yes
aclStringNo

max_metric (iosxr.devices.configuration.routing.ospf_processes)

Section titled “max_metric (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
router_lsaClass[router_lsa]No

timers (iosxr.devices.configuration.routing.ospf_processes)

Section titled “timers (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
throttleClass[throttle]No
lsaClass[lsa]No
pacingClass[pacing]No
graceful_shutdownClass[graceful_shutdown]No

summary_prefixes (iosxr.devices.configuration.routing.ospf_processes)

Section titled “summary_prefixes (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
maskAnyIP or Integer[min: 0, max: 32] or String[Regex: ^.*[\$\%]\{.*$]Yes
not_advertiseBooleantrue, falseNo
tagIntegermin: 0, max: 4294967295No

fast_reroute_per_prefix (iosxr.devices.configuration.routing.ospf_processes)

Section titled “fast_reroute_per_prefix (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
priority_limitChoicecritical, high, mediumNo
load_sharing_disableBooleantrue, falseNo
srlg_protection_weighted_globalBooleantrue, falseNo
use_candidate_onlyChoiceenable, disableNo
remote_lfa_tunnel_mpls_ldpBooleantrue, falseNo
remote_lfa_disableBooleantrue, falseNo
remote_lfa_maximum_costIntegermin: 1, max: 4294967295No
ti_lfaChoiceenable, disableNo
tiebreakerClass[tiebreaker]No
exclude_interfacesList[exclude_interfaces]No
lfa_candidate_interfacesList[lfa_candidate_interfaces]No

Section titled “fast_reroute_per_link (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
priority_limitChoicecritical, high, mediumNo
use_candidate_onlyChoiceenable, disableNo
exclude_interfacesList[exclude_interfaces]No
lfa_candidate_interfacesList[lfa_candidate_interfaces]No

segment_routing (iosxr.devices.configuration.routing.ospf_processes)

Section titled “segment_routing (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
modeChoicempls, disableNo
global_block_fromIntegermin: 16000, max: 1048575No
global_block_toIntegermin: 1, max: 1048575No
prefix_sid_map_advertise_localBooleantrue, falseNo
prefix_sid_map_receive_disableBooleantrue, falseNo
sr_preferBooleantrue, falseNo
sr_prefer_prefix_listStringNo
forwardingChoicempls, disableNo

affinity_maps (iosxr.devices.configuration.routing.ospf_processes)

Section titled “affinity_maps (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
bit_positionIntegermin: 0, max: 255No

flex_algos (iosxr.devices.configuration.routing.ospf_processes)

Section titled “flex_algos (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
numberIntegermin: 128, max: 255Yes
priorityIntegermin: 0, max: 255No
microloop_avoidance_disableBooleantrue, falseNo
prefix_metricBooleantrue, falseNo
metric_typeChoicete-metric, delayNo
advertise_definitionBooleantrue, falseNo
fast_reroute_disableBooleantrue, falseNo
affinity_exclude_anyList[affinity_exclude_any]No
affinity_include_anyList[affinity_include_any]No
affinity_include_allList[affinity_include_all]No
srlg_exclude_anyList[srlg_exclude_any]No

authentication (iosxr.devices.configuration.routing.ospf_processes)

Section titled “authentication (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
typeChoicemessage-digest, keychain, nullNo
keychainStringNo
message_digest_keysList[message_digest_keys]No
keyClass[key]No

ucmp_exclude_interfaces (iosxr.devices.configuration.routing.ospf_processes)

Section titled “ucmp_exclude_interfaces (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
nameStringYes

srlg_names (iosxr.devices.configuration.routing.ospf_processes)

Section titled “srlg_names (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
admin_weightIntegermin: 0, max: 65535No

vrfs (iosxr.devices.configuration.routing.ospf_processes)

Section titled “vrfs (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
domain_id_typeChoice0005, 0105, 0205, 8005No
domain_id_valueStringNo
domain_id_secondariesList[domain_id_secondaries]No
domain_tagIntegermin: 1, max: 4294967295No
disable_dn_bit_checkBooleantrue, falseNo
log_adjacency_changesChoicedetail, disableNo
router_idStringNo
redistribute_connectedBooleantrue, falseNo
redistribute_connected_tagIntegermin: 0, max: 4294967295No
redistribute_connected_metric_typeIntegermin: 1, max: 2No
redistribute_connected_route_policyStringNo
redistribute_connected_metricIntegermin: 1, max: 16777214No
redistribute_connected_metric_use_rib_metricBooleantrue, falseNo
redistribute_connected_lsa_type_summaryBooleantrue, falseNo
redistribute_connected_nssa_onlyBooleantrue, falseNo
redistribute_staticBooleantrue, falseNo
redistribute_static_tagIntegermin: 0, max: 4294967295No
redistribute_static_metric_typeIntegermin: 1, max: 2No
redistribute_static_route_policyStringNo
redistribute_static_metricIntegermin: 1, max: 16777214No
redistribute_static_metric_use_rib_metricBooleantrue, falseNo
redistribute_static_lsa_type_summaryBooleantrue, falseNo
redistribute_static_nssa_onlyBooleantrue, falseNo
redistribute_bgpList[redistribute_bgp]No
redistribute_isisList[redistribute_isis]No
redistribute_ospfList[redistribute_ospf]No
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
distribute_list_out_aclStringNo
distribute_list_out_connected_aclStringNo
distribute_list_out_static_aclStringNo
distribute_list_out_bgp_asnAnyString or Integer[min: 1, max: 4294967295] or String[Regex: ^.*[\$\%]\{.*$]No
distribute_list_out_bgp_aclStringNo
distribute_list_out_ospf_processStringNo
distribute_list_out_ospf_aclStringNo
packet_sizeIntegermin: 576, max: 10000No
bfd_fast_detectChoiceenable, strict-modeNo
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 2, max: 50No
security_ttlChoiceenableNo
security_ttl_hopsIntegermin: 1, max: 254No
prefix_suppressionChoiceenableNo
default_information_originateBooleantrue, falseNo
default_information_originate_alwaysBooleantrue, falseNo
default_information_originate_metricIntegermin: 1, max: 16777214No
default_information_originate_metric_typeIntegermin: 1, max: 2No
default_information_originate_route_policyStringNo
default_metricIntegermin: 1, max: 16777214No
distance_sourcesList[distance_sources]No
distance_ospf_intra_areaIntegermin: 1, max: 255No
distance_ospf_inter_areaIntegermin: 1, max: 255No
distance_ospf_externalIntegermin: 1, max: 255No
auto_cost_reference_bandwidthIntegermin: 1, max: 4294967No
auto_cost_disableBooleantrue, falseNo
ignore_lsa_mospfBooleantrue, falseNo
capability_opaque_disableBooleantrue, falseNo
capability_lls_disableBooleantrue, falseNo
capability_type7_preferBooleantrue, falseNo
max_metricClass[max_metric]No
max_lsaIntegermin: 1, max: 4294967294No
max_lsa_thresholdIntegermin: 1, max: 100No
max_lsa_warning_onlyBooleantrue, falseNo
max_lsa_ignore_timeIntegermin: 1, max: 35791394No
max_lsa_ignore_countIntegermin: 1, max: 4294967294No
max_lsa_reset_timeIntegermin: 2, max: 71582788No
timersClass[timers]No
nsf_intervalIntegermin: 90, max: 3600No
nsf_lifetimeIntegermin: 90, max: 1800No
nsf_flush_delay_timeIntegermin: 1, max: 3600No
nsf_ciscoBooleantrue, falseNo
nsf_cisco_enforce_globalBooleantrue, falseNo
nsf_ietfBooleantrue, falseNo
nsf_ietf_strict_lsa_checkingBooleantrue, falseNo
nsf_ietf_helper_disableBooleantrue, falseNo
address_family_ipv4_unicastBooleantrue, falseNo
maximum_interfacesIntegermin: 1, max: 4294967295No
maximum_pathsIntegermin: 1, max: 64No
maximum_redistributed_prefixesIntegermin: 1, max: 4294967295No
maximum_redistributed_prefixes_thresholdIntegermin: 1, max: 100No
maximum_redistributed_prefixes_warning_onlyBooleantrue, falseNo
queue_limit_highIntegermin: 1000, max: 30000No
queue_limit_mediumIntegermin: 1000, max: 30000No
queue_limit_lowIntegermin: 1000, max: 30000No
queue_dispatch_incomingIntegermin: 30, max: 3000No
queue_dispatch_rate_limited_lsaIntegermin: 30, max: 3000No
queue_dispatch_flush_lsaIntegermin: 30, max: 3000No
queue_dispatch_spf_lsa_limitIntegermin: 30, max: 3000No
summary_prefixesList[summary_prefixes]No
spf_prefix_priority_route_policyStringNo
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
fast_reroute_per_linkClass[fast_reroute_per_link]No
fast_reroute_disableBooleantrue, falseNo
loopback_stub_networkChoiceenable, disableNo
link_down_fast_detectBooleantrue, falseNo
weightIntegermin: 1, max: 16777214No
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
microloop_avoidanceChoiceenable, protected, segment-routingNo
microloop_avoidance_rib_update_delayIntegermin: 1, max: 600000No
authenticationClass[authentication]No
networkChoicebroadcast, non-broadcast, point-to-point, point-to-multipointNo
mpls_ldp_syncChoiceenableNo
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
priorityIntegermin: 0, max: 255No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
flood_reductionChoiceenable, disableNo
demand_circuitChoiceenable, disableNo
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
passiveChoiceenable, disableNo
external_outChoiceenable, disableNo
summary_inChoiceenable, disableNo
adjacency_stagger_disableBooleantrue, falseNo
adjacency_stagger_initial_neighborsIntegermin: 1, max: 65535No
adjacency_stagger_simultaneous_neighborsIntegermin: 1, max: 65535No
snmp_contextStringNo
snmp_trapBooleantrue, falseNo
ucmpBooleantrue, falseNo
ucmp_varianceIntegermin: 101, max: 10000No
ucmp_prefix_listStringNo
ucmp_exclude_interfacesList[ucmp_exclude_interfaces]No
ucmp_delay_intervalIntegermin: 1, max: 5000No
max_external_lsaIntegermin: 1, max: 4294967294No
max_external_lsa_thresholdIntegermin: 1, max: 100No
max_external_lsa_suppress_neighborBooleantrue, falseNo
max_external_lsa_warning_onlyBooleantrue, falseNo
exchange_timerIntegermin: 1, max: 35791394No
exchange_timer_hold_timeIntegermin: 1, max: 35791394No
exchange_timer_recovery_countIntegermin: 1, max: 4294967294No
areasList[areas]No

areas (iosxr.devices.configuration.routing.ospf_processes)

Section titled “areas (iosxr.devices.configuration.routing.ospf_processes)”
NameTypeConstraintMandatoryDefault Value
idAnyIP or Integer[min: 0, max: 4294967295] or String[Regex: ^.*[\$\%]\{.*$]Yes
default_costIntegermin: 1, max: 16777215No
stubBooleantrue, falseNo
stub_no_summaryBooleantrue, falseNo
nssaBooleantrue, falseNo
nssa_no_redistributionBooleantrue, falseNo
nssa_default_information_originateBooleantrue, falseNo
nssa_default_information_originate_metricIntegermin: 1, max: 16777214No
nssa_default_information_originate_metric_typeIntegermin: 1, max: 2No
nssa_no_summaryBooleantrue, falseNo
nssa_translate_type7_alwaysBooleantrue, falseNo
mpls_traffic_engBooleantrue, falseNo
mpls_ldp_syncChoiceenable, disableNo
mpls_ldp_sync_igp_shortcutsChoiceenable, disableNo
mpls_ldp_auto_configBooleantrue, falseNo
route_policy_inStringNo
route_policy_outStringNo
external_outChoiceenable, disableNo
summary_inChoiceenable, disableNo
segment_routingClass[segment_routing]No
distribute_link_state_disableBooleantrue, falseNo
distribute_link_state_excl_nssaBooleantrue, falseNo
distribute_link_state_excl_summaryBooleantrue, falseNo
authenticationClass[authentication]No
networkChoicebroadcast, non-broadcast, point-to-point, point-to-multipointNo
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
priorityIntegermin: 0, max: 255No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
flood_reductionChoiceenable, disableNo
demand_circuitChoiceenable, disableNo
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
passiveChoiceenable, disableNo
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
bfd_fast_detectChoiceenable, strict-mode, disableNo
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 2, max: 50No
security_ttlChoiceenable, disableNo
security_ttl_hopsIntegermin: 1, max: 254No
prefix_suppressionChoiceenable, disableNo
fast_reroute_disableBooleantrue, falseNo
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
fast_reroute_per_linkClass[fast_reroute_per_link]No
loopback_stub_networkChoiceenable, disableNo
link_down_fast_detectBooleantrue, falseNo
weightIntegermin: 1, max: 16777214No
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
rangesList[ranges]No
multi_area_interfacesList[multi_area_interfaces]No
virtual_linksList[virtual_links]No
interfacesList[interfaces]No

anomaly_delay (iosxr.devices.configuration.routing.ospf_processes.cost_fallback)

Section titled “anomaly_delay (iosxr.devices.configuration.routing.ospf_processes.cost_fallback)”
NameTypeConstraintMandatoryDefault Value
igp_metric_incrementIntegermin: 1, max: 65534No
igp_metric_multiplierIntegermin: 1, max: 255No
igp_metric_valueIntegermin: 1, max: 65535No
te_metric_incrementIntegermin: 1, max: 4294967294No
te_metric_multiplierIntegermin: 1, max: 255No
te_metric_valueIntegermin: 1, max: 4294967295No

router_lsa (iosxr.devices.configuration.routing.ospf_processes.max_metric)

Section titled “router_lsa (iosxr.devices.configuration.routing.ospf_processes.max_metric)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
include_stubBooleantrue, falseNo
summary_lsaBooleantrue, falseNo
summary_lsa_metricIntegermin: 1, max: 16777215No
external_lsaBooleantrue, falseNo
external_lsa_metricIntegermin: 1, max: 16777215No
on_startupClass[on_startup]No
on_switchoverClass[on_switchover]No
on_proc_restartClass[on_proc_restart]No

throttle (iosxr.devices.configuration.routing.ospf_processes.timers)

Section titled “throttle (iosxr.devices.configuration.routing.ospf_processes.timers)”
NameTypeConstraintMandatoryDefault Value
spf_initial_delayIntegermin: 1, max: 600000No
spf_second_delayIntegermin: 1, max: 600000No
spf_maximum_delayIntegermin: 1, max: 600000No
lsa_all_initial_delayIntegermin: 0, max: 600000No
lsa_all_minimum_delayIntegermin: 1, max: 600000No
lsa_all_maximum_delayIntegermin: 1, max: 600000No
fast_rerouteIntegermin: 50, max: 600000No

lsa (iosxr.devices.configuration.routing.ospf_processes.timers)

Section titled “lsa (iosxr.devices.configuration.routing.ospf_processes.timers)”
NameTypeConstraintMandatoryDefault Value
group_pacingIntegermin: 10, max: 1800No
min_arrivalIntegermin: 0, max: 600000No
refreshIntegermin: 1800, max: 2700No

pacing (iosxr.devices.configuration.routing.ospf_processes.timers)

Section titled “pacing (iosxr.devices.configuration.routing.ospf_processes.timers)”
NameTypeConstraintMandatoryDefault Value
floodIntegermin: 5, max: 100No

graceful_shutdown (iosxr.devices.configuration.routing.ospf_processes.timers)

Section titled “graceful_shutdown (iosxr.devices.configuration.routing.ospf_processes.timers)”
NameTypeConstraintMandatoryDefault Value
initial_delayIntegermin: 0, max: 90No
retain_routesIntegermin: 0, max: 90No

tiebreaker (iosxr.devices.configuration.routing.ospf_processes.fast_reroute_per_prefix)

Section titled “tiebreaker (iosxr.devices.configuration.routing.ospf_processes.fast_reroute_per_prefix)”
NameTypeConstraintMandatoryDefault Value
downstream_indexIntegermin: 1, max: 255No
downstream_disableBooleantrue, falseNo
lc_disjoint_indexIntegermin: 1, max: 255No
lc_disjoint_disableBooleantrue, falseNo
lowest_backup_metric_indexIntegermin: 1, max: 255No
lowest_backup_metric_disableBooleantrue, falseNo
node_protecting_indexIntegermin: 1, max: 255No
node_protecting_disableBooleantrue, falseNo
primary_path_indexIntegermin: 1, max: 255No
primary_path_disableBooleantrue, falseNo
secondary_path_indexIntegermin: 1, max: 255No
secondary_path_disableBooleantrue, falseNo
interface_disjoint_indexIntegermin: 1, max: 255No
interface_disjoint_disableBooleantrue, falseNo
srlg_disjoint_indexIntegermin: 1, max: 255No
srlg_disjoint_disableBooleantrue, falseNo

exclude_interfaces (iosxr.devices.configuration.routing.ospf_processes.fast_reroute_per_prefix)

Section titled “exclude_interfaces (iosxr.devices.configuration.routing.ospf_processes.fast_reroute_per_prefix)”
NameTypeConstraintMandatoryDefault Value
nameStringYes

affinity_exclude_any (iosxr.devices.configuration.routing.ospf_processes.flex_algos)

Section titled “affinity_exclude_any (iosxr.devices.configuration.routing.ospf_processes.flex_algos)”
NameTypeConstraintMandatoryDefault Value
nameStringYes

srlg_exclude_any (iosxr.devices.configuration.routing.ospf_processes.flex_algos)

Section titled “srlg_exclude_any (iosxr.devices.configuration.routing.ospf_processes.flex_algos)”
NameTypeConstraintMandatoryDefault Value
nameStringYes

message_digest_keys (iosxr.devices.configuration.routing.ospf_processes.authentication)

Section titled “message_digest_keys (iosxr.devices.configuration.routing.ospf_processes.authentication)”
NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 255Yes
algorithmChoicemd5Yes
password_typeChoice7No
passwordStringYes

key (iosxr.devices.configuration.routing.ospf_processes.authentication)

Section titled “key (iosxr.devices.configuration.routing.ospf_processes.authentication)”
NameTypeConstraintMandatoryDefault Value
password_typeChoice7No
passwordStringNo

domain_id_secondaries (iosxr.devices.configuration.routing.ospf_processes.vrfs)

Section titled “domain_id_secondaries (iosxr.devices.configuration.routing.ospf_processes.vrfs)”
NameTypeConstraintMandatoryDefault Value
typeChoice0005, 0105, 0205, 8005Yes
valueStringYes

timers (iosxr.devices.configuration.routing.ospf_processes.vrfs)

Section titled “timers (iosxr.devices.configuration.routing.ospf_processes.vrfs)”
NameTypeConstraintMandatoryDefault Value
throttleClass[throttle]No
lsaClass[lsa]No
pacingClass[pacing]No

fast_reroute_per_prefix (iosxr.devices.configuration.routing.ospf_processes.vrfs)

Section titled “fast_reroute_per_prefix (iosxr.devices.configuration.routing.ospf_processes.vrfs)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
priority_limitChoicecritical, high, mediumNo
load_sharing_disableBooleantrue, falseNo
use_candidate_onlyChoiceenable, disableNo
tiebreakerClass[tiebreaker]No
exclude_interfacesList[exclude_interfaces]No
lfa_candidate_interfacesList[lfa_candidate_interfaces]No

Section titled “fast_reroute_per_link (iosxr.devices.configuration.routing.ospf_processes.vrfs)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
priority_limitChoicecritical, high, mediumNo
use_candidate_onlyChoiceenable, disableNo
exclude_interfacesList[exclude_interfaces]No
lfa_candidate_interfacesList[lfa_candidate_interfaces]No

areas (iosxr.devices.configuration.routing.ospf_processes.vrfs)

Section titled “areas (iosxr.devices.configuration.routing.ospf_processes.vrfs)”
NameTypeConstraintMandatoryDefault Value
idAnyIP or Integer[min: 0, max: 4294967295] or String[Regex: ^.*[\$\%]\{.*$]Yes
default_costIntegermin: 1, max: 16777215No
stubBooleantrue, falseNo
stub_no_summaryBooleantrue, falseNo
nssaBooleantrue, falseNo
nssa_no_redistributionBooleantrue, falseNo
nssa_default_information_originateBooleantrue, falseNo
nssa_default_information_originate_metricIntegermin: 1, max: 16777214No
nssa_default_information_originate_metric_typeIntegermin: 1, max: 2No
nssa_no_summaryBooleantrue, falseNo
nssa_translate_type7_alwaysBooleantrue, falseNo
route_policy_inStringNo
route_policy_outStringNo
external_outChoiceenable, disableNo
summary_inChoiceenable, disableNo
authenticationClass[authentication]No
networkChoicebroadcast, non-broadcast, point-to-point, point-to-multipointNo
mpls_ldp_syncChoicedisableNo
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
priorityIntegermin: 0, max: 255No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
flood_reductionChoiceenable, disableNo
demand_circuitChoiceenable, disableNo
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
passiveChoiceenable, disableNo
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
packet_sizeIntegermin: 576, max: 10000No
bfd_fast_detectChoiceenable, strict-mode, disableNo
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 2, max: 50No
security_ttlChoiceenable, disableNo
security_ttl_hopsIntegermin: 1, max: 254No
prefix_suppressionChoiceenable, disableNo
fast_reroute_disableBooleantrue, falseNo
fast_reroute_per_linkClass[fast_reroute_per_link]No
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
loopback_stub_networkChoiceenable, disableNo
link_down_fast_detectBooleantrue, falseNo
weightIntegermin: 1, max: 16777214No
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
rangesList[ranges]No
virtual_linksList[virtual_links]No
sham_linksList[sham_links]No
interfacesList[interfaces]No

cost_fallback (iosxr.devices.configuration.routing.ospf_processes.areas)

Section titled “cost_fallback (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
anomaly_delayClass[anomaly_delay]No

fast_reroute_per_prefix (iosxr.devices.configuration.routing.ospf_processes.areas)

Section titled “fast_reroute_per_prefix (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
use_candidate_onlyChoiceenable, disableNo
remote_lfa_tunnel_mpls_ldpBooleantrue, falseNo
remote_lfa_disableBooleantrue, falseNo
remote_lfa_maximum_costIntegermin: 1, max: 4294967295No
ti_lfaChoiceenable, disableNo
tiebreakerClass[tiebreaker]No
exclude_interfacesList[exclude_interfaces]No
lfa_candidate_interfacesList[lfa_candidate_interfaces]No

Section titled “fast_reroute_per_link (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
use_candidate_onlyChoiceenable, disableNo
exclude_interfacesList[exclude_interfaces]No
lfa_candidate_interfacesList[lfa_candidate_interfaces]No
srlg_disjoint_disableBooleantrue, falseNo

ranges (iosxr.devices.configuration.routing.ospf_processes.areas)

Section titled “ranges (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
maskAnyIP or Integer[min: 0, max: 32] or String[Regex: ^.*[\$\%]\{.*$]Yes
advertiseBooleantrue, falseNo

multi_area_interfaces (iosxr.devices.configuration.routing.ospf_processes.areas)

Section titled “multi_area_interfaces (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
authenticationClass[authentication]No
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
packet_sizeIntegermin: 576, max: 10000No
fast_reroute_disableBooleantrue, falseNo
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
fast_reroute_per_linkClass[fast_reroute_per_link]No
passiveChoiceenable, disableNo
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
neighborsList[neighbors]No

Section titled “virtual_links (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
authenticationClass[authentication]No

interfaces (iosxr.devices.configuration.routing.ospf_processes.areas)

Section titled “interfaces (iosxr.devices.configuration.routing.ospf_processes.areas)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
authenticationClass[authentication]No
networkChoicebroadcast, non-broadcast, point-to-point, point-to-multipointNo
mpls_ldp_syncChoiceenable, disableNo
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
priorityIntegermin: 0, max: 255No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
flood_reductionChoiceenable, disableNo
demand_circuitChoiceenable, disableNo
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
passiveChoiceenable, disableNo
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
packet_sizeIntegermin: 576, max: 10000No
bfd_fast_detectChoiceenable, strict-mode, disableNo
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 2, max: 50No
security_ttlChoiceenable, disableNo
security_ttl_hopsIntegermin: 1, max: 254No
prefix_suppressionChoiceenable, disableNo
fast_reroute_disableBooleantrue, falseNo
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
fast_reroute_per_linkClass[fast_reroute_per_link]No
loopback_stub_networkChoiceenable, disableNo
link_down_fast_detectBooleantrue, falseNo
prefix_sidClass[prefix_sid]No
prefix_sid_strict_spfClass[prefix_sid_strict_spf]No
segment_routingClass[segment_routing]No
weightIntegermin: 1, max: 16777214No
advertise_prefix_route_policyStringNo
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
affinity_flex_algosList[affinity_flex_algos]No
neighborsList[neighbors]No
prefix_sid_algorithmsList[prefix_sid_algorithms]No
adjacency_sidsClass[adjacency_sids]No

on_startup (iosxr.devices.configuration.routing.ospf_processes.max_metric.router_lsa)

Section titled “on_startup (iosxr.devices.configuration.routing.ospf_processes.max_metric.router_lsa)”
NameTypeConstraintMandatoryDefault Value
timeIntegermin: 5, max: 86400No
wait_for_bgpBooleantrue, falseNo
include_stubBooleantrue, falseNo
summary_lsaBooleantrue, falseNo
summary_lsa_metricIntegermin: 1, max: 16777215No
external_lsaBooleantrue, falseNo
external_lsa_metricIntegermin: 1, max: 16777215No

Section titled “sham_links (iosxr.devices.configuration.routing.ospf_processes.vrfs.areas)”
NameTypeConstraintMandatoryDefault Value
local_addressIPYes
remote_addressIPYes
costIntegermin: 1, max: 65535No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
authenticationClass[authentication]No

interfaces (iosxr.devices.configuration.routing.ospf_processes.vrfs.areas)

Section titled “interfaces (iosxr.devices.configuration.routing.ospf_processes.vrfs.areas)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
authenticationClass[authentication]No
networkChoicebroadcast, non-broadcast, point-to-point, point-to-multipointNo
mpls_ldp_syncChoiceenable, disableNo
costIntegermin: 1, max: 65535No
cost_fallbackClass[cost_fallback]No
hello_intervalIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
priorityIntegermin: 0, max: 255No
retransmit_intervalIntegermin: 1, max: 65535No
transmit_delayIntegermin: 1, max: 65535No
flood_reductionChoiceenable, disableNo
demand_circuitChoiceenable, disableNo
mtu_ignoreChoiceenable, disableNo
database_filter_all_outChoiceenable, disableNo
passiveChoiceenable, disableNo
distribute_list_in_aclStringNo
distribute_list_in_route_policyStringNo
packet_sizeIntegermin: 576, max: 10000No
bfd_fast_detectChoiceenable, strict-mode, disableNo
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 2, max: 50No
security_ttlChoiceenable, disableNo
security_ttl_hopsIntegermin: 1, max: 254No
prefix_suppressionChoiceenable, disableNo
fast_reroute_disableBooleantrue, falseNo
fast_reroute_per_linkClass[fast_reroute_per_link]No
fast_reroute_per_prefixClass[fast_reroute_per_prefix]No
loopback_stub_networkChoiceenable, disableNo
link_down_fast_detectBooleantrue, falseNo
prefix_sidClass[prefix_sid]No
prefix_sid_strict_spfClass[prefix_sid_strict_spf]No
weightIntegermin: 1, max: 16777214No
advertise_prefix_route_policyStringNo
delay_normalize_intervalIntegermin: 1, max: 16777215No
delay_normalize_offsetIntegermin: 0, max: 16777215No
neighborsList[neighbors]No
prefix_sid_algorithmsList[prefix_sid_algorithms]No
adjacency_sidsClass[adjacency_sids]No

anomaly_delay (iosxr.devices.configuration.routing.ospf_processes.areas.cost_fallback)

Section titled “anomaly_delay (iosxr.devices.configuration.routing.ospf_processes.areas.cost_fallback)”
NameTypeConstraintMandatoryDefault Value
igp_metric_incrementIntegermin: 1, max: 65534No
igp_metric_multiplierIntegermin: 1, max: 255No
igp_metric_valueIntegermin: 1, max: 65535No
igp_metric_disableBooleantrue, falseNo
te_metric_incrementIntegermin: 1, max: 4294967294No
te_metric_multiplierIntegermin: 1, max: 255No
te_metric_valueIntegermin: 1, max: 4294967295No
te_metric_disableBooleantrue, falseNo

cost_fallback (iosxr.devices.configuration.routing.ospf_processes.areas.multi_area_interfaces)

Section titled “cost_fallback (iosxr.devices.configuration.routing.ospf_processes.areas.multi_area_interfaces)”
NameTypeConstraintMandatoryDefault Value
costIntegermin: 1, max: 65535No
thresholdIntegermin: 1, max: 4294967No

neighbors (iosxr.devices.configuration.routing.ospf_processes.areas.multi_area_interfaces)

Section titled “neighbors (iosxr.devices.configuration.routing.ospf_processes.areas.multi_area_interfaces)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
database_filter_all_outBooleantrue, falseNo
poll_intervalIntegermin: 0, max: 4294967295No
costIntegermin: 1, max: 65535No

cost_fallback (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)

Section titled “cost_fallback (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)”
NameTypeConstraintMandatoryDefault Value
costIntegermin: 1, max: 65535No
thresholdIntegermin: 1, max: 4294967No
anomaly_delayClass[anomaly_delay]No

prefix_sid (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)

Section titled “prefix_sid (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)”
NameTypeConstraintMandatoryDefault Value
indexClass[index]No
absoluteClass[absolute]No

neighbors (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)

Section titled “neighbors (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
database_filter_all_outBooleantrue, falseNo
priorityIntegermin: 0, max: 255No
poll_intervalIntegermin: 0, max: 65535No
costIntegermin: 1, max: 65535No

prefix_sid_algorithms (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)

Section titled “prefix_sid_algorithms (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)”
NameTypeConstraintMandatoryDefault Value
numberIntegermin: 128, max: 255Yes
indexClass[index]No
absoluteClass[absolute]No

adjacency_sids (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)

Section titled “adjacency_sids (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces)”
NameTypeConstraintMandatoryDefault Value
indexList[index]No
absoluteList[absolute]No

index (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces.prefix_sid)

Section titled “index (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces.prefix_sid)”
NameTypeConstraintMandatoryDefault Value
idIntegermin: 0, max: 1048575Yes
explicit_nullBooleantrue, falseNo
n_flag_clearBooleantrue, falseNo

index (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces.adjacency_sids)

Section titled “index (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces.adjacency_sids)”
NameTypeConstraintMandatoryDefault Value
idIntegermin: 0, max: 1048575Yes
protectedBooleantrue, falseNo
neighbor_addressStringNo

absolute (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces.adjacency_sids)

Section titled “absolute (iosxr.devices.configuration.routing.ospf_processes.areas.interfaces.adjacency_sids)”
NameTypeConstraintMandatoryDefault Value
idIntegermin: 15000, max: 1048575Yes
protectedBooleantrue, falseNo
neighbor_addressStringNo

Mask Formats

The summary_prefixes.mask and area ranges.mask fields accept both dotted-decimal and prefix-length:

  • Dotted-decimal: 255.255.255.0
  • Prefix-length: 24

Both formats are accepted in the YAML input. The value is normalized to dotted-decimal notation before being sent to the device.

Example-1: OSPF with MPLS traffic engineering, LDP sync, and basic interface settings.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
router_id: 192.168.1.1
mpls_traffic_eng_router_id_interface: Loopback0
mpls_traffic_eng_multicast_intact: true
mpls_traffic_eng_autoroute_exclude_route_policy: POLICY_IN
mpls_traffic_eng_igp_intact: true
mpls_traffic_eng_ldp_sync_update: true
mpls_ldp_sync: enable
mpls_ldp_sync_igp_shortcuts: enable
mpls_ldp_auto_config: true
cost: 5000
hello_interval: 10
dead_interval: 40
priority: 10
retransmit_interval: 1000
transmit_delay: 100
flood_reduction: enable
demand_circuit: enable
mtu_ignore: enable
database_filter_all_out: enable
passive: enable
log_adjacency_changes: detail

Example-2: OSPF with redistribution from connected, static, BGP, ISIS, and OSPF.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
router_id: 192.168.1.1
redistribute_connected: true
redistribute_connected_tag: 1
redistribute_connected_metric_type: 1
redistribute_connected_route_policy: POLICY_IN
redistribute_connected_metric: 100
redistribute_connected_lsa_type_summary: true
redistribute_connected_nssa_only: true
redistribute_static: true
redistribute_static_tag: 2
redistribute_static_metric_type: 1
redistribute_static_route_policy: POLICY_IN
redistribute_static_metric: 100
redistribute_static_lsa_type_summary: true
redistribute_static_nssa_only: true
redistribute_bgp:
- asn: 65001
tag: 3
metric_type: 1
route_policy: POLICY_IN
metric_use_rib_metric: true
lsa_type_summary: true
nssa_only: true
redistribute_isis:
- process: P1
level_1_2: true
tag: 3
metric_type: 1
route_policy: POLICY_IN
metric: 100
lsa_type_summary: true
nssa_only: true
redistribute_ospf:
- process: OSPF2
match_internal: true
match_external: true
match_nssa_external: true
tag: 4
metric_type: 1
route_policy: POLICY_IN
metric: 100
lsa_type_summary: true
nssa_only: true

Example-3: OSPF with distribute lists, BFD, and default information originate.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
router_id: 192.168.1.1
distribute_list_in_acl: ACL_IN
distribute_list_out_acl: ACL_OUT
packet_size: 1400
bfd_fast_detect: strict-mode
bfd_minimum_interval: 300
bfd_multiplier: 3
security_ttl_hops: 10
prefix_suppression: enable
default_information_originate: true
default_information_originate_metric: 100
default_information_originate_metric_type: 1
default_information_originate_route_policy: POLICY_IN
default_metric: 1000

Example-4: OSPF with segment routing, microloop avoidance, and flexible algorithms.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
router_id: 192.168.1.1
delay_normalize_interval: 2000
delay_normalize_offset: 10
microloop_avoidance: segment-routing
microloop_avoidance_rib_update_delay: 3000
segment_routing:
mode: mpls
global_block_from: 16000
global_block_to: 17000
prefix_sid_map_advertise_local: true
sr_prefer: true
sr_prefer_prefix_list: PREFIX_LIST_1
forwarding: mpls
affinity_maps:
- name: AFFINITY_1
bit_position: 1
flex_algos:
- number: 128
priority: 10
microloop_avoidance_disable: true
prefix_metric: true
metric_type: te-metric
advertise_definition: true
fast_reroute_disable: true
affinity_exclude_any:
- name: AFFINITY_1
affinity_include_all:
- name: AFFINITY_2
affinity_include_any:
- name: AFFINITY_3
srlg_exclude_any:
- name: SRLG_1

OSPF areas allow hierarchical network design, reduce routing table size, and minimize LSA flooding. This resource supports stub/NSSA areas, ranges, virtual links, multi-area interfaces, segment routing, fast reroute, MPLS TE/LDP integration, and authentication.

Example-1: Basic OSPF area with MPLS TE, LDP sync, and route policies.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 1
default_cost: 100
mpls_traffic_eng: true
mpls_ldp_sync: enable
mpls_ldp_sync_igp_shortcuts: enable
mpls_ldp_auto_config: true
route_policy_in: ROUTE_POLICY_1
route_policy_out: ROUTE_POLICY_1
external_out: enable
segment_routing:
mode: mpls
forwarding: mpls
distribute_link_state_excl_nssa: true
distribute_link_state_excl_summary: true

Example-2: OSPF area with authentication, network settings, BFD, and timers.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 1
authentication:
type: message-digest
message_digest_keys:
- id: 1
algorithm: md5
password_type: 7
password: "01100F175804"
network: point-to-point
cost: 500
cost_fallback:
anomaly_delay:
igp_metric_value: 500
te_metric_value: 600
hello_interval: 10
dead_interval: 40
priority: 10
retransmit_interval: 1000
transmit_delay: 100
flood_reduction: enable
demand_circuit: enable
mtu_ignore: enable
database_filter_all_out: enable
passive: disable
distribute_list_in_acl: ACL_1
bfd_fast_detect: strict-mode
bfd_minimum_interval: 300
bfd_multiplier: 3
security_ttl_hops: 10
prefix_suppression: enable

Example-3: OSPF area with ranges, fast reroute per-prefix, and TI-LFA.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 1
ranges:
- address: 192.168.1.0
mask: 255.255.255.0
advertise: true
- address: 192.168.2.0
mask: 255.255.255.0
advertise: false
fast_reroute_per_prefix:
enable: true
use_candidate_only: enable
ti_lfa: enable
tiebreaker:
downstream_index: 10
lc_disjoint_index: 20
lowest_backup_metric_index: 30
node_protecting_index: 40
primary_path_index: 50
secondary_path_index: 60
interface_disjoint_index: 70
srlg_disjoint_index: 80
exclude_interfaces:
- name: GigabitEthernet0/0/0/3
lfa_candidate_interfaces:
- name: GigabitEthernet0/0/0/4
link_down_fast_detect: true
weight: 1000

Example-4: OSPF area with multi-area interfaces and virtual links.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 1
multi_area_interfaces:
- name: GigabitEthernet0/0/0/1
authentication:
type: message-digest
message_digest_keys:
- id: 1
algorithm: md5
password_type: 7
password: "01100F175804"
cost: 500
cost_fallback:
cost: 600
threshold: 10000
hello_interval: 10
dead_interval: 40
retransmit_interval: 1000
transmit_delay: 100
mtu_ignore: enable
distribute_list_in_acl: ACL_1
packet_size: 1400
passive: disable
fast_reroute_per_prefix:
enable: true
use_candidate_only: enable
remote_lfa_tunnel_mpls_ldp: true
remote_lfa_maximum_cost: 500
ti_lfa: enable
tiebreaker:
downstream_index: 10
fast_reroute_per_link:
use_candidate_only: enable
virtual_links:
- address: 192.168.1.4
hello_interval: 10
dead_interval: 40
retransmit_interval: 1000
transmit_delay: 100
authentication:
type: message-digest
message_digest_keys:
- id: 1
algorithm: md5
password_type: 7
password: "01100F175804"

OSPF interfaces allow per-interface control of adjacency formation, authentication, timers, BFD, costs, fast reroute, segment routing SIDs, and neighbor relationships. This resource supports point-to-point and broadcast networks, passive interfaces, prefix suppression, and advanced features like TI-LFA and adjacency SIDs.

Example-1: Basic OSPF interface with authentication, network type, and timers.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 0
interfaces:
- name: Loopback1
authentication:
type: message-digest
message_digest_keys:
- id: 1
algorithm: md5
password_type: 7
password: "01100F175804"
network: point-to-point
cost: 20
hello_interval: 10
dead_interval: 40
priority: 100
retransmit_interval: 1000
transmit_delay: 100

Example-2: OSPF interface with BFD, security TTL, cost fallback, and prefix SID.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 0
interfaces:
- name: GigabitEthernet0/0/0/0
cost: 20
cost_fallback:
cost: 30
threshold: 100000
anomaly_delay:
igp_metric_value: 500
te_metric_value: 600
bfd_fast_detect: enable
bfd_minimum_interval: 300
bfd_multiplier: 3
security_ttl: enable
flood_reduction: enable
mtu_ignore: enable
database_filter_all_out: enable
passive: disable
distribute_list_in_acl: ACL_1
packet_size: 1400
prefix_sid:
index:
id: 100
explicit_null: true
n_flag_clear: true
prefix_sid_strict_spf:
index:
id: 300
explicit_null: true
n_flag_clear: true
link_down_fast_detect: true

Example-3: OSPF interface with fast reroute per-prefix and TI-LFA.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
areas:
- id: 0
interfaces:
- name: GigabitEthernet0/0/0/1
fast_reroute_per_prefix:
enable: true
use_candidate_only: enable
remote_lfa_tunnel_mpls_ldp: true
remote_lfa_maximum_cost: 500
ti_lfa: enable
tiebreaker:
downstream_index: 10
lc_disjoint_index: 20
lowest_backup_metric_index: 30
node_protecting_index: 40
primary_path_index: 50
secondary_path_index: 60
interface_disjoint_index: 70
srlg_disjoint_index: 80
exclude_interfaces:
- name: GigabitEthernet0/0/0/3
lfa_candidate_interfaces:
- name: GigabitEthernet0/0/0/4

OSPF VRFs allow running OSPF within a VPN Routing and Forwarding (VRF) instance for multi-tenant network environments. This resource supports domain IDs, redistribution, distribute lists, BFD, max-metric, timers, NSF, fast-reroute, authentication, and interface settings.

Example-1: OSPF VRF with domain ID, redistribution from connected, static, BGP, and ISIS.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
domain_id_type: "0005"
domain_id_value: "000000001111"
domain_id_secondaries:
- type: "0105"
value: "001122334455"
domain_tag: 65001
disable_dn_bit_check: true
router_id: 192.168.1.1
log_adjacency_changes: detail
redistribute_connected: true
redistribute_connected_tag: 1
redistribute_connected_metric_type: 1
redistribute_connected_route_policy: ROUTE_POLICY_1
redistribute_connected_metric: 100
redistribute_connected_lsa_type_summary: true
redistribute_connected_nssa_only: true
redistribute_static: true
redistribute_static_tag: 2
redistribute_static_metric_type: 1
redistribute_static_route_policy: ROUTE_POLICY_1
redistribute_static_metric_use_rib_metric: true
redistribute_static_lsa_type_summary: true
redistribute_static_nssa_only: true
redistribute_bgp:
- asn: 65001
tag: 3
metric_type: 1
route_policy: ROUTE_POLICY_1
preserve_med: true
metric: 100
lsa_type_summary: true
nssa_only: true
redistribute_isis:
- process: P1
level_1_2: true
tag: 3
metric_type: 1
route_policy: ROUTE_POLICY_1
metric: 100
lsa_type_summary: true
nssa_only: true
redistribute_ospf:
- process: OSPF2
tag: 4
metric_type: 1
route_policy: ROUTE_POLICY_1
match_internal: true
match_external_two: true
match_nssa_external_two: true
metric: 100
lsa_type_summary: true
nssa_only: true

Example-2: OSPF VRF with distribute lists, BFD, default information, and distance settings.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
router_id: 192.168.1.1
distribute_list_in_acl: ACL_1
distribute_list_out_acl: ACL_1
distribute_list_out_connected_acl: ACL_1
distribute_list_out_static_acl: ACL_1
distribute_list_out_bgp_asn: 65001
distribute_list_out_bgp_acl: ACL_1
distribute_list_out_ospf_process: OSPF2
distribute_list_out_ospf_acl: ACL_1
packet_size: 1400
bfd_fast_detect: enable
bfd_minimum_interval: 300
bfd_multiplier: 3
security_ttl: enable
prefix_suppression: enable
default_information_originate_always: true
default_information_originate_metric: 100
default_information_originate_metric_type: 1
default_information_originate_route_policy: ROUTE_POLICY_1
default_metric: 1000
distance_sources:
- address: 192.168.1.0
wildcard: 0.0.0.255
distance: 100
acl: ACL_1
distance_ospf_intra_area: 101
distance_ospf_inter_area: 102
distance_ospf_external: 103
auto_cost_reference_bandwidth: 100000
ignore_lsa_mospf: true
capability_type7_prefer: true

OSPF VRF areas allow hierarchical network design within VPN Routing and Forwarding instances. This resource supports stub/NSSA areas, ranges, virtual links, sham links, fast reroute, BFD, authentication, and network type settings.

Example-1: OSPF VRF area with route policies, authentication, and network settings.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
areas:
- id: 1
default_cost: 100
route_policy_in: ROUTE_POLICY_1
route_policy_out: ROUTE_POLICY_1
authentication:
type: message-digest
message_digest_keys:
- id: 1
algorithm: md5
password_type: 7
password: "01100F175804"
network: point-to-point
cost: 500
cost_fallback:
anomaly_delay:
igp_metric_value: 500
te_metric_value: 600
hello_interval: 10
dead_interval: 40
priority: 10
retransmit_interval: 1000
transmit_delay: 100
distribute_list_in_acl: ACL_1
packet_size: 1400

Example-2: OSPF VRF area with BFD, security TTL, fast reroute per-prefix, and timers.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
areas:
- id: 1
bfd_fast_detect: strict-mode
bfd_minimum_interval: 300
bfd_multiplier: 3
security_ttl: enable
mtu_ignore: enable
database_filter_all_out: enable
passive: disable
link_down_fast_detect: true
weight: 1000
fast_reroute_per_prefix:
enable: true
use_candidate_only: enable
tiebreaker:
downstream_index: 10
lc_disjoint_index: 20
lowest_backup_metric_index: 30
node_protecting_index: 40
primary_path_index: 50
secondary_path_index: 60
interface_disjoint_index: 70
srlg_disjoint_index: 80
exclude_interfaces:
- name: GigabitEthernet0/0/0/3
lfa_candidate_interfaces:
- name: GigabitEthernet0/0/0/4

OSPF VRF area interfaces allow per-interface control of adjacency formation, authentication, timers, BFD, costs, fast reroute, segment routing SIDs, and neighbor relationships. This resource supports point-to-point and broadcast networks, passive interfaces, prefix suppression, and advanced features like adjacency SIDs.

Example-1: Basic OSPF VRF area interface with authentication, network type, and timers.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
areas:
- id: 0
interfaces:
- name: Loopback2
authentication:
type: message-digest
message_digest_keys:
- id: 1
algorithm: md5
password_type: 7
password: "01100F175804"
network: point-to-point
cost: 20
hello_interval: 10
dead_interval: 40
priority: 100
retransmit_interval: 1000
transmit_delay: 100

Example-2: OSPF VRF area interface with BFD, security TTL, cost fallback.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
areas:
- id: 0
interfaces:
- name: GigabitEthernet0/0/0/0
cost: 20
cost_fallback:
cost: 30
threshold: 100000
anomaly_delay:
igp_metric_value: 500
te_metric_value: 600
bfd_fast_detect: strict-mode
bfd_minimum_interval: 300
bfd_multiplier: 3
security_ttl: enable
mtu_ignore: enable
passive: disable
distribute_list_in_acl: ACL_1
packet_size: 1400
link_down_fast_detect: true

Example-3: OSPF VRF area interface with fast reroute per-prefix and tiebreakers.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
routing:
ospf_processes:
- id: OSPF1
vrfs:
- name: VRF1
areas:
- id: 0
interfaces:
- name: GigabitEthernet0/0/0/1
fast_reroute_per_prefix:
enable: true
use_candidate_only: enable
tiebreaker:
downstream_index: 10
lc_disjoint_index: 20
lowest_backup_metric_index: 30
node_protecting_index: 40
primary_path_index: 50
secondary_path_index: 60
interface_disjoint_index: 70
srlg_disjoint_index: 80
exclude_interfaces:
- name: GigabitEthernet0/0/0/3
lfa_candidate_interfaces:
- name: GigabitEthernet0/0/0/4