Which command do you use to navigate to [edit interfaces]?
Click on the arrows to vote for the correct answer
A. B. C. D.C
The correct answer is C. edit interfaces
Explanation:
Junos OS uses a hierarchical configuration model, where different parts of the configuration are stored in separate sections, or "hierarchy levels". The interfaces
configuration hierarchy level is where you configure the physical and logical interfaces of your Juniper device.
To navigate to the interfaces
hierarchy level in configuration mode, you use the edit
command followed by the hierarchy level name, like this:
graphqlroot@junos-device# edit interfaces
This command will switch you to configuration mode and move the cursor to the interfaces
hierarchy level. From there, you can use various commands to add, modify or delete interface configurations.
Option A, cd interfaces
, is not a valid Junos command. The cd
command is used to change directories in the Junos file system, but it doesn't apply to configuration hierarchy levels.
Option B, dir edit interfaces
, is also not a valid Junos command. The dir
command is used to display the contents of a directory in the file system, but it doesn't apply to configuration hierarchy levels.
Option D, interfaces
, is not a valid command either. It's a hierarchy level name, but it doesn't do anything on its own. You need to use the edit
command to navigate to the interfaces
hierarchy level.