C613-50170-01 Rev B
Command Reference for x510 Series
1918
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L
OCAL
RADIUS S
ERVER
C
OMMANDS
COPY
LOCAL
-
RADIUS
-
USER
-
DB
(
FROM
FILE
)
copy local-radius-user-db (from file)
Overview
Use this command to copy the Local RADIUS server user data from a file. The file,
including the RADIUS user data in the file, must be in the CSV (Comma Separated
Values) format.
You can select
add
or
replace
as the copy method. The
add
parameter option
copies the contents of specified file to the local RADIUS server user database. If the
same user exists then the old user is removed before adding a new user. The
replace
parameter option deletes all contents of the local RADIUS server user
database before copying the contents of specified file.
Syntax
copy <
source-url
> local-radius-user-db [add|replace]
Default
When no copy method is specified with this command the
replace
option is
applied.
Mode
Privileged Exec
Examples
To replace the current local RADIUS server user data to the contents of
http://datahost/ user.csv, use the following command:
awplus#
copy http://datahost/user.csv local-radius-user-db
To add the contents of http://datahost/user.csv to the current local RADIUS server
user database, use the following command:
awplus#
copy http://datahost/user.csv local-radius-user-db add
Related
commands
copy fdb-radius-users (to file)
copy local-radius-user-db (to file)
Parameter
Description
<
source-url
>
URL of the source file.
add
Add file contents to local RADIUS server user database.
replace
Replace current local RADIUS server user database with
file contents.