OSPF
Diagram
Section titled “Diagram”Classes
Section titled “Classes”routing (nxos.devices.configuration)
Section titled “routing (nxos.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ospf_processes | List | [ospf_processes] | No |
loopbacks (nxos.devices.configuration.interfaces)
Section titled “loopbacks (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ospf | Class | [ospf] | No |
vlans (nxos.devices.configuration.interfaces)
Section titled “vlans (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ospf | Class | [ospf] | No |
ethernets (nxos.devices.configuration.interfaces)
Section titled “ethernets (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ospf | Class | [ospf] | No |
ospf_processes (nxos.devices.configuration.routing)
Section titled “ospf_processes (nxos.devices.configuration.routing)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| vrfs | List | [vrfs] | No |
ospf (nxos.devices.configuration.interfaces.loopbacks)
Section titled “ospf (nxos.devices.configuration.interfaces.loopbacks)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| process_name | String | Yes | ||
| advertise_secondaries | Boolean | true, false | No | true |
| area | String | No | ||
| bfd | Choice | unspecified, enabled, disabled | No | |
| cost | Integer | min: 0, max: 65535 | No | |
| dead_interval | Integer | min: 0, max: 65535 | No | |
| hello_interval | Integer | min: 0, max: 65535 | No | |
| network_type | Choice | unspecified, p2p, bcast | No | |
| passive | Choice | unspecified, enabled, disabled | No | |
| priority | Integer | min: 0, max: 255 | No | |
| authentication_key | String | No | ||
| authentication_key_id | Integer | min: 0, max: 255 | No | |
| authentication_key_secure_mode | Boolean | true, false | No | |
| authentication_keychain | String | No | ||
| authentication_md5_key | String | No | ||
| authentication_md5_key_secure_mode | Boolean | true, false | No | |
| authentication_type | Choice | unspecified, simple, md5, none | No |
vrfs (nxos.devices.configuration.routing.ospf_processes)
Section titled “vrfs (nxos.devices.configuration.routing.ospf_processes)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vrf | String | Yes | ||
| admin_state | Boolean | true, false | No | true |
| bandwidth_reference | Integer | min: 0, max: 4294967295 | No | |
| banwidth_reference_unit | Choice | mbps, gbps | No | |
| distance | Integer | min: 1, max: 255 | No | |
| router_id | String | No | ||
| areas | List | [areas] | No |
areas (nxos.devices.configuration.routing.ospf_processes.vrfs)
Section titled “areas (nxos.devices.configuration.routing.ospf_processes.vrfs)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| area | String | Yes | ||
| authentication_type | Choice | unspecified, simple, md5, none | No | |
| cost | Integer | min: 0, max: 16777215 | No | |
| type | Choice | regular, stub, nssa | No |
Examples
Section titled “Examples”nxos: devices: - name: Device1 configuration: routing: ospf_processes: - name: OSPF1 vrfs: - name: default router_id: 2.2.2.2 areas: - area: 0.0.0.0 interfaces: ethernets: - id: 1/14 ospf: process_name: OSPF1 area: 0.0.0.0