rename
Syntax
rename <statement-path> identifier1 to identifier2
Description
Rename an existing configuration statement or identifier.
Options
identifier1 | Existing identifier to rename. |
identifier2 | New name of identifier. |
statement-path | (Optional) Path to an existing statement or identifier. |
Note:
For example, to rename interface ge-0/1/0.0
to ge-0/1/10.0
at the following hierarchy level:
logical-systems { logical-system-abc { (...) protocols { ospf { area 0.0.0.0 { interface ge-0/1/0.0;
Issue the following command:
rename logical-systems logical-system-abc protocols ospf area 0.0.0.0 interface ge-0/1/0.0.0 to interface ge-0/1/10.0
Required Privilege Level
configure—To enter configuration mode, but other required privilege levels depend on where the statement is located in the configuration hierarchy.
Release Information
Command introduced before Junos OS Release 7.4.