Skip to content
Ask AI

Ospfv2-Netconf

YANG Pathget/get-configedit-configrpc
/clear-ip-ospf——Y
/graceful-restart-prepare-ip-ospf——Y
/ospfv2-interfaces/{name}/{address}Ymerge, replace, create, delete—
/ospfv2-interfaces/{name}/{address}/authentication/{key-id}Yreplace, create, delete—
/ospfv2/{vrf-name}/{instance}Ymerge, replace, create, delete—
/ospfv2/{vrf-name}/{instance}/areas/{area-id}Ymerge, replace, create, delete—
/ospfv2/{vrf-name}/{instance}/areas/{area-id}/area-ranges/{ip-prefix}Ymerge, replace, create, delete—
/ospfv2/{vrf-name}/{instance}/distribute-route/{protocol}/{direction}Ymerge, replace, create, delete—
/ospfv2/{vrf-name}/{instance}/neighbor/{ip}Ymerge, replace, create, delete—
/ospfv2/{vrf-name}/{instance}/network/{prefix}Ymerge, replace, create, delete—
/show-ip-ospf-database——Y
/show-ip-ospf-interface——Y
/show-ip-ospf-neighbor——Y
/show-ip-ospf-route——Y
<filter type="subtree">
<top>
<ospfv2>
<ospfv2-instance>
<vrf-name>default</vrf-name>
<instance>0</instance>
</ospfv2-instance>
</ospfv2>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<ospfv2 xmlns="http://asterfusion.com/ns/yang/asternos-ospfv2">
<ospfv2-instance>
<vrf-name>default</vrf-name>
<instance>0</instance>
<enable>true</enable>
<router-id>10.250.0.181</router-id>
<default-metric>50</default-metric>
<rfc1583compatibility>true</rfc1583compatibility>
<areas>
<area>
<area-id>0.0.0.10</area-id>
</area>
<area>
<area-id>0.0.0.100</area-id>
<nssa-no-summary>true</nssa-no-summary>
<stub>true</stub>
<stub-no-summary>true</stub-no-summary>
</area>
<area>
<area-id>0.0.0.20</area-id>
</area>
<area>
<area-id>0.0.0.30</area-id>
<area-ranges>
<area-range>
<ip-prefix>1.2.3.0/24</ip-prefix>
<cost>30</cost>
<substitute>1.2.4.4/24</substitute>
<advertise>true</advertise>
</area-range>
</area-ranges>
</area>
<area>
<area-id>0.0.0.40</area-id>
<stub>true</stub>
<stub-no-summary>true</stub-no-summary>
</area>
<area>
<area-id>0.0.0.70</area-id>
<nssa-no-summary>true</nssa-no-summary>
</area>
</areas>
<network>
<prefix>1.2.3.0/24</prefix>
<area>0.0.0.10</area>
</network>
<distribute-route>
<protocol>default-route</protocol>
<direction>IMPORT</direction>
<always>true</always>
</distribute-route>
<distribute-route>
<protocol>connected</protocol>
<direction>EXPORT</direction>
<access-list>test_access_list</access-list>
</distribute-route>
<distribute-route>
<protocol>connected</protocol>
<direction>IMPORT</direction>
<route-map>test_route_map</route-map>
<metric>28</metric>
<metric-type>TYPE_1</metric-type>
</distribute-route>
<distribute-route>
<protocol>static</protocol>
<direction>EXPORT</direction>
<access-list>test_access_list</access-list>
</distribute-route>
</ospfv2-instance>
</ospfv2>
</data>
<config><top>
<ospfv2>
<ospfv2-instance operation="create">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<router-id>10.10.10.10</router-id>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance operation="merge">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<router-id>100.100.100.100</router-id>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance operation="delete">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance operation="create">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<distribute-route>
<protocol>bgp</protocol>
<direction>EXPORT</direction>
<access-list>test_list</access-list>
</distribute-route>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance>
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<distribute-route operation="merge">
<protocol>bgp</protocol>
<direction>EXPORT</direction>
<access-list>change_list</access-list>
</distribute-route>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance>
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<distribute-route operation="delete">
<protocol>bgp</protocol>
<direction>EXPORT</direction>
</distribute-route>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance>
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<network operation="create">
<prefix>1.2.3.4/24</prefix>
<area>0.0.0.10</area>
</network>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance>
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<network operation="merge">
<prefix>1.2.3.4/24</prefix>
<area>50</area>
</network>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance>
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<network operation="delete">
<prefix>1.2.3.4/24</prefix>
</network>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance operation="create">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<areas>
<area>
<area-id>0.0.0.10</area-id>
<stub>true</stub>
<stub-no-summary>true</stub-no-summary>
</area>
</areas>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance operation="merge">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<areas>
<area>
<area-id>0.0.0.10</area-id>
<stub-no-summary>true</stub-no-summary>
</area>
</areas>
</ospfv2-instance>
</ospfv2>
</top></config>
<config><top>
<ospfv2>
<ospfv2-instance operation="delete">
<vrf-name>Vrf1</vrf-name>
<instance>0</instance>
<areas>
<area>
<area-id>0.0.0.10</area-id>
</area>
</areas>
</ospfv2-instance>
</ospfv2>
</top></config>
<filter type="subtree">
<top>
<ospfv2-interfaces/>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<ospfv2-interfaces xmlns="http://asterfusion.com/ns/yang/asternos-ospfv2">
<ospfv2-interface>
<name>Ethernet3</name>
<address>0.0.0.0</address>
<vrf-name>default</vrf-name>
<area-id>0.0.0.10</area-id>
<authentication-type>TEXT</authentication-type>
<bfd-enable>true</bfd-enable>
<metric>50</metric>
<dead-interval>50</dead-interval>
<hello-multiplier>10</hello-multiplier>
<hello-interval>50</hello-interval>
<mtu-ignore>true</mtu-ignore>
<network-type>broadcast</network-type>
<priority>50</priority>
<retransmission-interval>50</retransmission-interval>
<transmit-delay>50</transmit-delay>
<passive>true</passive>
<bfd-profile>test</bfd-profile>
</ospfv2-interface>
</ospfv2-interfaces>
</top>
</data>
<config><top>
<ospfv2-interfaces operation="create">
<ospfv2-interface>
<name>Ethernet1</name>
<address>0.0.0.0</address>
<area-id>0.0.0.10</area-id>
<authentication-type>TEXT</authentication-type>
<authentication-key>123</authentication-key>
<bfd-enable>true</bfd-enable>
<metric>50</metric>
<dead-interval>50</dead-interval>
<hello-multiplier>10</hello-multiplier>
<hello-interval>50</hello-interval>
<network-type>broadcast</network-type>
<priority>50</priority>
<retransmission-interval>50</retransmission-interval>
<transmit-delay>50</transmit-delay>
<passive>true</passive>
<bfd-profile>test_file</bfd-profile>
<authentication>
<key-id>12</key-id>
<md5-key>123</md5-key>
</authentication>
<authentication>
<key-id>13</key-id>
<md5-key>1234</md5-key>
</authentication>
</ospfv2-interface>
</ospfv2-interfaces>
</top></config>
<config><top>
<ospfv2-interfaces operation="merge">
<ospfv2-interface>
<name>Ethernet3</name>
<address>0.0.0.0</address>
<area-id>0.0.0.20</area-id>
<authentication-type>MD5HMAC</authentication-type>
<authentication-key>12345</authentication-key>
<bfd-enable>false</bfd-enable>
<metric>100</metric>
<dead-interval>100</dead-interval>
<hello-multiplier>1</hello-multiplier>
<hello-interval>100</hello-interval>
<network-type>non-broadcast</network-type>
<priority>100</priority>
<retransmission-interval>100</retransmission-interval>
<transmit-delay>100</transmit-delay>
<passive>false</passive>
<bfd-profile>test_file</bfd-profile>
<authentication>
<key-id>14</key-id>
<md5-key>123456</md5-key>
</authentication>
</ospfv2-interface>
</ospfv2-interfaces>
</top></config>
<config><top>
<ospfv2-interfaces>
<ospfv2-interface operation="delete">
<name>Ethernet3</name>
<address>0.0.0.0</address>
</ospfv2-interface>
</ospfv2-interfaces>
</top></config>

Request example to get ospf neighbor via rpc

Section titled “Request example to get ospf neighbor via rpc”
<show-ip-ospf-neighbor/>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:e190d690-8a6c-454a-a82b-198943a6f056">
<data>
<neighbors>
<neighbor200.1.1.1>
<nbrState>Full/DR</nbrState>
<nbrPriority>1</nbrPriority>
<converged>Full</converged>
<role>DR</role>
<upTimeInMsec>164573</upTimeInMsec>
<routerDeadIntervalTimerDueMsec>30502</routerDeadIntervalTimerDueMsec>
<upTime>2m44s</upTime>
<deadTime>30.502s</deadTime>
<ifaceAddress>10.20.0.2</ifaceAddress>
<ifaceName>Ethernet3:10.20.0.1</ifaceName>
<linkStateRetransmissionListCounter>0</linkStateRetransmissionListCounter>
<linkStateRequestListCounter>0</linkStateRequestListCounter>
<databaseSummaryListCounter>0</databaseSummaryListCounter>
</neighbor200.1.1.1>
</neighbors>
</data>
</rpc-reply>

Request example to get ospf Interface via rpc

Section titled “Request example to get ospf Interface via rpc”
<show-ip-ospf-interface/>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:d500986b-0468-43f9-a209-8e968ea7da42">
<data>
<interfaces>
<Ethernet3>
<ifUp>True</ifUp>
<ifIndex>10</ifIndex>
<mtuBytes>9100</mtuBytes>
<bandwidthMbit>10</bandwidthMbit>
<ifFlags>&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;</ifFlags>
<ospfEnabled>True</ospfEnabled>
<interfaceIp>
<ip_10_20_0_1>
<ipAddress>10.20.0.1</ipAddress>
<ipAddressPrefixlen>24</ipAddressPrefixlen>
<ospfIfType>Broadcast</ospfIfType>
<localIfUsed>10.20.0.255</localIfUsed>
<area>0.0.0.1</area>
<routerId>100.1.1.1</routerId>
<networkType>BROADCAST</networkType>
<cost>10000</cost>
<transmitDelaySecs>1</transmitDelaySecs>
<state>Backup</state>
<priority>1</priority>
<drId>200.1.1.1</drId>
<drAddress>10.20.0.2</drAddress>
<bdrId>100.1.1.1</bdrId>
<bdrAddress>10.20.0.1</bdrAddress>
<mcastMemberOspfAllRouters>True</mcastMemberOspfAllRouters>
<mcastMemberOspfDesignatedRouters>True</mcastMemberOspfDesignatedRouters>
<timerMsecs>10000</timerMsecs>
<timerDeadSecs>40</timerDeadSecs>
<timerWaitSecs>40</timerWaitSecs>
<timerRetransmitSecs>5</timerRetransmitSecs>
<timerHelloInMsecs>4765</timerHelloInMsecs>
<nbrCount>1</nbrCount>
<nbrAdjacentCount>1</nbrAdjacentCount>
<grHelloDelaySecs>10</grHelloDelaySecs>
<prefixSuppression>False</prefixSuppression>
</ip_10_20_0_1>
</interfaceIp>
<ipAddress>10.20.0.1</ipAddress>
<ipAddressPrefixlen>24</ipAddressPrefixlen>
<ospfIfType>Broadcast</ospfIfType>
<localIfUsed>10.20.0.255</localIfUsed>
<area>0.0.0.1</area>
<routerId>100.1.1.1</routerId>
<networkType>BROADCAST</networkType>
<cost>10000</cost>
<transmitDelaySecs>1</transmitDelaySecs>
<state>Backup</state>
<priority>1</priority>
<opaqueCapable>True</opaqueCapable>
<drId>200.1.1.1</drId>
<drAddress>10.20.0.2</drAddress>
<bdrId>100.1.1.1</bdrId>
<bdrAddress>10.20.0.1</bdrAddress>
<mcastMemberOspfAllRouters>True</mcastMemberOspfAllRouters>
<mcastMemberOspfDesignatedRouters>True</mcastMemberOspfDesignatedRouters>
<timerMsecs>10000</timerMsecs>
<timerDeadSecs>40</timerDeadSecs>
<timerWaitSecs>40</timerWaitSecs>
<timerRetransmitSecs>5</timerRetransmitSecs>
<timerHelloInMsecs>4765</timerHelloInMsecs>
<nbrCount>1</nbrCount>
<nbrAdjacentCount>1</nbrAdjacentCount>
<grHelloDelaySecs>10</grHelloDelaySecs>
<prefixSuppression>False</prefixSuppression>
</Ethernet3>
</interfaces>
</data>
</rpc-reply>

Request example to get ospf database via rpc

Section titled “Request example to get ospf database via rpc”
<show-ip-ospf-database/>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:564312ed-e583-4930-a983-6213aa8ecc10">
<data>
<routerId>100.1.1.1</routerId>
<areas>
<area-id0.0.0.1>
<routerLinkStates>
<lsId>100.1.1.1</lsId>
<advertisedRouter>100.1.1.1</advertisedRouter>
<lsaAge>164</lsaAge>
<sequenceNumber>80000007</sequenceNumber>
<checksum>205</checksum>
<numOfRouterLinks>1</numOfRouterLinks>
</routerLinkStates>
<routerLinkStates>
<lsId>200.1.1.1</lsId>
<advertisedRouter>200.1.1.1</advertisedRouter>
<lsaAge>169</lsaAge>
<sequenceNumber>8000000b</sequenceNumber>
<checksum>67d1</checksum>
<numOfRouterLinks>1</numOfRouterLinks>
</routerLinkStates>
<routerLinkStatesCount>2</routerLinkStatesCount>
<networkLinkStates>
<lsId>10.20.0.2</lsId>
<advertisedRouter>200.1.1.1</advertisedRouter>
<lsaAge>170</lsaAge>
<sequenceNumber>80000003</sequenceNumber>
<checksum>73c5</checksum>
</networkLinkStates>
<networkLinkStatesCount>1</networkLinkStatesCount>
</area-id0.0.0.1>
</areas>
<asExternalLinkStates>
<lsId>100.1.1.1</lsId>
<advertisedRouter>100.1.1.1</advertisedRouter>
<lsaAge>169</lsaAge>
<sequenceNumber>80000003</sequenceNumber>
<checksum>d01d</checksum>
<metricType>E2</metricType>
<route>100.1.1.1/32</route>
<tag>0</tag>
</asExternalLinkStates>
<asExternalLinkStates>
<lsId>192.168.0.0</lsId>
<advertisedRouter>100.1.1.1</advertisedRouter>
<lsaAge>169</lsaAge>
<sequenceNumber>80000003</sequenceNumber>
<checksum>eec</checksum>
<metricType>E2</metricType>
<route>192.168.0.0/20</route>
<tag>0</tag>
</asExternalLinkStates>
<asExternalLinkStates>
<lsId>192.168.0.0</lsId>
<advertisedRouter>200.1.1.1</advertisedRouter>
<lsaAge>719</lsaAge>
<sequenceNumber>80000002</sequenceNumber>
<checksum>880f</checksum>
<metricType>E2</metricType>
<route>192.168.0.0/20</route>
<tag>0</tag>
</asExternalLinkStates>
<asExternalLinkStates>
<lsId>200.1.1.1</lsId>
<advertisedRouter>200.1.1.1</advertisedRouter>
<lsaAge>679</lsaAge>
<sequenceNumber>80000002</sequenceNumber>
<checksum>32f3</checksum>
<metricType>E2</metricType>
<route>200.1.1.1/32</route>
<tag>0</tag>
</asExternalLinkStates>
<asExternalLinkStatesCount>4</asExternalLinkStatesCount>
</data>
</rpc-reply>
<show-ip-ospf-route/>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:5f970466-eb9b-4b46-a854-77971dcf461f">
<data>
<routeType>N</routeType>
<transit>True</transit>
<cost>10000</cost>
<area>0.0.0.1</area>
<nexthops>
<ip> </ip>
<directlyAttachedTo>Ethernet3</directlyAttachedTo>
</nexthops>
<ip-prefix>10.20.0.0/24</ip-prefix>
</data>
<data>
<routeType>R </routeType>
<cost>10000</cost>
<area>0.0.0.1</area>
<routerType>asbr</routerType>
<nexthops>
<ip>10.20.0.2</ip>
<via>Ethernet3</via>
</nexthops>
<ip-prefix>200.1.1.1</ip-prefix>
</data>
<data>
<routeType>N E2</routeType>
<cost>10000</cost>
<type2cost>20</type2cost>
<tag>0</tag>
<nexthops>
<ip>10.20.0.2</ip>
<via>Ethernet3</via>
<advertisedRouter>200.1.1.1</advertisedRouter>
</nexthops>
<ip-prefix>192.168.0.0/20</ip-prefix>
</data>
<data>
<routeType>N E2</routeType>
<cost>10000</cost>
<type2cost>20</type2cost>
<tag>0</tag>
<nexthops>
<ip>10.20.0.2</ip>
<via>Ethernet3</via>
<advertisedRouter>200.1.1.1</advertisedRouter>
</nexthops>
<ip-prefix>200.1.1.1/32</ip-prefix>
</data>
</rpc-reply>

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2-interfaces
+--rw ospfv2-interface* [name address]
+--rw name cmn:ospf-interface-name
+--rw address inet:ipv4-address-no-zone
+--rw vrf-name? vrf:vrf-ref
+--rw instance? uint16
+--rw area-id? ospf-area-id
+--rw authentication-type? authentication-types
+--rw authentication-key? cmn:credential-string
+--rw bfd-enable? boolean
+--rw metric? uint16
+--rw dead-interval? uint16
+--rw hello-multiplier? uint8
+--rw hello-interval? uint16
+--rw mtu-ignore? boolean
+--rw network-type? cmn:network-types
+--rw priority? uint8
+--rw retransmission-interval? uint16
+--rw transmit-delay? uint16
+--rw passive? boolean
+--rw bfd-profile? string
+--rw authentication* [key-id]
| +--rw key-id uint8
| +--rw md5-key? cmn:credential-string
+--rw mpls-ldp-sync? boolean
+--rw mpls-ldp-sync-holddown? uint16

Table of Properties

NameRequiredType/RangeDescription
ospfv2-interfacesMPath-only node, has no configurable value.
ospfv2-interfaceMPath-only node, has no configurable value.
nameOcmn:ospf-interface-nameName of interface.
addressOinet:ipv4-address-no-zoneRestricted to just the IP address.
vrf-nameOvrf:vrf-refName of VRF.
instanceO1..65535Specific OSPF instance.
area-idOA.B.C.D
integer
Area ID for this network.
authentication-typeO”MD5HMAC"
"TEXT"
"NONE”
Authentication type.
authentication-keyOcmn:credential-stringSimple text OSPF password.
bfd-enableO”true"
"false”
Enable bfd.
metricO1..65535Cost value set to router-LSA’s metric field
dead-intervalO1..65535Interval time after which a neighbor is declared down.
hello-multiplierO2..20Set number of seconds for RouterDeadInterval timer value.
hello-intervalO1..65535Set number of seconds for HelloInterval timer value.
mtu-ignoreO”true"
"false”
Enable mtu ignore.
network-typeOcmn:network-typesSet network type.
priorityO0..255Set RouterPriority integer value.
retransmission-intervalO1..65535Set number of seconds for RxmtInterval timer value.
transmit-delayO1..65535Set number of seconds for InfTransDelay value.
passiveO”true"
"false”
Do not speak OSPF on the interface.
bfd-profileOstringspecify a BFD profile.
authenticationMPath-only node, has no configurable value.
key-idO1..255Key id
md5-keyOcmn:credential-stringThe MD5 password.
mpls-ldp-syncO”true"
"false”
Enable MPLS LDP-Sync functionality on this circuit.
Default value: True
mpls-ldp-sync-holddownO0..10000Time to wait for LDP-Sync to occur before restoring interface metric.

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2-interfaces

Top-level configuration for the OSPFv2 router

Section titled “Top-level configuration for the OSPFv2 router”

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2
+--rw ospfv2-instance* [vrf-name instance]
+--rw vrf-name vrf:vrf-ref
+--rw instance uint16
+--rw enable? boolean
+--rw router-id? yang:dotted-quad
+--rw default-metric? uint32
+--rw rfc1583compatibility? boolean
+--rw mpls-ldp-sync? boolean
+--rw mpls-ldp-sync-holddown? uint16
+--rw areas
| +--rw area* [area-id]
| +--rw area-id ospf-area-id
| +--rw nssa-no-summary? boolean
| +--rw suppress-fa? boolean
| +--rw nssa-translator-role? nssa-translator-roles
| +--rw stub? boolean
| +--rw stub-no-summary? boolean
| +--rw area-ranges
| +--rw area-range* [ip-prefix]
| +--rw ip-prefix range-address
| +--rw cost? uint32
| +--rw substitute? inet:ipv4-prefix
| +--rw advertise? boolean
+--rw neighbor* [ip]
| +--rw ip inet:ipv4-address-no-zone
| +--rw enable? boolean
| +--rw priority? uint8
| +--rw poll-interval? uint16
+--rw network* [prefix]
| +--rw prefix range-address
| +--rw area? ospf-area-id
+--rw distribute-route* [protocol direction]
+--rw protocol route-types-v4
+--rw direction direction-type
+--rw route-map? string
+--rw access-list? string
+--rw always? boolean
+--rw metric? uint32
+--rw metric-type? metric-type

Table of Properties

NameRequiredType/RangeDescription
ospfv2MPath-only node, has no configurable value.
Top-level configuration for the OSPFv2 router.
ospfv2-instanceMPath-only node, has no configurable value.
vrf-nameOvrf:vrf-refName of VRF instance.
instanceO0..65535Specific OSPF instance.
enableO”true"
"false”
Enable OSPFv2
router-idOyang:dotted-quadRouter-id for the OSPF process.
default-metricO0..16777214Metric of redistributed routes.
rfc1583compatibilityO”true"
"false”
Enable the RFC 1583 compatibility flag.
mpls-ldp-syncO”true"
"false”
Enable MPLS LDP-Sync functionality on this circuit.
Default value: True
mpls-ldp-sync-holddownO0..10000Time to wait for LDP-Sync to occur before restoring interface metric.
areasMPath-only node, has no configurable value.
areaMPath-only node, has no configurable value.
List of area objects
area-idOA.B.C.D
integer
nssa-no-summaryO”true"
"false”
Do not inject inter-area routes into nssa.
Default value: False
suppress-faO”true"
"false”
Suppress Forwarding Address generation.
Default value: False
nssa-translator-roleO”always"
"candidate"
"never”
Nssa area translator role.
stubO”true"
"false”
Config the area as stub area.
stub-no-summaryO”true"
"false”
Do not inject inter-area routes into stub
Default value: False
area-rangesMPath-only node, has no configurable value.
area-rangeMPath-only node, has no configurable value.
ip-prefixMA.B.C.D/MDesignated IP range.
costO0..16777215Set an explicit metric.
substituteOinet:ipv4-prefixSubstitute summarized prefix with another prefix.
advertiseO”true"
"false”
Summarize intra area paths from specified area into one Type-3 summary-LSA.
neighborMPath-only node, has no configurable value.
Neighbor list.
ipOinet:ipv4-address-no-zoneNeighbor IP address.
enableO”true"
"false”
Configures OSPF neighbors for NBMA and point-to-multipoint non-broadcast networks.
priorityO0..255Neighbor Priority.
poll-intervalO1..65535Dead Neighbor Polling interval.
networkMPath-only node, has no configurable value.
Enable routing on list of IP network.
prefixOA.B.C.D/MPrefix on which routing needs to be enabled.
areaOA.B.C.D
integer
Area ID for this network.
distribute-routeMPath-only node, has no configurable value.
protocolO”kernel"
"connected"
"local"
"static"
"rip"
"ospf"
"isis"
"bgp"
"eigrp"
"nhrp"
"table"
"vnc"
"vnc-direct"
"babel"
"sharp"
"openfabric"
"default-route”
Protocol to import.
directionO”IMPORT"
"EXPORT”
Export or import router.
route-mapOstringRoute map reference.
access-listOstringAccess-list filter name.
alwaysO”true"
"false”
Always advertise default route.
metricO0..16777214OSPF default metric.
metric-typeO”TYPE_1"
"TYPE_2”
Metric type (1/2).

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2

Tree Diagram

module: asternos-ospfv2
+--rw ospfv2

Tree Diagram

module: asternos-ospfv2
rpcs:
+---x clear-ip-ospf
+---w input
+---w vrf? vrf:vrf-ref
+---w interface? cmn:ospf-interface-name
+---w neighbor? inet:ipv4-address-no-zone
+---w process? empty

Table of Properties

NameRequiredType/RangeDescription
clear-ip-ospfO
vrfOvrf:vrf-refName of VRF instance.
interfaceOcmn:ospf-interface-nameClear information of specific interface.
neighborOinet:ipv4-address-no-zoneDisplay information of specific neighbor-id.
processOemptyReset OSPF Process

Tree Diagram

module: asternos-ospfv2
rpcs:
+---x graceful-restart-prepare-ip-ospf

Table of Properties

NameRequiredType/RangeDescription
graceful-restart-prepare-ip-ospfO

Tree Diagram

module: asternos-ospfv2
rpcs:
+---x show-ip-ospf-database
+---w input
| +---w instance? uint16
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ip-ospf-databaseO
instanceO1..65535Specific OSPF instance.
dataOShow ip ospf database information.

Tree Diagram

module: asternos-ospfv2
rpcs:
+---x show-ip-ospf-interface
+---w input
| +---w (options)?
| +--:(traffic)
| | +---w traffic? empty
| +--:(interface)
| +---w interface? cmn:ospf-interface-name
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ip-ospf-interfaceO
trafficOemptyDisplay interface counter information.
interfaceOcmn:ospf-interface-nameDisplay information of specific interface.
dataOShow ip ospf interface information.

Tree Diagram

module: asternos-ospfv2
rpcs:
+---x show-ip-ospf-neighbor
+---w input
| +---w vrf? vrf:vrf-ref
| +---w (options)?
| +--:(all)
| | +---w all? empty
| +--:(detail)
| | +---w detail? empty
| +--:(neighbor-id)
| | +---w neighbor-id? inet:ipv4-address-no-zone
| +--:(interface)
| +---w interface? cmn:ospf-interface-name
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ip-ospf-neighborO
vrfOvrf:vrf-refName of VRF instance.
allOemptyDisplay all neighbors information.
detailOemptyDisplay more details.
neighbor-idOinet:ipv4-address-no-zoneDisplay information of specific neighbor-id.
interfaceOcmn:ospf-interface-nameDisplay information of specific interface.
dataOShow ip ospf neighbor information.

Tree Diagram

module: asternos-ospfv2
rpcs:
+---x show-ip-ospf-route
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ip-ospf-routeO
dataOShow ip ospf route information.