Related Documentation
- EX, J, M, MX, PTX, T Series
- Example: Copying a Statement in the Junos Configuration
- Adding Junos Configuration Statements and Identifiers
Copying a Junos Statement in the Configuration
When you have many similar statements in a Junos configuration, you can add one statement and then make copies of that statement. Copying a statement duplicates that statement and the entire hierarchy of statements configured under that statement. Copying statements is useful when you are configuring many physical or logical interfaces of the same type.
To make a copy of an existing statement in the configuration, use the configuration mode copy command:
Immediately after you have copied a portion of the configuration, the configuration might not be valid. You must check the validity of the new configuration, and if necessary, modify either the copied portion or the original portion for the configuration to be valid.
Related Documentation
- EX, J, M, MX, PTX, T Series
- Example: Copying a Statement in the Junos Configuration
- Adding Junos Configuration Statements and Identifiers
Published: 2012-11-27
Related Documentation
- EX, J, M, MX, PTX, T Series
- Example: Copying a Statement in the Junos Configuration
- Adding Junos Configuration Statements and Identifiers