From eacd0828d4a95684fbf691e28730b229c5a8b799 Mon Sep 17 00:00:00 2001 From: Yash Ranjan Date: Wed, 28 Oct 2020 03:51:39 -0700 Subject: 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 []" with proper formating Signed-off-by: Yash Ranjan --- doc/user/ospf6d.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/user/ospf6d.rst') 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 [] [json] +.. clicmd:: show ipv6 ospf6 route [] [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 ============================ -- cgit v1.2.3