Configuration Guide User guide

FastIron Configuration Guide 1893
53-1002494-02
Web authentication mode configuration
This command creates a local user database named userdb1. To add user records to this
database, refer to Adding a user record to a local user database” on page 1893.
Syntax: local-userdb <db-name>
You can create up to ten local user databases for Web Authentication.
For <db-name>, enter up to 31 alphanumeric characters.
Adding a user record to a local user database
To add a user record, enter commands such as the following.
Brocade#(config)#local-userdb userdb1
Brocade#(config-localuserdb-userdb1)#username marcia password bunch4
The first command changes the configuration level to the local user database level for userdb1. If
the database does not already exist, it is created. The second command adds the user record
marcia to the userdb1 database.
Syntax: username <username> password <password>
For <username>, enter up to 31 ASCII characters.
For <password>, enter up to 29 ASCII characters.
You can add up to 30 usernames and passwords to a local user database.
To view a list of users in a local user database, use the CLI command vlan-mod-port-userdb. Refer
to “Displaying a list of local user databases” on page 1919.
Deleting a user record from a local user database
To delete a user record from the local user database, enter commands such as the following.
Brocade#(config)#local-userdb userdb1
Brocade#(config-localuserdb-userdb1)#no username marcia
The first command changes the configuration level to the local user database level for userdb1.
The second command deletes the user record marcia from the userdb1 database.
Syntax: no username <username>
Deleting All user records from a local user database
To delete all user records from a local user database, enter the delete-all command.
Brocade#(config-localuserdb-userdb1)#delete-all
Syntax: delete-all
Creating a text file of user records
If desired, you can use the TFTP protocol to import a list of usernames and passwords from a text
file on a TFTP server to the FastIron switch. The text file to be imported must be in the following
ASCII format.
[delete-all]
[no] username <username1> password <password1> <cr>