You can use the vfiler rename command to rename the vFiler unit, for example, when you want the vFiler unit to have a unique name.
You should not rename a vFiler unit while it is being migrated. If you rename a vFiler unit that is being migrated, the migrate command on the remote system fails.
The new name for the vFiler unit should not exist on the storage system or on the partner storage system in an HA pair.
Although Data ONTAP allows the storage system and its partner to have vFiler units with identical names, it is easier to administer the storage systems if each vFiler unit has a unique name.
The following command renames the vFiler unit vfiler1 as vfiler2: