Up (command)

From VyOS Wiki
Jump to: navigation, search

The `up` command allows you to navigate one level higher in the configuration tree. To get to the top, you can either use the `up` command repeatedly or simply use the `top` command. To navigate down in the tree, use the `edit` command.

Syntax

[edit interfaces ethernet eth0]
vyos@vyos# up
[edit interfaces]
vyos@vyos#

Examples

[edit interfaces ethernet eth0 vif 222 ip]
vyos@vyos# up
[edit interfaces ethernet eth0 vif 222]
vyos@vyos# up
[edit interfaces ethernet eth0]
vyos@vyos# up
[edit interfaces]
vyos@vyos# up
[edit]
vyos@vyos#

Command tree