Set nas, 103 set nas – Fortinet FortiLog-400 User Manual

Page 103

Advertising
background image

FortiLog CLI reference

CLI commands

FortiLog Administration Guide

05-16000-0082-20050115

103

set NAS

Use set NAS to configure the FortiLog NAS server settings when using the FortiLog

unit in Passive mode.

Table 9: set NAS command architecture

set

nas

protocol

nfs
share

workgroup <workgroup>

user <user

name>

uid <uid>

name <display name>

password <password>

name <display name>

password <password>

group <group

name>

<return>

gid <gid>

members <members>

members <members>

share <share

name>

path <local path> <return>

ro <ro list> <return>

rw <rw list> <return>

rw <rw list>

nfs

path <local path> <return>

ro <ro list> <return>

rw <rw list> <return>

rw <rw list>

Commands

Description

set nas protocol {nfs | share}

Set the FortiLog unit’s passive mode sharing to either Network File System or

windows sharing.

set nas protocol share workgroup
<workgroup>

When using Windows sharing, set the workgroup name.

set nas user <username> uid <uid>
name <display name> password
<password>

Set up a user to have access to file sharing by setting their user name, user ID

number, display name and password.

set nas user <username> name
<display name> password
<password>

Set up a user to have access to file sharing by setting their user name, display name

and password.

set nas group <group name> gid<gid>
members <members>

Set up a user group to have access to file sharing by setting the group name, group

ID number and including members.

set nas group <group name> members
<members>

Set up a user group to have access to file sharing by setting the group name and

adding members.

set nas share <share name> path
<local path>

Set a Windows share name and path to the shared directory.

set nas share <share name> path
<local path> {ro <ro list> | rw <rw list>}

Set user permissions, either read only or read and write for a specified Windows

share name and path.

set nas share <share name> path
<local path> rw<rw list>

Set user read & write permissions for a specified Windows share name and path.

set nas nfs path <local path>

Set a directory path for the network file system directory.

set nas nfs path <local path> {ro <ro
list> | rw <rw list>}

Set the users and their permissions, either read only or read and write for a specified

network file share path.

set nas nfs path <local path> rw<rw
list>

Set the user read & write permissions for a specified network file share path.

Advertising
This manual is related to the following products: