docs: better docs, mv doxygen to sphinx
[vpp.git] / docs / usecases / vhost / vhost04.rst
1 .. _vhost04:
2
3 Cleanup
4 -------
5
6 Destroy the VMs with "virsh destroy"
7
8 .. code-block:: console
9
10     cto@tf-ucs-3:~$ virsh list
11      Id    Name                           State
12     ----------------------------------------------------
13      65    iperf-server3                  running
14
15     cto@tf-ucs-3:~$ virsh destroy iperf-server3
16     Domain iperf-server3 destroyed
17
18
19 Delete the Virtual port in FD.io VPP
20
21 .. code-block:: console
22
23     vpp# delete vhost-user VirtualEthernet0/0/0
24     vpp# show int
25                   Name               Idx       State          Counter          Count
26     TenGigabitEthernet86/0/0          1         up       rx packets                    21
27                                                          rx bytes                    1928
28                                                          tx packets                    19
29                                                          tx bytes                    1694
30     TenGigabitEthernet86/0/1          2        down
31     local0                            0        down
32
33 Restart FD.io VPP
34
35 .. code-block:: console
36
37     # service vpp restart
38     # vppctl show int
39                   Name               Idx       State          Counter          Count
40     TenGigabitEthernet86/0/0          1        down
41     TenGigabitEthernet86/0/1          2        down
42     local0                            0        down
43