Table of ContentsLibraryView in Frames

Disallowing a protocol for a vFiler unit

By default, a vFiler unit can use protocols for the host storage system. You can select the protocols that you want to restrict on the vFiler units.

Considerations

If a CIFS, NFS, iSCSI, FTP, or HTTP protocol is running and you restrict it, the protocol continues to run until the storage system reboots, but packets destined for the vFiler unit are ignored.

Step

  1. To restrict a protocol, enter the following command:vfiler disallow vfilertemplate proto=protocol ...

    protocol is nfs, cifs, iscsi, rsh, ssh, ftp, or http.

    Example

    The following command restricts the NFS and RSH protocols on the vFiler unit named vfiler1:vfiler disallow vfiler1 proto=nfs proto=rsh

Effects of restricting iSCSI: After iSCSI is restricted on a vFiler unit, the following conditions apply on that vFiler unit:
  • You cannot start iSCSI.
  • No new iSCSI sessions are allowed.
  • iSCSI commands on existing sessions are rejected.

Effects of restricting FTP: After FTP is restricted on a vFiler unit, no new FTP connections are allowed to the vFiler unit; however transfers that started before FTP was restricted will finish.

Effects of restricting HTTP: After HTTP is restricted on a vFiler unit, no new HTTP connections are allowed on the vFiler unit. Each new request receives a "503 HTTP server is disabled" message. Any existing connections remain alive.

Effects of restricting RSH and SSH: Although the Data ONTAP rsh.enable and ssh.enable option values (On or Off) determine whether the RSH or SSH server is enabled or disabled on a storage system, restricting RSH or SSH on a vFiler unit is independent of the value for that option. A vFiler unit can be configured to restrict RSH or SSH even when the corresponding enable option is set to On.

Note: To allow RSH on a vFiler unit, you must have the rsh.enable option set to On . To allow SSH on a vFiler unit, you must have the ssh.enable option set to On.