Chapter 7 NAS Function Setting and Display
7.1 Shared Folders > set nas-share
-cifs-deny-host
■
Example(s)
The following example shows settings for changing the access privileges of shared folders #2 and #4 to Read
only:
CLI> set nas-share -share-number 2,4 -access r
The following example shows settings for unsharing the "NewFolder" shared folder:
CLI> set nas-share -share-name NewFolder -share inactive
Optional. This parameter specifies the host that is denied access to the shared folder. Multiple
hosts can be specified by inserting a comma (,) between them as a delimiter. If omitted, this
parameter is not changed. This parameter can be specified only when CIFS or NFS/CIFS is used
as the protocol.
Specify the hosts, including ones that have already been denied access.
The following formats are available:
•
single host
Example: 10.123.123.123
•
netgroup
Example: @group
•
IP network
Example: 10.123.123.0/255.255.255.0
However, the specified string is not checked. Therefore, use of a format other than the above
does not result in an error.
There is no limit on the number of characters (limited by the maximum length, 5,120
characters, of a CLI command.) To delete a setting, specify a null character ("").
deny-host
Host that is denied access to the shared folder
""
The setting is deleted.
ETERNUS CLI User's Guide
Copyright 2014 FUJITSU LIMITED
745
P2X0-1210-05ENZ0