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/create_interface.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/create_interface.rst')
-rw-r--r-- | docs/reference/cmdreference/interface/create_interface.rst | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/reference/cmdreference/interface/create_interface.rst b/docs/reference/cmdreference/interface/create_interface.rst index f0e2e6ba115..c646a9947ad 100644 --- a/docs/reference/cmdreference/interface/create_interface.rst +++ b/docs/reference/cmdreference/interface/create_interface.rst @@ -23,7 +23,10 @@ create host-interface name <*ifname*> [*hw-addr <*mac-addr*>] Description ------------ -Create a host interface that will attach to a linux AF_PACKET interface, one side of a veth pair. The veth pair must already exist. Once created, a new host interface will exist in VPP with the name 'host-<*ifname*>', where '<*ifname*>' is the name of the specified veth pair. Use the `show interface` command to display host interface details. +Create a host interface that will attach to a linux AF_PACKET interface, one side of a veth pair. +The veth pair must already exist. Once created, a new host interface will exist in VPP with the name +'host-<*ifname*>', where '<*ifname*>' is the name of the specified veth pair. +Use the `show interface` command to display host interface details. This command has the following optional parameters: @@ -32,7 +35,7 @@ This command has the following optional parameters: Example Usage ------------- - Example of how to create a host interface tied to one side of an existing linux veth pair named vpp1: +Example of how to create a host interface tied to one side of an existing linux veth pair named vpp1: .. code-block:: console @@ -40,7 +43,7 @@ Example Usage host-vpp1 - Once the host interface is created, enable the interface using: +Once the host interface is created, enable the interface using: .. code-block:: console @@ -84,7 +87,7 @@ Create a loopback interface. Optionally, a MAC Address can be provided. If not p Example Usage -------------- - The following two command syntaxes are equivalent: +The following two command syntaxes are equivalent: .. code-block:: console @@ -92,7 +95,7 @@ Example Usage vpp# create loopback interface [mac <*mac-addr*>] [instance <*instance*>] - Example of how to create a loopback interface: +Example of how to create a loopback interface: .. code-block:: console @@ -115,7 +118,7 @@ and *subId* (subinterface Id) parameters. If no additional VLAN ID is provide, the VLAN ID is assumed to be the *subId*. The VLAN ID and *subId* can be different, but this is not recommended. -This command has several variations: +This command has several variations: - **create sub-interfaces** <*interface*> <*subId*> - Create a subinterface to process packets with a given 802.1q VLAN ID (same value as the @@ -219,4 +222,4 @@ When subinterfaces are created, they are in the down state. Example of how to en .. code-block:: console vpp# set interface GigabitEthernet2/0/0.7 up - + |