OSPF (Open Shortest Path First) is a standards-based link-state interior gateway protocol that uses Dijkstra’s shortest path first algorithm to calculate optimal routes through a network topology stored in a synchronized link-state database. It provides fast convergence, load balancing across equal-cost paths, and hierarchical network design through area-based segmentation that reduces routing overhead and improves scalability in large networks. OSPF supports advanced features including route summarization, authentication, traffic engineering extensions, and integration with MPLS for comprehensive enterprise and service provider routing solutions.
Diagram Classes routing (iosxe.devices.configuration) Name Type Constraint Mandatory Default Value ospf_processes List [ospf_processes]
No
ospf_processes (iosxe.devices.configuration.routing) Name Type Constraint Mandatory Default Value id Integer min: 1
, max: 65535
No vrf String No bfd_all_interfaces Boolean true
, false
No default_information_originate Boolean true
, false
No default_information_originate_always Boolean true
, false
No default_metric Integer min: 1
, max: 16777214
No distance Integer min: 1
, max: 255
No domain_tag Integer min: 1
, max: 4294967295
No mpls_ldp_autoconfig Boolean true
, false
No mpls_ldp_sync Boolean true
, false
No neighbors List [neighbors]
No networks List [networks]
No priority Integer min: 0
, max: 127
No router_id String No shutdown Boolean true
, false
No summary_addresses List [summary_addresses]
No areas List [areas]
No passive_interface_default Boolean true
, false
No auto_cost_reference_bandwidth Integer min: 1
, max: 4294967
No passive_interfaces List [passive_interfaces]
No
neighbors (iosxe.devices.configuration.routing.ospf_processes) Name Type Constraint Mandatory Default Value ip IP Yes priority Integer min: 0
, max: 255
No cost Integer min: 1
, max: 65535
No
networks (iosxe.devices.configuration.routing.ospf_processes) Name Type Constraint Mandatory Default Value ip IP Yes wildcard String No area String No
summary_addresses (iosxe.devices.configuration.routing.ospf_processes) Name Type Constraint Mandatory Default Value ip IP Yes mask IP No
areas (iosxe.devices.configuration.routing.ospf_processes) Name Type Constraint Mandatory Default Value id String Yes authentication_message_digest Boolean true
, false
No nssa Boolean true
, false
No nssa_default_information_originate Boolean true
, false
No nssa_default_information_originate_metric Integer min: 0
, max: 16777214
No nssa_default_information_originate_metric_type Integer min: 1
, max: 2
No nssa_no_summary Boolean true
, false
No nssa_no_redistribution Boolean true
, false
No
passive_interfaces (iosxe.devices.configuration.routing.ospf_processes) Name Type Constraint Mandatory Default Value interface_type Choice Loopback
, Vlan
, GigabitEthernet
, TwoGigabitEthernet
, FiveGigabitEthernet
, TenGigabitEthernet
, TwentyFiveGigabitEthernet
, FortyGigabitEthernet
, HundredGigabitEthernet
No interface_id String No
Examples default_information_originate : true
default_information_originate_always : true
auto_cost_reference_bandwidth : 10000
authentication_message_digest : true
nssa_default_information_originate : true
nssa_default_information_originate_metric : 100
nssa_default_information_originate_metric_type : 1
nssa_no_redistribution : true
passive_interface_default : true
- interface_type : GigabitEthernet
bfd_all_interfaces : false
auto_cost_reference_bandwidth : 1000
passive_interface_default : false