Navigate
VyOS
Phone +1 323 488 2459
menu Close
  • Knowledgebase
  • News
  • Downloads
  • Contact Us
  • Register

  • or
  • Login
    Need a password reminder?
  • English
    Español
or
  • Portal
  • Knowledgebase
  • General
  • CLI Reference
  • Edit (command)
  • Knowledgebase Read help articles
  • News News & updates
  • Downloads Browse our downloads
  • Contact Us We are here to help

Edit (command)

Dmitriy Eshenko
2019-10-01
0 Comments
in CLI Reference
Subscribe Download PDF

The edit command allows you to navigate down into the configuration tree. To get back to an upper level, use the up command or use the top command to get back to the upper most level. The [edit] text displays where the user is located in the configuration tree.

Syntax

[edit]
[email protected]# edit <section>

Examples:

To navigate from the top level down to the interfaces section:

[edit]
[email protected]# edit interfaces
[edit interfaces]
[email protected]#

As expected, the [edit] changed to [edit interfaces]. It's possible to navigate down multiple levels at once:

[edit]
[email protected]# edit interfaces ethernet eth0 vif 222
[edit interfaces ethernet eth0 vif 222]

It's possible to navigate to any node further down, it's not necessary to start from the top:

[edit]
[email protected]# edit interfaces
[edit interfaces]
[email protected]# edit ethernet eth0
[edit interfaces ethernet eth0]

Quick Jump
  • Knowledgebase
  • News
  • Downloads
  • Contact Us
Top
Helpdesk software provided by Deskpro