John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame^] | 1 | .. _usingvppconfig.rst: |
| 2 | |
| 3 | ******* |
| 4 | Running |
| 5 | ******* |
| 6 | |
| 7 | The vpp-config utility provides the user with several different menus. This allows the |
| 8 | user to configure ports, some performance characteristics, the number of huge pages |
| 9 | and install/uninstall the released FD.io packages. |
| 10 | |
| 11 | It is recommended that the menu options are executed in this order. |
| 12 | |
| 13 | #. :ref:`4) List/Install/Uninstall VPP <config-command-four>` |
| 14 | #. :ref:`1) Show basic system information <config-command-one>` |
| 15 | #. :ref:`2) Dry Run <config-command-two>` |
| 16 | #. :ref:`3) Full Configuration <config-command-three>` |
| 17 | |
| 18 | Once vpp-config is installed as a root user execute the following |
| 19 | |
| 20 | .. code-block:: console |
| 21 | |
| 22 | $ sudo -H bash |
| 23 | # vpp-config |
| 24 | |
| 25 | Welcome to the VPP system configuration utility |
| 26 | |
| 27 | These are the files we will modify: |
| 28 | /etc/vpp/startup.conf |
| 29 | /etc/sysctl.d/80-vpp.conf |
| 30 | /etc/default/grub |
| 31 | |
| 32 | Before we change them, we'll create working copies in /usr/local/vpp/vpp-config/dryrun |
| 33 | Please inspect them carefully before applying the actual configuration (option 3)! |
| 34 | |
| 35 | What would you like to do? |
| 36 | |
| 37 | 1) Show basic system information |
| 38 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection) |
| 39 | 4) List/Install/Uninstall VPP. |
| 40 | q) Quit |
| 41 | |
| 42 | Command: |
| 43 | |
| 44 | Default Values |
| 45 | ============== |
| 46 | |
| 47 | If you do not choose to modify the default for any of the questions prompted by vpp-config, |
| 48 | you may press the ENTER key to select the default options: |
| 49 | |
| 50 | * Questions that ask [Y/n], the capital letter Y is the default answer. |
| 51 | * Numbers have their default within brackets, such as in [1024], the 1024 is the default. |