3com S7906E Guide De Référence
1-29
Description
Use the state command to configure the status of the current ISP domain or local user.
By default, an ISP domain is active when created. So is a local user.
By blocking an ISP domain, you disable users of the domain that are offline from requesting network
services. Note that the online users are not affected.
By blocking a user, you disable the user from requesting network services. No other users are affected.
Related commands: domain.
Examples
# Place the current ISP domain aabbcc.net to the state of blocked.
<Sysname> system-view
[Sysname] domain aabbcc.net
[Sysname-isp-aabbcc.net] state block
# Place the current user user1 to the state of blocked.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-user-user1] state block
work-directory
Syntax
work-directory directory-name
undo work-directory
View
Local user view
Default Level
3: Manage level
Parameters
directory-name: Name of the directory that FTP/SFTP users are authorized to access, a
case-insensitive string of 1 to 135 characters.
Description
Use the work-directory command to specify the directory accessible to FTP/SFTP users.
Use the undo work-directory command to restore the default.
By default, FTP/SFTP users can access the root directory of the device.
Note that:
z
The specified directory accessible to users must exist.
z
If you use a file system command to delete the specified directory, FTP/SFTP users will no longer
access the directory.