summaryrefslogtreecommitdiffstats
path: root/doc/user/ospf6d.rst
diff options
context:
space:
mode:
authorYash Ranjan <ranjany@vmware.com>2020-10-28 11:51:39 +0100
committerYash Ranjan <ranjany@vmware.com>2021-01-27 05:06:02 +0100
commiteacd0828d4a95684fbf691e28730b229c5a8b799 (patch)
treed432a4eae6ed9f5e79240c3700f394d23c4c0269 /doc/user/ospf6d.rst
parentMerge pull request #7935 from donaldsharp/ospf6_use_after_free (diff)
downloadfrr-eacd0828d4a95684fbf691e28730b229c5a8b799.tar.xz
frr-eacd0828d4a95684fbf691e28730b229c5a8b799.zip
ospf6d: Json support added for command "show ipv6 ospf6 route [json]"
Modify code to add JSON format output in show command "show ipv6 ospf6 route [<intra-area|inter-area|external-1| external-2|X:X::X:X|X:X::X:X/M|detail|summary>]" with proper formating Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to 'doc/user/ospf6d.rst')
-rw-r--r--doc/user/ospf6d.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/user/ospf6d.rst b/doc/user/ospf6d.rst
index b00bdb3ab..9d1c2e0b9 100644
--- a/doc/user/ospf6d.rst
+++ b/doc/user/ospf6d.rst
@@ -240,6 +240,21 @@ Showing OSPF6 information
Shows the routes which are redistributed by the router. JSON output can
be obtained by appending 'json' at the end.
+.. index:: show ipv6 ospf6 route [<intra-area|inter-area|external-1|external-2|X:X::X:X|X:X::X:X/M|detail|summary>] [json]
+.. clicmd:: show ipv6 ospf6 route [<intra-area|inter-area|external-1|external-2|X:X::X:X|X:X::X:X/M|detail|summary>] [json]
+
+ This command displays the ospfv3 routing table as determined by the most
+ recent SPF calculations. Options are provided to view the different types
+ of routes. Other than the standard view there are two other options, detail
+ and summary. JSON output can be obtained by appending 'json' to the end of
+ command.
+
+.. index:: show ipv6 ospf6 route X:X::X:X/M match [detail] [json]
+.. clicmd:: show ipv6 ospf6 route X:X::X:X/M match [detail] [json]
+
+ The additional match option will match the given address to the destination
+ of the routes, and return the result accordingly.
+
OSPF6 Configuration Examples
============================