12 Shows software interface information including counters and features
19 show interface [address|addr|features|feat] [<interface> [<interface> [..]]]
24 Example of how to show the interface counters:
26 .. code-block:: console
29 Name Idx State Counter Count
30 TenGigabitEthernet86/0/0 1 up rx packets 6569213
34 TenGigabitEthernet86/0/1 2 down
35 VirtualEthernet0/0/0 3 up rx packets 50384
42 Example of how to display the interface placement:
44 .. code-block:: console
46 vpp# show interface rx-placement
49 GigabitEthernet7/0/0 queue 0 (polling)
50 node vhost-user-input:
51 VirtualEthernet0/0/12 queue 0 (polling)
52 VirtualEthernet0/0/12 queue 2 (polling)
53 VirtualEthernet0/0/13 queue 0 (polling)
54 VirtualEthernet0/0/13 queue 2 (polling)
57 GigabitEthernet7/0/1 queue 0 (polling)
58 node vhost-user-input:
59 VirtualEthernet0/0/12 queue 1 (polling)
60 VirtualEthernet0/0/12 queue 3 (polling)
61 VirtualEthernet0/0/13 queue 1 (polling)
62 VirtualEthernet0/0/13 queue 3 (polling)
66 Clear the statistics for all interfaces (statistics associated with the
67 '*show interface*' command).
78 Example of how to clear the statistics for all interfaces:
80 .. code-block:: console
84 Set Interface Mac Address
85 =========================
86 The '*set interface mac address* ' command allows to set MAC address of
87 given interface. In case of NIC interfaces the one has to support MAC
88 address change. A side effect of MAC address change are changes of MAC
89 addresses in FIB tables (ipv4 and ipv6).
97 set interface mac address <interface> <mac-address>.
102 Examples of how to change MAC Address of interface:
104 .. code-block:: console
106 vpp# set interface mac address GigabitEthernet0/8/0 aa:bb:cc:dd:ee:01
107 vpp# set interface mac address host-vpp0 aa:bb:cc:dd:ee:02
108 vpp# set interface mac address tap-0 aa:bb:cc:dd:ee:03
109 vpp# set interface mac address pg0 aa:bb:cc:dd:ee:04
119 .. code-block:: shell
121 set interface mtu [packet|ip4|ip6|mpls] <value> <interface>.
123 Set Interface Promiscuous
124 =========================
129 .. code-block:: shell
131 set interface promiscuous [on|off] <interface>.
137 This command is used to change the admin state (up/down) of an
140 If an interface is down, the optional '*punt*' flag can also be set. The
141 '*punt*' flag implies the interface is disabled for forwarding but punt
142 all traffic to slow-path. Use the '*enable*' flag to clear '*punt*' flag
143 (interface is still down).
148 .. code-block:: shell
150 set interface state <interface> [up|down|punt|enable].
155 Example of how to configure the admin state of an interface to **up**:
157 .. code-block:: console
159 vpp# set interface state GigabitEthernet2/0/0 up
161 Example of how to configure the admin state of an interface to **down**:
163 .. code-block:: console
165 vpp# set interface state GigabitEthernet2/0/0 down