ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver context

    Set Vserver context

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

    Description

    Cluster administrators can use the vserver context command to login to a specified Vserver with a specified Vserver user name. All subsequent commands will be issued in the context of that Vserver. The role of the cluster administrator will be the same as that of the user name with which the Vserver context was set. The context is valid for the duration of the CLI or Web UI session in which it is specified. The exit command can be used to return to the original context.

    Parameters

    -vserver <vserver> - Vserver

    Use this parameter to specify the Vserver.

    [-username <text>] - Vserver Administrator User Name

    Use this parameter to specify a Vserver administrator user name for the context. The default value vsadmin is used if one is not specified.

    Examples

    The following example sets the CLI context to Vserver vs0.example.com . All subsequently issued commands will be executed in the context of that Vserver:

    cluster1::> vserver context -vserver vs0.example.com
        Info: Use 'exit' command to return.
        vs0.example.com::>
    Top of Page