]> git.proxmox.com Git - mirror_frr.git/commitdiff
doc: move find command docs to better spot
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 8 Jun 2018 07:55:55 +0000 (07:55 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 8 Jun 2018 07:55:55 +0000 (07:55 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
doc/user/basic.rst

index 0c2ef8ccd0a18a03e3a74fe47eedb5230dcc96c9..a75017c4429ec3ef582ec39eee483d6b58cf513d 100644 (file)
@@ -326,6 +326,33 @@ Terminal Mode Commands
    Send a message to all logging destinations that are enabled for messages of
    the given severity.
 
+.. index:: find COMMAND...
+.. clicmd:: find COMMAND...
+
+   This commmand performs a simple substring search across all defined commands
+   in all modes. As an example, suppose you're in enable mode and can't
+   remember where the command to turn OSPF segment routing on is:
+
+   ::
+
+      frr# find segment-routing on
+        (ospf)  segment-routing on
+
+   The CLI mode is displayed next to each command. In this example,
+   :clicmd:`segment-routing on` is under the `router ospf` mode.
+
+   Similarly, suppose you want a listing of all commands that contain "l2vpn":
+
+   ::
+
+      frr# find l2vpn
+        (view)  show [ip] bgp l2vpn evpn [json]
+        (view)  show [ip] bgp l2vpn evpn all <A.B.C.D|A.B.C.D/M> [json]
+        (view)  show [ip] bgp l2vpn evpn all neighbors A.B.C.D advertised-routes [json]
+        (view)  show [ip] bgp l2vpn evpn all neighbors A.B.C.D routes [json]
+        (view)  show [ip] bgp l2vpn evpn all overlay
+        ...
+
 
 .. _common-invocation-options:
 
@@ -611,33 +638,6 @@ insta-help, and VTY session management.
    line.  Typing :kbd:`?` at any point in the line will show possible
    completions.
 
-.. index:: find COMMAND...
-.. clicmd:: find COMMAND...
-
-   This commmand performs a simple substring search across all defined commands
-   in all modes. As an example, suppose you're in enable mode and can't
-   remember where the command to turn OSPF segment routing on is:
-
-   ::
-
-      frr# find segment-routing on
-        (ospf)  segment-routing on
-
-   The CLI mode is displayed next to each command. In this example,
-   :clicmd:`segment-routing on` is under the `router ospf` mode.
-
-   Similarly, suppose you want a listing of all commands that contain "l2vpn":
-
-   ::
-
-      frr# find l2vpn
-        (view)  show [ip] bgp l2vpn evpn [json]
-        (view)  show [ip] bgp l2vpn evpn all <A.B.C.D|A.B.C.D/M> [json]
-        (view)  show [ip] bgp l2vpn evpn all neighbors A.B.C.D advertised-routes [json]
-        (view)  show [ip] bgp l2vpn evpn all neighbors A.B.C.D routes [json]
-        (view)  show [ip] bgp l2vpn evpn all overlay
-        ...
-
 Pipe Actions
 ^^^^^^^^^^^^