Skip to content
Ask AI

OSPFv3

Open Shortest Path First version 3.

URLGETPOSTPATCHPUTDELETE
/rest/v1/rpc/clear-ipv6-ospf6NYNNN
/rest/v1/rpc/graceful-restart-prepare-ipv6-ospfNYNNN
/rest/v1/running/ospfv3-interfaces/{name}YYYNY
/rest/v1/running/ospfv3/{vrf-name}YYYNY
/rest/v1/running/ospfv3/{vrf-name}/areas/{area-id}YYYNY
/rest/v1/running/ospfv3/{vrf-name}/areas/{area-id}/area-ranges/{ip-prefix}YYYNY
/rest/v1/running/ospfv3/{vrf-name}/areas/{area-id}/nssa-area-ranges/{ip-prefix}YYYNY
/rest/v1/running/ospfv3/{vrf-name}/distribute-route/{protocol}/{direction}YYYNY
/rest/v1/running/ospfv3/{vrf-name}/graceful-restart-helper/{address}YYYNY
/rest/v1/running/ospfv3/{vrf-name}/spfYNYNN
/rest/v1/running/ospfv3/{vrf-name}/summary-address/{summary-prefix}YYYNY
/rest/v1/rpc/show-ipv6-ospf6-databaseNYNNN
/rest/v1/rpc/show-ipv6-ospf6-interfaceNYNNN
/rest/v1/rpc/show-ipv6-ospf6-neighborNYNNN
/rest/v1/rpc/show-ipv6-ospf6-routeNYNNN
POST HTTPS://{switch IP}/rest/v1/running/ospfv3-interfaces
{
"name": "Ethernet1",
"area-id": "0.0.0.10",
"bfd-enable": "true",
"metric": "50",
"dead-interval": "50",
"hello-interval": "50",
"mtu-ignore": "true",
"network-type": "broadcast",
"priority": "50",
"retransmission-interval": "50",
"transmit-delay": "50",
"passive": "true",
"bfd-profile": "test"
}
POST HTTPS://{switch IP}/rest/v1/running/ospfv3
{
"vrf-name": "Vrf3",
"enable": "true",
"auto-cost-reference-bandwidth": 50,
"spf":
{
"initial-delay": 5,
"initial-holdtime": 3,
"maximum-holdtime": 4
}
}
GET HTTPS://{switch IP}/rest/v1/running/ospfv3/Vrf3
POST HTTPS://{switch IP}/rest/v1/running/ospfv3/default/areas
{
"area-id": "0.0.0.120",
"stub": "true"
}
POST HTTPS://{switch IP}/rest/v1/running/ospfv3/default/areas/30/area-ranges
{
"ip-prefix": "1:7::7:4/64",
"cost": 70,
"advertise": "true"
}

Create a nssa-area-range for an area with ID {area-id}

Section titled “Create a nssa-area-range for an area with ID {area-id}”
POST HTTPS://{switch IP}/rest/v1/running/ospfv3/default/areas/30/nssa-area-ranges
{
"ip-prefix": "1:2::/64",
"enable": "true"
}
POST HTTPS://{switch IP}/rest/v1/running/ospfv3/default/distribute-route
{
"protocol": "bgp",
"direction": "IMPORT",
"metric": 28,
"metric-type": "TYPE_2",
"always": "true"
}
POST HTTPS://{switch IP}/rest/v1/running/ospfv3/default/graceful-restart-helper
{
"address": "1.2.3.7",
"enable": "true"
}
PATCH HTTPS://{switch IP}/rest/v1/running/ospfv3/default/spf
{
"initial-delay": 30,
"initial-holdtime": 60,
"maximum-holdtime": 80
}
POST HTTPS://{switch IP}/rest/v1/running/ospfv3/default/summary-address
{
"summary-prefix": "0001:0009::0007:0004/64",
"enable": "true",
"tag": 127
}

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw enable?
| +--rw router-id?
| +--rw auto-cost-reference-bandwidth?
| +--rw graceful-restart?
| +--rw grace-period?
| +--rw log-adjacency-changes?
| +--rw maximum-paths?
| +--rw stub-router-administrative?
| +--rw write-multiplier?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
enableO”true"
"false”(sub-property of ospfv3)
Enable OSPFv3
router-idOA.B.C.D(sub-property of ospfv3)
Router-id for the OSPF process.
auto-cost-reference-bandwidthO1..4294967(sub-property of ospfv3)
The reference bandwidth in terms of Mbits per second.
graceful-restartO”true"
"false”(sub-property of ospfv3)
Enable OSPFv3 graceful-restart.
Default value: “false”
grace-periodO1..1800(sub-property of ospfv3)
Time to wait before restarting the OSPFv3 session.
Default value: 120
log-adjacency-changesO”DETAIL"
"BRIEF”(sub-property of ospfv3)
Enbale recording adjacency changes log.
maximum-pathsO1..256(sub-property of ospfv3)
Control the maximum number of equal cost paths.
Default value: 256
stub-router-administrativeO”true"
"false”(sub-property of ospfv3)
Make a router a stub router for indefinite period of time.
write-multiplierO1..100(sub-property of ospfv3)
The amount of work done in the packet read and write threads.
Default value: 20

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw areas
| | +--rw area* [area-id]
| | +--rw area-id
| | +--rw filter-list-in?
| | +--rw filter-list-out?
| | +--rw nssa-no-summary?
| | +--rw nssa?
| | +--rw stub?
| | +--rw stub-no-summary?
| | +--rw default-information-originate?
| | +--rw default-information-originate-metric?
| | +--rw default-information-originate-metric-type?
| | +--rw area-ranges
| | | +--rw area-range* [ip-prefix]
| | | +--rw ip-prefix
| | | +--rw enable?
| | | +--rw cost?
| | | +--rw advertise?
| | +--rw nssa-area-ranges
| | +--rw nssa-area-range* [ip-prefix]
| | +--rw ip-prefix
| | +--rw enable?
| | +--rw not-advertise?
| | +--rw cost?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
areasM(sub-property of ospfv3)
Path-only node, has no configurable value.
area-idMA.B.C.D(sub-property of areas)
32-bit number identifying the OSPF area.
filter-list-inOstring(sub-property of areas)
Filter networks getting in OSPFv3 areas.
filter-list-outOstring(sub-property of areas)
Filter networks getting out OSPFv3 areas.
nssa-no-summaryO”true"
"false”(sub-property of areas)
Do not inject inter-area routes into nssa.
Default value: “false”
nssaO”true"
"false”(sub-property of areas)
Config the area as nssa area.
stubO”true"
"false”(sub-property of areas)
Config the area as stub area.
stub-no-summaryO”true"
"false”(sub-property of areas)
Do not inject inter-area routes into stub.
Default value: “false”
default-information-originateO”true"
"false”(sub-property of areas)
Originate Type 7 default into NSSA area.
default-information-originate-metricO0..16777214(sub-property of areas)
OSPF default metric.
default-information-originate-metric-typeO”TYPE_1"
"TYPE_2”(sub-property of areas)
Metric type (1/2).
area-rangesM(sub-property of areas)
Path-only node, has no configurable value.
ip-prefixMXX:XX:XX:XX:XX:XX:XX:XX/M(sub-property of area-ranges)
Designated IPv6 range.
enableO”true"
"false”(sub-property of area-ranges)
Summarize routes matching address/mask (border routers only).
costO0..16777215(sub-property of area-ranges)
Set an explicit metric.
advertiseO”true"
"false”(sub-property of area-ranges)
Summarize intra area paths from specified area into one Type-3 summary-LSA.
nssa-area-rangesM(sub-property of areas)
Path-only node, has no configurable value.
ip-prefixMXX:XX:XX:XX:XX:XX:XX:XX/M(sub-property of nssa-area-ranges)
Designated IPv6 range.
enableO”true"
"false”(sub-property of nssa-area-ranges)
Summarize routes matching address/mask (border routers only).
not-advertiseO”true"
"false”(sub-property of nssa-area-ranges)
Instead of summarizing intra area paths filter them.
costO0..16777215(sub-property of nssa-area-ranges)
Set an explicit metric.

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw all-distance?
| +--rw inter-area-distance?
| +--rw intra-area-distance?
| +--rw external-distance?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
all-distanceO0..255(sub-property of ospfv3)
Preference for intra-area, inter-area, and external routes.
inter-area-distanceO0..255(sub-property of ospfv3)
Preference for inter-area routes.
intra-area-distanceO0..255(sub-property of ospfv3)
Preference for intra-area routes.
external-distanceO0..255(sub-property of ospfv3)
Preference for AS external and NSSA routes.

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw lsa-min-arrival?
| +--rw spf
| | +--rw initial-delay
| | +--rw initial-holdtime
| | +--rw maximum-holdtime
| +--rw aggregation-timer?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
lsa-min-arrivalO0..600000(sub-property of ospfv3)
Minimum delay in receiving new version of an LSA.
spfM(sub-property of ospfv3)
Path-only node, has no configurable value.
initial-delayM0..600000(sub-property of spf)
Specifies the minimum amount of time to delay SPF calculation.
initial-holdtimeM0..600000(sub-property of spf)
Separated consecutive SPF calculations.
maximum-holdtimeM0..600000(sub-property of spf)
Maximum of holdtime.
aggregation-timerO5..1800(sub-property of ospfv3)
Summarisation starts only after this delay timer expiry.
Default value: 5

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw graceful-restart-helper* [address]
| | +--rw address
| | +--rw enable?
| +--rw graceful-restart-helper-enable?
| +--rw lsa-check-disable?
| +--rw planned-only?
| +--rw supported-grace-time-interval?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
graceful-restart-helperM(sub-property of ospfv3)
Path-only node, has no configurable value.
addressMA.B.C.D(sub-property of graceful-restart-helper)
Router id to enable graceful-restart helper
enableO”true"
"false”(sub-property of graceful-restart-helper)
Enable graceful-restart helper
graceful-restart-helper-enableO”true"
"false”(sub-property of ospfv3)
Enable graceful-restart helper
lsa-check-disableO”true"
"false”(sub-property of ospfv3)
Disabel strict LSA checking.
planned-onlyO”true"
"false”(sub-property of ospfv3)
Only implement planned restart.
supported-grace-time-intervalO10..1800(sub-property of ospfv3)
Supported grace time as graceful-restart helper.

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw summary-address* [summary-prefix]
| | +--rw summary-prefix
| | +--rw enable?
| | +--rw tag?
| | +--rw no-advertise?
| | +--rw metric?
| | +--rw metric-type?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
summary-addressM(sub-property of ospfv3)
Path-only node, has no configurable value.
summary-prefixMXX:XX:XX:XX:XX:XX:XX:XX/M(sub-property of summary-address)
IP address to distribute summary.
enableO”true"
"false”(sub-property of summary-address)
Enable summary address.
tagO1..4294967295(sub-property of summary-address)
Tag for summary route
no-advertiseO”true"
"false”(sub-property of summary-address)
Don’t advertise the summary address to others
metricO0..16777214(sub-property of summary-address)
OSPF default metric.
metric-typeO”TYPE_1"
"TYPE_2”(sub-property of summary-address)
Metric type (1/2).

Tree Diagrams

+--rw ospfv3
| +--rw ospfv3-instance* [vrf-name]
| +--rw vrf-name
| +--rw distribute-route* [protocol direction]
| +--rw protocol
| +--rw direction
| +--rw route-map?
| +--rw access-list?
| +--rw always?
| +--rw metric?
| +--rw metric-type?

Table of Properties

NameRequiredType/RangeDescription
ospfv3MPath-only node, has no configurable value.
Top-level configuration for the OSPFv3 router.
vrf-nameM”default”
vrf name(sub-property of ospfv3)
Name of the VRF instance.
distribute-routeM(sub-property of ospfv3)
Path-only node, has no configurable value.
protocolM”kernel"
"connected"
"local"
"static"
"ripng"
"ospf"
"isis"
"bgp"
"eigrp"
"nhrp"
"table"
"vnc"
"vnc-direct"
"babel"
"sharp"
"openfabric"
"default-route”(sub-property of distribute-route)
Protocol to import.
directionM”IMPORT”(sub-property of distribute-route)
Export or import router.
route-mapOstring(sub-property of distribute-route)
Route map reference.
access-listOstring(sub-property of distribute-route)
Access-list filter name.
alwaysO”true"
"false”(sub-property of distribute-route)
Always advertise default route.
metricO0..16777214(sub-property of distribute-route)
OSPF default metric.
metric-typeO”TYPE_1"
"TYPE_2”(sub-property of distribute-route)
Metric type (1/2).

Tree Diagrams

+--rw ospfv3-interfaces
+--rw ospfv3-interface* [name]
+--rw name
+--rw vrf-name?
+--rw advertise-prefix-list?
+--rw area-id?
+--rw bfd-enable?
+--rw ifmtu?
+--rw instance-id?
+--rw metric?
+--rw dead-interval?
+--rw hello-interval?
+--rw mtu-ignore?
+--rw network-type?
+--rw priority?
+--rw retransmission-interval?
+--rw transmit-delay?
+--rw passive?
+--rw bfd-profile?

Table of Properties

NameRequiredType/RangeDescription
ospfv3-interfacesMPath-only node, has no configurable value.
nameMEthernet name
Lag1..9999
Vlan1..4094
Ethernet sub-interface name
Link-aggregation sub-interface name(sub-property of ospfv3-interfaces)
Name of interface.
vrf-nameO”default”
vrf name(sub-property of ospfv3-interfaces)
Name of VRF.
advertise-prefix-listOstring(sub-property of ospfv3-interfaces)
Filter the routes that are advertised through OSPF6.
area-idOA.B.C.D(sub-property of ospfv3-interfaces)
Area ID for this network.
bfd-enableO”true"
"false”(sub-property of ospfv3-interfaces)
Enable bfd.
ifmtuO1..65535(sub-property of ospfv3-interfaces)
Set the Interface Maximum Transmission Unit (MTU) for an OSPF6 interface.
instance-idO0..255(sub-property of ospfv3-interfaces)
Assigns a specific instance ID to an OSPF6 interface.
metricO1..65535(sub-property of ospfv3-interfaces)
Cost value set to router-LSA’s metric field
dead-intervalO1..65535(sub-property of ospfv3-interfaces)
Interval time after which a neighbor is declared down.
hello-intervalO1..65535(sub-property of ospfv3-interfaces)
Set number of seconds for HelloInterval timer value.
mtu-ignoreO”true"
"false”(sub-property of ospfv3-interfaces)
Enable mtu ignore.
network-typeO”broadcast"
"non-broadcast"
"point-to-multipoint"
"point-to-point”(sub-property of ospfv3-interfaces)
Set network type.
priorityO0..255(sub-property of ospfv3-interfaces)
Set RouterPriority integer value.
retransmission-intervalO1..65535(sub-property of ospfv3-interfaces)
Set number of seconds for RxmtInterval timer value.
transmit-delayO1..65535(sub-property of ospfv3-interfaces)
Set number of seconds for InfTransDelay value.
passiveO”true"
"false”(sub-property of ospfv3-interfaces)
Do not speak OSPFv3 on the interface.
bfd-profileOstring(sub-property of ospfv3-interfaces)
Specify a BFD profile.

Tree Diagrams

+---x show-ipv6-ospf6-neighbor
| +---w input
| | +---w vrf?
| | +---w (options)?
| | +--:(drchoice)
| | | +---w drchoice?
| | +--:(detail)
| | | +---w detail?
| | +--:(neighbor-id)
| | +---w neighbor-id?
| +--ro output
| +--ro data?

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-neighborMPath-only node, has no configurable value.
Show OSPFv3 neighbors information.
vrfO”default”
vrf name(sub-property of input)
Name of VRF instance.
drchoiceOempty(sub-property of input)
Mutually exclusive with:
  • detail
  • neighbor-id Display DR choices. | | detail | O | empty | (sub-property of input) Mutually exclusive with:
  • drchoice
  • neighbor-id Display more details. | | neighbor-id | O | A.B.C.D | (sub-property of input) Mutually exclusive with:
  • drchoice
  • detail Display information of specific neighbor-id. | | data | RO | | (sub-property of output) |

Tree Diagrams

+---x show-ipv6-ospf6-route
| +--ro output
| +--ro data?

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-routeMPath-only node, has no configurable value.
Show OSPFv3 route information.
dataRO(sub-property of output)

Tree Diagrams

+---x show-ipv6-ospf6-database
| +--ro output
| +--ro data?

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-databaseMPath-only node, has no configurable value.
Show OSPFv3 database information.
dataRO(sub-property of output)

Tree Diagrams

+---x show-ipv6-ospf6-interface
| +---w input
| | +---w (options)?
| | +--:(traffic)
| | | +---w traffic?
| | +--:(interface)
| | +---w interface?
| | +---w prefix?
| | +---w (prefix-extensions)?
| | +--:(detail)
| | | +---w detail?
| | +--:(match)
| | +---w match?
| +--ro output
| +--ro data?

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-ospf6-interfaceMPath-only node, has no configurable value.
Show OSPFv3 interface information.
trafficOEthernet name
Lag1..9999
Vlan1..4094
Ethernet sub-interface name
Link-aggregation sub-interface name(sub-property of input)
Mutually exclusive with:
  • interface
  • prefix Protocol Packet counters. | | interface | O | Ethernet name Lag1..9999 Vlan1..4094 Ethernet sub-interface name Link-aggregation sub-interface name | (sub-property of input) Mutually exclusive with:
  • traffic Display information of specific interface. | | prefix | O | “XX:XX:XX:XX:XX:XX:XX:XX/M” “XX:XX:XX:XX:XX:XX:XX:XX” “detail” “all” | (sub-property of input) Mutually exclusive with:
  • traffic Display connected prefixes to advertise | | detail | O | empty | (sub-property of input) Mutually exclusive with:
  • match Display details of the prefixes. | | match | O | empty | (sub-property of input) Mutually exclusive with:
  • detail Display the route matches the prefix | | data | RO | | (sub-property of output) |

Tree Diagrams

+---x clear-ipv6-ospf6
| +---w input
| +---w (options)?
| +--:(interface)
| | +---w interface?
| | +---w vrf?
| +--:(process)
| +---w process?
| +---w vrf-for-process?

Table of Properties

NameRequiredType/RangeDescription
clear-ipv6-ospf6MPath-only node, has no configurable value.
Clear OSPFv3 data structures.
interfaceOEthernet name
Lag1..9999
Vlan1..4094
Ethernet sub-interface name
Link-aggregation sub-interface name(sub-property of input)
Mutually exclusive with:
  • process
  • vrf-for-process Clear information of specific interface. | | vrf | O | “default” vrf name | (sub-property of input) Mutually exclusive with:
  • process
  • vrf-for-process Name of VRF instance. | | process | O | empty | (sub-property of input) Mutually exclusive with:
  • interface
  • vrf Reset OSPFv3 Process. | | vrf-for-process | O | “default” vrf name | (sub-property of input) Mutually exclusive with:
  • interface
  • vrf Name of VRF instance. |

Tree Diagrams

+---x graceful-restart-prepare-ipv6-ospf

Table of Properties

NameRequiredType/RangeDescription
graceful-restart-prepare-ipv6-ospfMPath-only node, has no configurable value.
Initiate a graceful restart for all OSPFv3 instances.