跳转到内容
Ask AI

Ospfv3-Netconf

此内容尚不支持你的语言。

YANG Pathget/get-configedit-configrpc
/ospfv3-interfaces/{name}Ymerge, replace, create, delete—
/ospfv3/{vrf-name}Ymerge, replace, create, delete—
/ospfv3/{vrf-name}/areas/{area-id}Ymerge, replace, create, delete—
/ospfv3/{vrf-name}/areas/{area-id}/area-ranges/{ip-prefix}Ymerge, replace, create, delete—
/ospfv3/{vrf-name}/distribute-route/{protocol}Ymerge, replace, create, delete—
/ospfv3/{vrf-name}/spfYmerge—
/show-ipv6-ospf6-database——Y
/show-ipv6-ospf6-interface——Y
/show-ipv6-ospf6-neighbor——Y
/show-ipv6-ospf6-redistribute——Y
/show-ipv6-ospf6-route——Y
<filter type="subtree">
<top>
<ospfv3>
<ospfv3-instance>
<vrf-name>default</vrf-name>
</ospfv3-instance>
</ospfv3>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<ospfv3 xmlns="http://asterfusion.com/ns/yang/asternos-ospfv3">
<ospfv3-instance>
<vrf-name>default</vrf-name>
<enable>true</enable>
<router-id>10.250.0.181</router-id>
<auto-cost-reference-bandwidth>50</auto-cost-reference-bandwidth>
<areas>
<area>
<area-id>0.0.0.100</area-id>
</area>
<area>
<area-id>0.0.0.30</area-id>
<area-ranges>
<area-range>
<ip-prefix>2005::1/64</ip-prefix>
<cost>30</cost>
<advertise>true</advertise>
</area-range>
</area-ranges>
</area>
<area>
<area-id>0.0.0.40</area-id>
</area>
<area>
<area-id>0.0.0.70</area-id>
</area>
</areas>
<spf>
<initial-delay>15</initial-delay>
<initial-holdtime>30</initial-holdtime>
<maximum-holdtime>40</maximum-holdtime>
</spf>
<distribute-route>
<protocol>connected</protocol>
<route-map>test_route_map</route-map>
</distribute-route>
<distribute-route>
<protocol>static</protocol>
<route-map>test_route_map</route-map>
</distribute-route>
</ospfv3-instance>
</ospfv3>
</data>
<config><top>
<ospfv3>
<ospfv3-instance operation="create">
<vrf-name>Vrf1</vrf-name>
<router-id>10.10.10.10</router-id>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance operation="merge">
<vrf-name>Vrf1</vrf-name>
<router-id>10.10.10.10</router-id>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance operation="delete">
<vrf-name>Vrf1</vrf-name>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance operation="create">
<vrf-name>Vrf1</vrf-name>
<distribute-route>
<protocol>bgp</protocol>
<route-map>test_route_map</route-map>
</distribute-route>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance>
<vrf-name>Vrf1</vrf-name>
<distribute-route operation="merge">
<protocol>bgp</protocol>
<route-map>test_route_map2</route-map>
</distribute-route>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance>
<vrf-name>Vrf1</vrf-name>
<distribute-route operation="delete">
<protocol>bgp</protocol>
</distribute-route>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance operation="create">
<vrf-name>Vrf1</vrf-name>
<areas>
<area>
<area-id>0.0.0.10</area-id>
</area>
</areas>
</ospfv3-instance>
</ospfv3>
</top></config>
<config><top>
<ospfv3>
<ospfv3-instance operation="delete">
<vrf-name>Vrf1</vrf-name>
<areas>
<area>
<area-id>0.0.0.10</area-id>
</area>
</areas>
</ospfv3-instance>
</ospfv3>
</top></config>
<filter type="subtree">
<top>
<ospfv3-interfaces/>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<ospfv3-interfaces xmlns="http://asterfusion.com/ns/yang/asternos-ospfv3">
<ospfv3-interface>
<name>Ethernet3</name>
<vrf-name>default</vrf-name>
<area-id>0.0.0.10</area-id>
<metric>50</metric>
<dead-interval>50</dead-interval>
<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>
</ospfv3-interface>
</ospfv3-interfaces>
</data>
<config><top>
<ospfv3-interfaces operation="create">
<ospfv3-interface>
<name>Ethernet1</name>
<metric>50</metric>
<dead-interval>50</dead-interval>
<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>
</ospfv3-interface>
</ospfv3-interfaces>
</top></config>
<config><top>
<ospfv3-interfaces operation="merge">
<ospfv3-interface>
<name>Ethernet1</name>
<metric>30</metric>
<dead-interval>30</dead-interval>
<hello-interval>30</hello-interval>
<mtu-ignore>false</mtu-ignore>
<network-type>broadcast</network-type>
<priority>30</priority>
<retransmission-interval>30</retransmission-interval>
<transmit-delay>30</transmit-delay>
</ospfv3-interface>
</ospfv3-interfaces>
</top></config>
<config><top>
<ospfv3-interfaces>
<ospfv3-interface operation="delete">
<name>Ethernet3</name>
</ospfv3-interface>
</ospfv3-interfaces>
</top></config>

Tree Diagram

module: asternos-ospfv3
+--rw ospfv3-interfaces
+--rw ospfv3-interface* [name]
+--rw name cmn:ospf-interface-name
+--rw vrf-name? vrf:vrf-ref
+--rw area-id? ospfv3-area-id
+--rw metric? uint16
+--rw dead-interval? uint16
+--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

Table of Properties

NameRequiredType/RangeDescription
ospfv3-interfacesMPath-only node, has no configurable value.
ospfv3-interfaceMPath-only node, has no configurable value.
nameOcmn:ospf-interface-nameName of interface.
vrf-nameOvrf:vrf-refName of VRF.
area-idOThe ipv4-address type represents an IPv4 address in dotted-quad notation. The IPv4 address may include a zone index, separated by a % sign. If a system uses zone names that are not represented in UTF-8, then an implementation needs to use some mechanism to transform the local name into UTF-8. The definition of such a mechanism is outside the scope of this document.

The zone index is used to disambiguate identical address values. For link-local addresses, the zone index will typically be the interface index number or the name of an interface. If the zone index is not present, the default zone of the device will be used.

The canonical format for the zone index is the numerical format
integer
Area ID for this network.
metricO1..65535Cost value set to router-LSA’s metric field
dead-intervalO1..65535Interval time after which a neighbor is declared down.
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.

Top-level configuration for the OSPFv3 router

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

Tree Diagram

module: asternos-ospfv3
+--rw ospfv3
+--rw ospfv3-instance* [vrf-name]
+--rw vrf-name vrf:vrf-ref
+--rw enable? boolean
+--rw router-id? inet:ipv4-address
+--rw auto-cost-reference-bandwidth? uint32
+--rw areas
| +--rw area* [area-id]
| +--rw area-id ospfv3-area-id
| +--rw area-ranges
| +--rw area-range* [ip-prefix]
| +--rw ip-prefix ospfv3-range-address
| +--rw cost? uint32
| +--rw advertise? boolean
+--rw spf
| +--rw initial-delay uint32
| +--rw initial-holdtime uint32
| +--rw maximum-holdtime uint32
+--rw distribute-route* [protocol]
+--rw protocol route-types-v6
+--rw route-map? string

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
ospfv3-instanceMPath-only node, has no configurable value.
vrf-nameOvrf:vrf-refName of the VRF instance.
enableO”true"
"false”
Enable OSPFv3
router-idOinet:ipv4-addressRouter-id for the OSPF process.
auto-cost-reference-bandwidthO1..4294967The reference bandwidth in terms of Mbits per second.
areasMPath-only node, has no configurable value.
areaMPath-only node, has no configurable value.
List of area objects.
area-idOThe ipv4-address type represents an IPv4 address in dotted-quad notation. The IPv4 address may include a zone index, separated by a % sign. If a system uses zone names that are not represented in UTF-8, then an implementation needs to use some mechanism to transform the local name into UTF-8. The definition of such a mechanism is outside the scope of this document.

The zone index is used to disambiguate identical address values. For link-local addresses, the zone index will typically be the interface index number or the name of an interface. If the zone index is not present, the default zone of the device will be used.

The canonical format for the zone index is the numerical format
integer
area-rangesMPath-only node, has no configurable value.
area-rangeMPath-only node, has no configurable value.
ip-prefixMThe ipv6-prefix type represents an IPv6 prefix.

The prefix length is given by the number following the slash character and must be less than or equal to 128.

A prefix length value of n corresponds to an IP address mask that has n contiguous 1-bits from the most significant bit (MSB) and all other bits set to 0.

The canonical format of an IPv6 prefix has all bits of the IPv6 address set to zero that are not part of the IPv6 prefix. Furthermore, the IPv6 address is represented as defined in Section 4 of RFC 5952.

The definition of ipv6-prefix does not require that bits, which are not part of the prefix, are set to zero. However, implementations have to return values in canonical format, which requires non-prefix bits to be set to zero. This means that 2001:db8::1/64 must be accepted as a valid value but it will be converted into the canonical format 2001:db8::/64.
Designated IPv6 range.
costO0..16777215Set an explicit metric.
advertiseO”true"
"false”
Summarize intra area paths from specified area into one Type-3 summary-LSA.
spfMPath-only node, has no configurable value.
initial-delayM0..600000Specifies the minimum amount of time to delay SPF calculation.
initial-holdtimeM0..600000Separated consecutive SPF calculations.
maximum-holdtimeM0..600000Maximum of holdtime.
distribute-routeMPath-only node, has no configurable value.
protocolO”kernel"
"connected"
"local"
"static"
"ripng"
"isis"
"bgp"
"nhrp"
"table"
"table-direct"
"vnc"
"babel"
"openfabric”
Protocol to import.
route-mapOstringRoute map reference.

Tree Diagram

module: asternos-ospfv3
+--rw ospfv3

Tree Diagram

module: asternos-ospfv3
+--rw ospfv3

Tree Diagram

module: asternos-ospfv3
+--rw ospfv3

Tree Diagram

module: asternos-ospfv3
+--rw ospfv3

Tree Diagram

module: asternos-ospfv3
rpcs:
+---x show-ipv6-ospf6-database
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-databaseO
dataOShow ipv6 ospf6 database information.

Tree Diagram

module: asternos-ospfv3
rpcs:
+---x show-ipv6-ospf6-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-ipv6-ospf6-interfaceO
trafficOemptyDisplay interface counter information.
interfaceOcmn:ospf-interface-nameDisplay information of specific interface.
dataOShow ipv6 ospf6 interface information.

Tree Diagram

module: asternos-ospfv3
rpcs:
+---x show-ipv6-ospf6-neighbor
+---w input
| +---w vrf? vrf:vrf-ref
| +---w (options)?
| +--:(detail)
| +---w detail? empty
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-neighborO
vrfOvrf:vrf-refName of VRF instance.
detailOemptyDisplay more details.
dataOShow ipv6 ospf6 neighbor information.

Tree Diagram

module: asternos-ospfv3
rpcs:
+---x show-ipv6-ospf6-redistribute
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-redistributeO
dataOShow ipv6 ospf6 redistributing External information.

Tree Diagram

module: asternos-ospfv3
rpcs:
+---x show-ipv6-ospf6-route
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-routeO
dataOShow ipv6 route ospf6 information.