[8.x] Node Path Re-Name

MVP
MVP
Requirement:

Sometimes we might come to a situation where we need to rename the existing node name to the specified name or new name.



Solution:

Starting from 8.2 we got a new command to rename a node path to the specified new name.



Configuration:

By using following command, we can renames a node path to the specified new name.

configuration rename
<old-path>
<new-path>

Here <old-path> -- Name and path of the node to be renamed.

<new-path> --Renames the existing node name to the specified name. The node paths of the child nodes under the renamed node are automatically updated.

 

Example


The following command renames the /mm/mynode/old node-path to the /mm/mynode/new node:
(host) [mynode] (config) #configuration rename /mm/mynode/old /mm/mynode/new



Verification

We can use show configuration node-hierarchy command to view the list of all nodes in the configuration hierarchy. 

Version history
Revision #:
1 of 1
Last update:
‎02-28-2018 01:35 AM
Updated by:
 
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: