5 Basic Interface Commands
6 =========================
8 There are several commands that are associated to Basic Interface:
13 .. note:: For a complete list of CLI Debug commands refer to the Debug CLI section of the `Source Code Documents <https://docs.fd.io/vpp/18.07/clicmd.html>`_ .
19 Shows software interface information including counters and features.
26 show interface [address|addr|features|feat] [<interface> [<interface> [..]]]
31 Example of how to show the interface counters:
33 .. code-block:: console
36 Name Idx State Counter Count
37 TenGigabitEthernet86/0/0 1 up rx packets 6569213
41 TenGigabitEthernet86/0/1 2 down
42 VirtualEthernet0/0/0 3 up rx packets 50384
49 Example of how to display the interface placement:
51 .. code-block:: console
53 vpp# show interface rx-placement
56 GigabitEthernet7/0/0 queue 0 (polling)
57 node vhost-user-input:
58 VirtualEthernet0/0/12 queue 0 (polling)
59 VirtualEthernet0/0/12 queue 2 (polling)
60 VirtualEthernet0/0/13 queue 0 (polling)
61 VirtualEthernet0/0/13 queue 2 (polling)
64 GigabitEthernet7/0/1 queue 0 (polling)
65 node vhost-user-input:
66 VirtualEthernet0/0/12 queue 1 (polling)
67 VirtualEthernet0/0/12 queue 3 (polling)
68 VirtualEthernet0/0/13 queue 1 (polling)
69 VirtualEthernet0/0/13 queue 3 (polling)
73 Clear the statistics for all interfaces (statistics associated with the
74 '*show interface*' command).
85 Example of how to clear the statistics for all interfaces:
87 .. code-block:: console