ONTAP 9.14.1 commands

vserver name-mapping swap

Exchange the positions of two name mappings

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver name-mapping swap command exchanges the positions of two name mappings in the priority list.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the Vserver on which the name mappings are located.

-direction {krb-unix|win-unix|unix-win|s3-unix|s3-win} - Direction

This parameter specifies the direction of the name mappings that you want to exchange. Each mapping direction (Kerberos-to-UNIX, Windows-to-UNIX, and UNIX-to-Windows) has its own priority list.

-position <integer> - Position

This parameter specifies the position in the priority list of the first name mapping that you want to exchange. Specify a position as a positive integer.

-with-position <integer> - Position of an existing name mapping entry in the list of name mappings for this Vserver. This entry will be swapped with the entry at 'position'.

This parameter specifies the position in the priority list of the second name mapping that you want to exchange. Specify a position as a positive integer.

Examples

The following example exchanges the positions of two name mappings on a Vserver named vs1. The name mappings have the direction Windows-to-UNIX. The name mappings are exchanged between positions 2 and 4.

cluster1::> vserver name-mapping swap -vserver vs1 -direction win-unix -position 2 -with-position 4
Top of Page