X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=docs%2Freference%2Fcmdreference%2Finterface%2Fhardware.rst;h=2c28d655c4ac3a43c1bfdad8c364bf5a1c6407cb;hb=6c892301e24a9904841b0969330d6d220b5f83b2;hp=4ae8fd595597e97fac4cf11bd52e1263a91128c6;hpb=eb1119053299c5014a954ed07d10b118ff3ab0d5;p=vpp.git 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] [ [ [..]]] [ [ [..]]]. 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 [ [ [..]]] [ [ [..]]]. - + 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