FortiLog CLI referenceCLI commands

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

 

 

protocol

nfs

 

 

 

 

 

 

 

 

 

 

share

workgroup <workgroup>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

user <user

uid <uid>

name <display name>

password <password>

 

 

name>

 

 

 

 

 

 

name <display name>

password <password>

 

 

 

 

 

 

 

 

 

 

 

 

set

nas

group <group

gid <gid>

members <members>

 

name>

 

 

 

 

members <members>

 

 

 

 

<return>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

share <share

path <local path> <return>

ro <ro list> <return>

rw <rw list> <return>

 

 

name>

 

 

 

 

 

 

 

 

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

 

When using Windows sharing, set the workgroup name.

 

<workgroup>

 

 

 

 

 

 

 

 

set nas user <username> uid <uid>

 

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

name <display name> password

 

number, display name and password.

 

<password>

 

 

 

 

 

 

 

 

set nas user <username> name

 

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

<display name> password

 

and password.

 

 

<password>

 

 

 

 

 

 

 

set nas group <group name> gid<gid>

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

members <members>

 

 

ID number and including members.

 

 

 

set nas group <group name> members

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

<members>

 

 

adding members.

 

 

 

 

 

set nas share <share name> path

 

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

<local path>

 

 

 

 

 

 

 

 

set nas share <share name> path

 

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

<local path> {ro <ro list> rw <rw list>}

share name and path.

 

 

 

 

 

set nas share <share name> path

 

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

<local path> rw<rw list>

 

 

 

 

 

 

 

 

set nas nfs path <local path>

 

Set a directory path for the network file system directory.

 

 

 

 

set nas nfs path <local path> {ro <ro

 

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

list> rw <rw list>}

 

 

network file share path.

 

 

 

 

 

set nas nfs path <local path> rw<rw

 

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

list>

 

 

 

 

 

 

 

 

 

 

 

 

FortiLog Administration Guide

05-16000-0082-20050115

103

Page 103
Image 103
Fortinet FortiLog-800, FortiLog-100, FortiLog-400 manual Set NAS, 103