diff options
author | Scott Keeler <skeeler@cisco.com> | 2018-10-26 09:12:15 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-10-26 15:35:15 +0000 |
commit | 6c892301e24a9904841b0969330d6d220b5f83b2 (patch) | |
tree | f299195fb24940097bb8eaabc1c36d9273caa6ad /docs/reference/cmdreference/interface/hardware.rst | |
parent | eb1119053299c5014a954ed07d10b118ff3ab0d5 (diff) |
docs: add useful debug CLI Review Updates
Change-Id: I4ebd977672090f2a7fc08bb139832df39614564a
Signed-off-by: Scott Keeler <skeeler@cisco.com>
Diffstat (limited to 'docs/reference/cmdreference/interface/hardware.rst')
-rw-r--r-- | docs/reference/cmdreference/interface/hardware.rst | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/docs/reference/cmdreference/interface/hardware.rst b/docs/reference/cmdreference/interface/hardware.rst index 4ae8fd59559..2c28d655c4a 100644 --- a/docs/reference/cmdreference/interface/hardware.rst +++ b/docs/reference/cmdreference/interface/hardware.rst @@ -3,8 +3,8 @@ .. toctree:: Hardware-Interfaces Commands -============================= -This section contains those interface commands that are related to hardware-interfaces: +============================ +This section contains those interface commands that are related to hardware-interfaces: * `Show Bridge-Domain`_ @@ -17,17 +17,18 @@ Show Bridge-Domain +++++++++++++++++++ Summary/Usage --------------- +------------- show bridge-domain [*bridge-domain-id* [detail|int|arp| *bd-tag* ]] Description ------------- +----------- -Show a summary of all the bridge-domain instances or detailed view of a single bridge-domain. Bridge-domains are created by adding an interface to a bridge using the **set interface l2 bridge** command. +Show a summary of all the bridge-domain instances or detailed view of a single bridge-domain. +Bridge-domains are created by adding an interface to a bridge using the **set interface l2 bridge** command. Example Usage --------------- +------------- .. code-block:: console Example of displaying all bridge-domains: @@ -50,7 +51,7 @@ Example Usage GigabitEthernet0/9/0.200 4 0 - none Declaration and Implementation -------------------------------- +------------------------------ **Declaration:** bd_show_cli (src/vnet/l2/l2_bd.c line 1151) @@ -69,19 +70,19 @@ following optional parameters: - **detail**: Also display all remaining attributes and extended statistics. -.. note:: +.. note:: To limit the output of the command to bonded interfaces and their slave interfaces, use the '*bond*' optional parameter. Summary/Usage --------------- +------------- .. code-block:: shell show hardware-interfaces [brief|verbose|detail] [bond] [<interface> [<interface> [..]]] [<sw_idx> [<sw_idx> [..]]]. Examples ---------- +-------- Example of how to display default data for all interfaces: .. code-block:: console @@ -111,7 +112,8 @@ Example of how to display default data for all interfaces: local0 0 down local0 local -Example of how to display *verbose* data for an interface by name and software index (where 2 is the software index): +Example of how to display *verbose* data for an interface by name and software index +(where 2 is the software index): .. code-block:: console @@ -131,7 +133,7 @@ Example of how to display *verbose* data for an interface by name and software i cpu socket 0 Clear Hardware-Interfaces -+++++++++++++++++++++++++++ ++++++++++++++++++++++++++ Clear the extended statistics for all or a list of given interfaces (statistics associated with the **show hardware-interfaces** command). @@ -143,7 +145,7 @@ Summary/Usage .. code-block:: shell clear hardware-interfaces [<interface> [<interface> [..]]] [<sw_idx> [<sw_idx> [..]]]. - + Examples -------- @@ -155,7 +157,8 @@ Example of how to clear the extended statistics for all interfaces: vpp# clear hardware-interfaces -Example of how to clear the extended statistics for an interface by name and software index (where 2 is the software index): +Example of how to clear the extended statistics for an interface by name and software index +(where 2 is the software index): .. code-block:: console |