Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

rename

Syntax

rename <statement-path> identifier1 to identifier2

Release Information

Command introduced before Junos OS Release 7.4.

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/0/0.0 to ge-0/0/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.

Published: 2012-11-27