Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

edit

Navigates to a subnode in the configuration tree for editing.

edit path
path
The path to a node of the configuration tree you want to edit.

Configuration mode

Use this command to navigate to a specific configuration subnode for editing. The [edit] prompt changes dynamically to mark your place in the configuration tree.

Once at that location, any actions you take such as showing, creating, or deleting configuration are relative to your location in the tree.

You can navigate only to a configuration node that has already been created and committed. Configuration nodes are created and modified by using set and are committed by using commit.

In the following example, the user begins at the top of the configuration tree in configuration mode and navigates to the system login configuration node. Once at the system login node, a show command displays just the contents of the login node.

In the example, notice that the prompt changes to [edit system login] to mark the location in the configuration tree.

vyatta@vyatta# edit system login 
[edit system login] 
vyatta@vyatta# show
user mike {
    authentication {
        encrypted-password $1$hccJixQo$V6sL5hDl6CUmVZvaH1vTf0
        plaintext-password ""
    }
}
user Vyatta {
    authentication {
        encrypted-password $1$$Ht7gBYnxI1xCdO/JOnodh.
    }
}
[edit system login]