summaryrefslogtreecommitdiffstats
path: root/doc/user/zebra.rst
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-08-02 20:38:26 +0200
committerRenato Westphal <renato@opensourcerouting.org>2021-08-02 22:19:45 +0200
commitc15dc24f79c97c670dd2114621ae9f6236b13348 (patch)
tree43462ba34fdbadbaf0a214cf8d45dcab68844ac2 /doc/user/zebra.rst
parentlib: add "json" option to "show route-map" (diff)
downloadfrr-c15dc24f79c97c670dd2114621ae9f6236b13348.tar.xz
frr-c15dc24f79c97c670dd2114621ae9f6236b13348.zip
zebra: add "json" option to "show interface"
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'doc/user/zebra.rst')
-rw-r--r--doc/user/zebra.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst
index 365480110..fdf27da71 100644
--- a/doc/user/zebra.rst
+++ b/doc/user/zebra.rst
@@ -1139,6 +1139,10 @@ zebra Terminal Mode Commands
Display detailed information about a route. If [nexthop-group] is
included, it will display the nexthop group ID the route is using as well.
+.. clicmd:: show interface [NAME] [{vrf VRF|brief}] [json]
+
+.. clicmd:: show interface [NAME] [{vrf all|brief}] [json]
+
.. clicmd:: show interface [NAME] [{vrf VRF|brief}] [nexthop-group]
.. clicmd:: show interface [NAME] [{vrf all|brief}] [nexthop-group]
@@ -1148,6 +1152,8 @@ zebra Terminal Mode Commands
detailed information about that single interface. If [nexthop-group] is
specified, it will display nexthop groups pointing out that interface.
+ If the ``json`` option is specified, output is displayed in JSON format.
+
.. clicmd:: show ip prefix-list [NAME]
.. clicmd:: show route-map [NAME]