summaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/users/configutil/usingvppconfig.rst
blob: 4f1ce6c3c301becadaa442efea0073a5b159d054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.. _usingvppconfig.rst:

*******
Running
*******

The vpp-config utility provides the user with several different menus. This allows the
user to configure ports, some performance characteristics, the number of huge pages
and install/uninstall the released FD.io packages.

It is recommended that the menu options are executed in this order.

#. :ref:`4) List/Install/Uninstall VPP <config-command-four>`
#. :ref:`1) Show basic system information <config-command-one>`
#. :ref:`2) Dry Run <config-command-two>`
#. :ref:`3) Full Configuration <config-command-three>`

Once vpp-config is installed as a root user execute the following

.. code-block:: console

    $ sudo -H bash
    # vpp-config
    
    Welcome to the VPP system configuration utility
    
    These are the files we will modify:
        /etc/vpp/startup.conf
        /etc/sysctl.d/80-vpp.conf
        /etc/default/grub
    
    Before we change them, we'll create working copies in /usr/local/vpp/vpp-config/dryrun
    Please inspect them carefully before applying the actual configuration (option 3)!
    
    What would you like to do?
    
    1) Show basic system information
    2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
    4) List/Install/Uninstall VPP.
    q) Quit
    
    Command:

Default Values
==============

If you do not choose to modify the default for any of the questions prompted by vpp-config,
you may press the ENTER key to select the default options:

* Questions that ask [Y/n], the capital letter Y is the default answer.
* Numbers have their default within brackets, such as in [1024], the 1024 is the default.