Command Manual – AAA RADIUS HWTACACS
H3C S7500E Series Ethernet Switches
Chapter 1 AAA/RADIUS/HWTACACS
Configuration Commands
1-32
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.
z
If the specified directory carries with information about the slot where the
secondary board is inserted, FTP/SFTP users cannot log in after
primary-to-secondary switching. It is not recommended to carry with slot
information when you specify a work directory.
Examples
# Specify the directory accessible to FTP/SFTP users.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] work-directory flash:
1.2 RADIUS Configuration Commands
1.2.1 data-flow-format
Syntax
data-flow-format
{
data
{
byte
|
giga-byte
|
kilo-byte
|
mega-byte
}
|
packet
{
giga-packet
|
kilo-packet
|
mega-packet
|
one-packet
} }*
undo data-flow-format
{
data
|
packet
}
View
RADIUS scheme view
Parameters
data
: Specifies the unit for data flows, which can be byte, kilobyte, megabyte, or
gigabyte.
packet
: Specifies the unit for data packets, which can be one-packet, kilo-packet,
mega-packet, or giga-packet.