To change to a different location in the configuration
hierarchy and/or to modify a setting, use the
edit
command.
The
edit
commands are very similar to the
set
commands,
except that when you enter an
edit
command, you
switch context to the corresponding node in the command hierarchy.
This can be useful if you need to enter several commands in a node
that is nested far down in the command hierarchy. For example, if
you want to configure all of the NTP server settings, instead of
entering the full command syntax each time using the
set
command,
you could use the
edit
command to move to
the
ntp-servers
node as follows: