mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
docs: remove superfluous "vyos@vyos" prompt
This commit is contained in:
parent
a71cdcec33
commit
03eaf80e6f
@ -259,8 +259,6 @@ Exiting from a configuration level:
|
||||
|
||||
[edit interfaces ethernet eth0]
|
||||
vyos@vyos# exit
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
Exiting from configuration mode:
|
||||
|
||||
@ -285,8 +283,6 @@ Error message when trying to exit with uncommitted changes:
|
||||
vyos@vyos# exit
|
||||
Cannot exit: configuration modified.
|
||||
Use 'exit discard' to discard the changes and exit.
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
|
||||
Warning message when exiting with unsaved changes:
|
||||
@ -296,8 +292,6 @@ Warning message when exiting with unsaved changes:
|
||||
[edit]
|
||||
vyos@vyos# exit
|
||||
Warning: configuration changes have not been saved.
|
||||
exit
|
||||
vyos@vyos:~$
|
||||
|
||||
Load
|
||||
^^^^
|
||||
@ -358,8 +352,6 @@ In the example below exist a ``default-firewall.config`` file with some common f
|
||||
Loading configuration from '/config/default-firewall.config'...
|
||||
|
||||
Merge complete. Use 'commit' to make changes active.
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
vyos@vyos# show firewall
|
||||
+all-ping enable
|
||||
@ -418,7 +410,6 @@ See here how to move the configuration entrys from vlanid 3 to 2
|
||||
- address 10.4.4.4/32
|
||||
-}
|
||||
[edit interfaces ethernet eth1]
|
||||
vyos@vyos#
|
||||
|
||||
|
||||
Rollback
|
||||
@ -439,8 +430,6 @@ Use the compare command to verify the configuration you want to rollback to.
|
||||
Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2018):
|
||||
|
||||
The system is going down for reboot NOW!
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
Run
|
||||
^^^
|
||||
|
||||
@ -60,8 +60,6 @@ Results
|
||||
lo 127.0.0.1/8 u/u
|
||||
192.168.0.1/32
|
||||
::1/128
|
||||
vyos@vyos:~$
|
||||
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@ -82,8 +80,6 @@ Results
|
||||
C>* 192.168.0.1/32 is directly connected, lo, 00:57:36
|
||||
O>* 192.168.0.2/32 [110/1] via 192.168.0.2, eth1 onlink, 00:29:03
|
||||
* via 192.168.0.2, eth2 onlink, 00:29:03
|
||||
vyos@vyos:~$
|
||||
|
||||
|
||||
- Router B:
|
||||
|
||||
@ -99,8 +95,6 @@ Results
|
||||
lo 127.0.0.1/8 u/u
|
||||
192.168.0.2/32
|
||||
::1/128
|
||||
vyos@vyos:~$
|
||||
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@ -121,5 +115,3 @@ Results
|
||||
C>* 192.168.0.2/32 is directly connected, lo, 00:57:36
|
||||
O>* 192.168.0.1/32 [110/1] via 192.168.0.1, eth1 onlink, 00:29:03
|
||||
* via 192.168.0.1, eth2 onlink, 00:29:03
|
||||
vyos@vyos:~$
|
||||
|
||||
|
||||
@ -63,7 +63,6 @@ using the show configuration command.
|
||||
}
|
||||
}
|
||||
}
|
||||
vyos@vyos:~$
|
||||
|
||||
By default the configuration is displayed in a hierarchy like the example above,
|
||||
this is only one of the possible ways to display the configuration. When the
|
||||
@ -191,8 +190,6 @@ replacements and ``-`` for deletions.
|
||||
}
|
||||
loopback lo {
|
||||
}
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
It is also possible to display all `set` commands within configuration mode
|
||||
using ``show | commands``
|
||||
@ -224,8 +221,6 @@ level.
|
||||
[edit]
|
||||
vyos@vyos# exit
|
||||
Warning: configuration changes have not been saved.
|
||||
vyos@vyos:~$
|
||||
|
||||
|
||||
Managing
|
||||
========
|
||||
@ -280,9 +275,6 @@ configuration mode.
|
||||
vyos@vyos# save
|
||||
Saving configuration to '/config/config.boot'...
|
||||
Done
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
|
||||
Configuration mode can not be exited while uncommitted changes exist. To exit
|
||||
configuration mode without applying changes, the exit discard command can be
|
||||
@ -295,8 +287,6 @@ used.
|
||||
Use 'exit discard' to discard the changes and exit.
|
||||
[edit]
|
||||
vyos@vyos# exit discard
|
||||
exit
|
||||
vyos@vyos:~$
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@ -333,7 +323,6 @@ Command completion and syntax help with ``?`` and ``[tab]`` will also work.
|
||||
--------- ---------- --- -----------
|
||||
eth0 0.0.0.0/0 u/u
|
||||
|
||||
|
||||
Archive
|
||||
=======
|
||||
|
||||
@ -383,9 +372,6 @@ command:
|
||||
9 2013-12-12 15:42:07 root by boot-config-loader
|
||||
10 2013-12-12 15:42:06 root by init
|
||||
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
Comparing Revisions
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@ -426,8 +412,6 @@ apply the selected revision and trigger a system reboot.
|
||||
Proceed with reboot? [confirm][y]
|
||||
Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2013):
|
||||
The system is going down for reboot NOW!
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
Configuring the archive size
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@ -464,7 +448,6 @@ default one, you can enter the following command in configuration mode:
|
||||
load /opt/vyatta/etc/config.boot.default
|
||||
|
||||
You will be asked if you want to continue. If you accept, you will have to use
|
||||
``commit`` if you want to make the changes active.
|
||||
|
||||
Then you may want to ``save`` in order to delete the saved configuration too.
|
||||
|
||||
|
||||
@ -181,9 +181,6 @@ To login to the system, use the default username and password will be: ``vyos``
|
||||
permitted by applicable law.
|
||||
vyos@vyos:~$
|
||||
|
||||
vyos@vyos:~$ uname -a
|
||||
Linux vyos 4.19.79-amd64-vyos #23 SMP Mon Oct 1 17:29:22 CEST 2018 x86_64 GNU/Linux
|
||||
|
||||
Unlike general purpose Linux distributions, VyOS uses "image installation" that
|
||||
mimics the user experience of traditional hardware routers and allows keeping
|
||||
multiple VyOS versions installed simultaneously. This makes it possible to
|
||||
@ -253,7 +250,6 @@ the provided default credentials.
|
||||
|
||||
Setting up grub: OK
|
||||
Done!
|
||||
vyos@vyos:~$
|
||||
|
||||
After the installation is complete, remove the Live CD and reboot the system:
|
||||
|
||||
@ -262,7 +258,6 @@ After the installation is complete, remove the Live CD and reboot the system:
|
||||
vyos@vyos:~$ reboot
|
||||
Proceed with reboot? (Yes/No) [No] Yes
|
||||
|
||||
|
||||
.. _PXE Install:
|
||||
|
||||
PXE Install
|
||||
@ -307,8 +302,6 @@ In this example we configured an existent VyOS as the DHCP server:
|
||||
}
|
||||
}
|
||||
}
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
.. _tftp-server:
|
||||
|
||||
@ -339,8 +332,6 @@ In the example we configured our existent VyOS as the TFTP server too:
|
||||
vyos@vyos# show service tftp-server
|
||||
directory /config/tftpboot
|
||||
listen-address 192.168.1.50
|
||||
[edit]
|
||||
vyos@vyos#
|
||||
|
||||
Example of the contents of the TFTP server:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user