diff options
author | Scott Keeler <skeeler@cisco.com> | 2018-10-23 15:16:46 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-10-24 15:21:20 +0000 |
commit | 70f28fc4b83fee72a1e2a17f5f898af83b4fb39c (patch) | |
tree | 2a8bc77cdc012af9f9b3321a7b27f46fbdf4725b /docs/reference/cmdreference/index.rst | |
parent | 8a6928938c468639232350bccb0e6c4364fff4c4 (diff) |
docs: add useful debug CLI
Change-Id: I5ef9ecd741f1623ae1b7a23fa0a4fa6db7e243a3
Signed-off-by: Scott Keeler <skeeler@cisco.com>
Diffstat (limited to 'docs/reference/cmdreference/index.rst')
-rw-r--r-- | docs/reference/cmdreference/index.rst | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/docs/reference/cmdreference/index.rst b/docs/reference/cmdreference/index.rst index 5c8effa3310..983517cf1ce 100644 --- a/docs/reference/cmdreference/index.rst +++ b/docs/reference/cmdreference/index.rst @@ -1,55 +1,60 @@ .. _cmdreference: -Command Line Reference -====================== -This is a reference guide for the vpp debug commands that are referenced in the within these documents. This is **NOT** a complete list. For a complete list refer to the Debug CLI section of the +Useful Debug CLI +================== + +This is a reference guide for the vpp debug commands that are referenced within these documents. This is **NOT** a complete list. For a complete list refer to the Debug CLI section of the `Source Code Documents <https://docs.fd.io/vpp/18.07/clicmd.html>`_. -The debug CLI can be executed from a su shell using the vppctl command. +The debug CLI can be executed from an su shell using the vppctl command. .. code-block:: console # sudo bash # vppctl show interface - Name Idx State Counter Count + Name Idx State Counter Count TenGigabitEthernet86/0/0 1 up rx packets 6569213 rx bytes 9928352943 tx packets 50384 tx bytes 3329279 - TenGigabitEthernet86/0/1 2 down + TenGigabitEthernet86/0/1 2 down VirtualEthernet0/0/0 3 up rx packets 50384 rx bytes 3329279 tx packets 6569213 tx bytes 9928352943 drops 1498 - local0 0 down + local0 0 down Commands can also be executed from the vppct shell. .. code-block:: console # vppctl - _______ _ _ _____ ___ + _______ _ _ _____ ___ __/ __/ _ \ (_)__ | | / / _ \/ _ \ _/ _// // / / / _ \ | |/ / ___/ ___/ - /_/ /____(_)_/\___/ |___/_/ /_/ - - vpp# show interface - Name Idx State Counter Count + /_/ /____(_)_/\___/ |___/_/ /_/ + + vpp# show interface + Name Idx State Counter Count TenGigabitEthernet86/0/0 1 up rx packets 6569213 rx bytes 9928352943 tx packets 50384 tx bytes 3329279 - TenGigabitEthernet86/0/1 2 down + TenGigabitEthernet86/0/1 2 down VirtualEthernet0/0/0 3 up rx packets 50384 rx bytes 3329279 tx packets 6569213 tx bytes 9928352943 drops 1498 - local0 0 down + local0 0 down .. toctree:: + :maxdepth: 3 interface/index.rst + ip/index.rst + show/index.rst + trace/index.rst vhost/index.rst |