To configure a JUNOS device 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 <statement-path>
- 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.