IPI-OSPF-INTERFACE
Configure cost
Use this attribute to explicitly specify the cost of the link-state metric in a router-LSA.
Attribute Name: cost
Attribute Type: uint16
Default Value: 10
Attribute Range: 1-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<cost>1</cost> <!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf cost <1-65535>
Configure priority
Use this attribute to set the router priority to determine the designated router (DR) for the network.
Attribute Name: priority
Attribute Type: uint8
Default Value: 1
Attribute Range: 0-255
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<priority>0</priority> <!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf priority <0-255>
Configure mtu ignore
Use this attribute to configure OSPF so that it does not check the MTU size during DD (Database Description) exchange.
Attribute Name: mtu-ignore
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</mtu-ignore><!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf mtu-ignore
Configure network type
Use this attribute to set the interface network type.
Attribute Name: network-type
Attribute Type: enum (point-to-point|broadcast|non-broadcast|point-to-multipoint|point-to-multipoint non-broadcast)
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<network-type>point-to-point</network-type> <!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf network (point-to-point|broadcast|non-broadcast|point-to-multipoint|point-to-multipoint non-broadcast)
Configure disable all ospf
Use this attribute to completely disable OSPF packet processing on an interface.
Attribute Name: disable-all-ospf
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</disable-all-ospf><!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf disable all
Configure traffic engineering metric
Use this attribute to set the minimum delay in milliseconds between accepting the same LSA from neighbors.
Attribute Name: traffic-engineering-metric
Attribute Type: uint16
Attribute Range: 1-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<traffic-engineering-metric>1</traffic-engineering-metric> <!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
te-metric <1-65535>
Configure mtu
Use this attribute to set MTU size for OSPF to construct packets based on this value.
Attribute Name: mtu
Attribute Type: uint16
Default Value: 576
Attribute Range: 576-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mtu>576</mtu> <!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf mtu <576-65535>
Configure enable flood reduction
Use this attribute to enable flood reduction on an interface.
Attribute Name: enable-flood-reduction
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-flood-reduction><!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf flood-reduction
Configure enable demand circuit
Use this attribute to enable Hello Suppression and LSA Suppression sent on OSPF interface.
Attribute Name: enable-demand-circuit
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-demand-circuit><!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf demand-circuit
Configure enable bfd
Use this attribute to enable Bidirectional Forwarding Detection (BFD).
Attribute Name: enable-bfd
Attribute Type: enum (enable|disable)
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<enable-bfd>enable</enable-bfd> <!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf bfd (disable|)
Configure disable fast reroute
Use this attribute to prohibit the interface from being used as the next hop in a repair path.
Attribute Name: disable-fast-reroute
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</disable-fast-reroute><!-- operation="delete"-->
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf fast-reroute per-prefix candidate disable
Configure key
Use this attribute to set the authentication password (key).
Attribute Name: key
Attribute Type: string
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<authentication>
<config>
<key>WORD</key> <!-- operation="delete"-->
</config>
</authentication>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf authentication-key WORD
Configure authentication type
Use this attribute to configure authentication on this interface.
Attribute Name: authentication-type
Attribute Type: enum (null|simple|message-digest)
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<authentication>
<config>
<authentication-type>simple</authentication-type> <!-- operation="delete"-->
</config>
</authentication>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf authentication (null|message-digest|)
Configure message digest id
Use this attribute to set the authentication message digest key ID.
Attribute Name: message-digest-id
Attribute Type: uint8
Attribute Range: 1-255
Attribute Name: message-digest-encryption-type
Attribute Type: enum (md5)
Attribute Name: message-digest-key
Attribute Type: string
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<authentication>
<message-digests>
<message-digest> <!-- operation="delete"-->
<message-digest-id>1</message-digest-id>
<config>
<message-digest-id>1</message-digest-id>
<message-digest-encryption-type>md5</message-digest-encryption-type>
<message-digest-key>WORD</message-digest-key>
</config>
</message-digest>
</message-digests>
</authentication>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf message-digest-key <1-255> (md5) WORD
Configure filter out
Use this attribute to turn on the LSA database-filter for a particular interface. OSPF floods new LSAs over all interfaces in an area, except the interface on which the LSA arrives. This redundancy ensures robust flooding. However, too much redundancy can waste bandwidth and might lead to excessive link and CPU usage in certain topologies, resulting in destabilizing the network. To avoid this, use this attribute to block flooding of LSAs over specified interfaces.
Attribute Name: filter-out
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<database-filter>
<lsa>
<config>
</filter-out><!-- operation="delete"-->
</config>
</lsa>
</database-filter>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf database-filter all out
Configure dead interval
Use this attribute to set the interval during which the router waits to receive an OSPF hello packet from the neighbor before declaring the neighbor down.
Attribute Name: dead-interval
Attribute Type: uint16
Attribute Range: 1-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
<dead-interval>1</dead-interval> <!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf dead-interval <1-65535>
Configure hello interval
Use this attribute to specify the interval between hello packets.
Attribute Name: hello-interval
Attribute Type: uint16
Default Value: 10
Attribute Range: 1-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
<hello-interval>1</hello-interval> <!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf hello-interval <1-65535>
Configure retransmission interval
Use this attribute to specify the time between link-state advertisement (LSA) retransmissions for adjacencies belonging to the interface.
Attribute Name: retransmission-interval
Attribute Type: uint16
Default Value: 5
Attribute Range: 1-3600
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
<retransmission-interval>1</retransmission-interval> <!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf retransmit-interval <1-3600>
Configure transmit delay
Use this attribute to set the estimated time it takes to transmit a link-state-update packet on the interface.
Attribute Name: transmit-delay
Attribute Type: uint16
Default Value: 1
Attribute Range: 1-3600
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
<transmit-delay>1</transmit-delay> <!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf transmit-delay <1-3600>
Configure resync timeout
Use this attribute to configure the interval after which adjacency is reset if oob-resync is not started.
Attribute Name: resync-timeout
Attribute Type: uint16
Default Value: 40
Attribute Range: 1-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
<resync-timeout>1</resync-timeout> <!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf resync-timeout <1-65535>
Configure ldp igp sync enable
Use this attribute to enable the MPLS LDP IGP SYNC on OSPF.
Attribute Name: ldp-igp-sync-enable
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
</ldp-igp-sync-enable><!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
mpls ldp-igp sync ospf
Configure holddown timer
Use this attribute to configure the hold-down timer for which OSPF will wait for LDP to converge and advertises Max cost. When the configured time expires, OSPF starts advertising the actual cost in the Router-LSA.
Attribute Name: holddown-timer
Attribute Type: uint32
Default Value: 70000
Attribute Range: 1-2147483
Attribute Name: ldp-igp-sync-enable
Attribute Type: empty
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<timers>
<config>
</ldp-igp-sync-enable><!-- operation="delete"-->
<holddown-timer>1</holddown-timer> <!-- operation="delete"-->
</config>
</timers>
</interface>
</interfaces>
</ospfv2>
Command Syntax
mpls ldp-igp sync ospf holddown-timer <1-2147483>
Configure name
Use this attribute to explicitly specify the cost of the link-state metric in a router-LSA.
Attribute Name: cost
Attribute Type: uint16
Default Value: 10
Attribute Range: 1-65535
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<addresses>
<address>
<interface-address>A.B.C.D</interface-address>
<config>
<interface-address>A.B.C.D</interface-address>
</config>
<cost>1</cost> <!-- operation="delete"-->
</address>
</addresses>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf A.B.C.D cost <1-65535>
Configure interface address
Use this attribute to set the router priority to determine the designated router (DR) for the network.
Attribute Name: priority
Attribute Type: uint8
Default Value: 1
Attribute Range: 0-255
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<addresses>
<address>
<interface-address>A.B.C.D</interface-address>
<config>
<interface-address>A.B.C.D</interface-address>
</config>
<priority>0</priority> <!-- operation="delete"-->
</address>
</addresses>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf A.B.C.D priority <0-255>
Configure message digest encryption type
Use this attribute to set the authentication message digest key ID.
Attribute Name: message-digest-id
Attribute Type: uint8
Attribute Range: 1-255
Attribute Name: message-digest-encryption-type
Attribute Type: enum (md5)
Attribute Name: message-digest-key
Attribute Type: string
Netconf edit-config payload
<ospfv2 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ospf">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<addresses>
<address>
<interface-address>A.B.C.D</interface-address>
<config>
<interface-address>A.B.C.D</interface-address>
</config>
<authentication>
<message-digests>
<message-digest> <!-- operation="delete"-->
<message-digest-id>1</message-digest-id>
<config>
<message-digest-id>1</message-digest-id>
<message-digest-encryption-type>md5</message-digest-encryption-type>
<message-digest-key>WORD</message-digest-key>
</config>
</message-digest>
</message-digests>
</authentication>
</address>
</addresses>
</interface>
</interfaces>
</ospfv2>
Command Syntax
ip ospf A.B.C.D message-digest-key <1-255> (md5) WORD
Last modified date: 08/24/2023