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.
23 show interface [address|addr|features|feat] [<interface> [<interface> [..]]]
28 Example of how to show the interface counters:
30 .. code-block:: console
33 Name Idx State Counter Count
34 TenGigabitEthernet86/0/0 1 up rx packets 6569213
38 TenGigabitEthernet86/0/1 2 down
39 VirtualEthernet0/0/0 3 up rx packets 50384
46 Example of how to display the interface placement:
48 .. code-block:: console
50 vpp# show interface rx-placement
53 GigabitEthernet7/0/0 queue 0 (polling)
54 node vhost-user-input:
55 VirtualEthernet0/0/12 queue 0 (polling)
56 VirtualEthernet0/0/12 queue 2 (polling)
57 VirtualEthernet0/0/13 queue 0 (polling)
58 VirtualEthernet0/0/13 queue 2 (polling)
61 GigabitEthernet7/0/1 queue 0 (polling)
62 node vhost-user-input:
63 VirtualEthernet0/0/12 queue 1 (polling)
64 VirtualEthernet0/0/12 queue 3 (polling)
65 VirtualEthernet0/0/13 queue 1 (polling)
66 VirtualEthernet0/0/13 queue 3 (polling)
70 Clear the statistics for all interfaces (statistics associated with the
71 '*show interface*' command).
79 Example of how to clear the statistics for all interfaces:
81 .. code-block:: console