mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-03 04:12:03 +01:00
config overview: migrate to reserved address space
This commit is contained in:
parent
dd50ab6032
commit
e063b6ad4c
@ -17,7 +17,7 @@ using the show configuration command.
|
|||||||
interfaces {
|
interfaces {
|
||||||
ethernet eth0 {
|
ethernet eth0 {
|
||||||
address dhcp
|
address dhcp
|
||||||
hw-id 00:0c:29:44:3b:0f
|
hw-id 00:53:dd:44:3b:0f
|
||||||
}
|
}
|
||||||
loopback lo {
|
loopback lo {
|
||||||
}
|
}
|
||||||
@ -78,7 +78,7 @@ running configuration.
|
|||||||
|
|
||||||
vyos@vyos:~$ show configuration commands
|
vyos@vyos:~$ show configuration commands
|
||||||
set interfaces ethernet eth0 address 'dhcp'
|
set interfaces ethernet eth0 address 'dhcp'
|
||||||
set interfaces ethernet eth0 hw-id '00:0c:29:44:3b:0f'
|
set interfaces ethernet eth0 hw-id '00:53:dd:44:3b:0f'
|
||||||
set interfaces loopback 'lo'
|
set interfaces loopback 'lo'
|
||||||
set service ssh port '22'
|
set service ssh port '22'
|
||||||
set system config-management commit-revisions '20'
|
set system config-management commit-revisions '20'
|
||||||
@ -170,7 +170,7 @@ replacements and ``-`` for deletions.
|
|||||||
ethernet eth0 {
|
ethernet eth0 {
|
||||||
description MY_OLD_DESCRIPTION
|
description MY_OLD_DESCRIPTION
|
||||||
disable
|
disable
|
||||||
hw-id 52:54:00:0e:82:d9
|
hw-id 00:53:dd:44:3b:03
|
||||||
}
|
}
|
||||||
loopback lo {
|
loopback lo {
|
||||||
}
|
}
|
||||||
@ -186,7 +186,7 @@ replacements and ``-`` for deletions.
|
|||||||
+ address dhcp
|
+ address dhcp
|
||||||
> description MY_NEW_DESCRIPTION
|
> description MY_NEW_DESCRIPTION
|
||||||
- disable
|
- disable
|
||||||
hw-id 52:54:00:0e:82:d9
|
hw-id 00:53:dd:44:3b:03
|
||||||
}
|
}
|
||||||
loopback lo {
|
loopback lo {
|
||||||
}
|
}
|
||||||
@ -198,7 +198,7 @@ using ``show | commands``
|
|||||||
|
|
||||||
vyos@vyos# show interfaces ethernet eth0 | commands
|
vyos@vyos# show interfaces ethernet eth0 | commands
|
||||||
set address dhcp
|
set address dhcp
|
||||||
set hw-id 00:0c:29:44:3b:0f
|
set hw-id 00:53:ad:44:3b:03
|
||||||
|
|
||||||
These commands are also relative to the level you are inside and only relevant
|
These commands are also relative to the level you are inside and only relevant
|
||||||
configuration blocks will be displayed when entering a sub-level.
|
configuration blocks will be displayed when entering a sub-level.
|
||||||
@ -208,7 +208,7 @@ configuration blocks will be displayed when entering a sub-level.
|
|||||||
[edit interfaces ethernet eth0]
|
[edit interfaces ethernet eth0]
|
||||||
vyos@vyos# show
|
vyos@vyos# show
|
||||||
address dhcp
|
address dhcp
|
||||||
hw-id 00:0c:29:44:3b:0f
|
hw-id 00:53:ad:44:3b:03
|
||||||
|
|
||||||
Exiting from the configuration mode is done via the ``exit`` command from the
|
Exiting from the configuration mode is done via the ``exit`` command from the
|
||||||
top level, executing `exit` from within a sub-level takes you back to the top
|
top level, executing `exit` from within a sub-level takes you back to the top
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user