Skip to main content

OSPF

Diagram

Classes

routing (nxos.devices.configuration)

NameTypeConstraintMandatoryDefault Value
ospf_processesList[ospf_processes]No

loopbacks (nxos.devices.configuration.interfaces)

NameTypeConstraintMandatoryDefault Value
ospfClass[ospf]No

vlans (nxos.devices.configuration.interfaces)

NameTypeConstraintMandatoryDefault Value
ospfClass[ospf]No

ethernets (nxos.devices.configuration.interfaces)

NameTypeConstraintMandatoryDefault Value
ospfClass[ospf]No

ospf_processes (nxos.devices.configuration.routing)

NameTypeConstraintMandatoryDefault Value
nameStringYes
vrfsList[vrfs]No

ospf (nxos.devices.configuration.interfaces.loopbacks)

NameTypeConstraintMandatoryDefault Value
process_nameStringYes
advertise_secondariesBooleantrue, falseNotrue
areaStringNo
bfdChoiceunspecified, enabled, disabledNo
costIntegermin: 0, max: 65535No
dead_intervalIntegermin: 0, max: 65535No
hello_intervalIntegermin: 0, max: 65535No
network_typeChoiceunspecified, p2p, bcastNo
passiveChoiceunspecified, enabled, disabledNo
priorityIntegermin: 0, max: 255No
authentication_keyStringNo
authentication_key_idIntegermin: 0, max: 255No
authentication_key_secure_modeBooleantrue, falseNo
authentication_keychainStringNo
authentication_md5_keyStringNo
authentication_md5_key_secure_modeBooleantrue, falseNo
authentication_typeChoiceunspecified, simple, md5, noneNo

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

NameTypeConstraintMandatoryDefault Value
vrfStringYes
admin_stateBooleantrue, falseNotrue
bandwidth_referenceIntegermin: 0, max: 4294967295No
banwidth_reference_unitChoicembps, gbpsNo
distanceIntegermin: 1, max: 255No
router_idStringNo
areasList[areas]No

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

NameTypeConstraintMandatoryDefault Value
areaStringYes
authentication_typeChoiceunspecified, simple, md5, noneNo
costIntegermin: 0, max: 16777215No
typeChoiceregular, stub, nssaNo

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