Four Frequently Used Junos Configuration Commands

Configuration mode provides four commands – edit, top, up, and exit – for moving up, down and through the Junos hierarchy. Apply these commands precisely where they belong. You will use them again and again.

edit: Jumps you to an exact location that you specify within the hierarchy in which you are currently working. You issue the relative path based on your location in the hierarchy:

You can only move up and down a particular hierarchy — not across the hierarchies — with the edit command. To move to another hierarchy, you must first go back to the top of configuration mode to the edit banner.