3Com V7000 Network Router User Manual


 
154 CHAPTER 10: MANAGING USER ACCOUNTS USING THE COMMAND LINE INTERFACE
Note the following syntax considerations:
Full parameter and abbreviated parameter names must be prefaced
with two hyphens (for example,
--password).
String parameter values that include spaces, punctuation, or special
characters must be enclosed in double quotation marks. For example,
the address 26 Granite Street must be entered as
--street1 “26
Granite Street”
. In general, it is advisable to avoid using characters
such as:
‘ and “ (single double quotation marks
< or > (angle brackets)
; (semicolon)
? (question mark)
! (exclamation mark
/ or \ (slash marks)
The --password parameter sets the password the user enters to
access the VCX User Provisioning web interface. The user also must
have a password to log in to the phone configured with the specified
extension (
--phone parameter value). By default, this phone password
is 12345.
Command Modes The user-MAC command operates in three modes:
Add — This is the default mode. To add a new user account, you
must enter the
user-MAC command with the --uname and --phone
parameters; all other parameters are optional.
Delete — To delete a user account, you enter the user-MAC
command with the
--delete and --uname parameters.
Modify — To modify a user account, you enter the user-MAC
command with the
--modify and --uname parameters, plus the
parameters you want to change.
If you want to change a user’s phone extension, you must enter the
user-MAC command with --modify plus the --phone parameter
(specifying the existing phone extension) and the
--new-phone
parameter (specifying the new phone extension). The existing
extension is required because the user may have more than one
assigned phone extension.