Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

Modifying the Junos OS Configuration

To configure a device running Junos OS or to modify an existing Junos configuration, you add statements to the configuration. For each statement hierarchy, you create the hierarchy starting with a statement at the top level and continuing with statements that move progressively lower in the hierarchy.

To modify the hierarchy, you use two configuration mode commands:

  • edit—Moves to a particular hierarchy level. If that hierarchy level does not exist, the edit command creates it. The edit command has the following syntax:
    edit <statement-path>
  • set—Creates a configuration statement and sets identifier values. After you issue a set command, you remain at the same level in the hierarchy. The set command has the following syntax:
    set <statement-path> statement <identifier>

    statement-path is the hierarchy to the configuration statement and the statement itself. If you have already moved to the statement’s hierarchy level, you can omit the statement path. statement is the configuration statement itself. identifier is a string that identifies an instance of a statement.

You cannot use the edit command to change the value of identifiers. You must use the set command.

 

Related Documentation

 

Published: 2012-11-27

 

Related Documentation

 

Published: 2012-11-27