beautypg.com

Deleting a user record from a local user database, Creating a text file of user records – Brocade FastIron Ethernet Switch Security Configuration Guide User Manual

Page 297

background image

Syntax: username username password password

For username , enter up to 31 ASCII characters.

For username , 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 321.

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.

device(config)# local-userdb userdb1

device(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.

device(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

[no] username

username2

password

password2

cr

...

The [delete-all] keyword indicates that the user records in the text file will replace the user records in the
specified local user database on the FastIron switch. If the [delete-all] keyword is not present, the new
user records will be added to the specified local user database on the FastIron switch. The [delete-all]
keyword is optional. If present, it must appear on the first line, before the first user record in the text file.

The optional [no] keyword indicates that the user entry will be deleted from the specified local user
database on the FastIron switch.

User records that already exist in the local user database will be updated with the information in the text
file when it is uploaded to the switch.

For username1 , username2 , etc., enter up to 31 ASCII characters.

Deleting a user record from a local user database

FastIron Ethernet Switch Security Configuration Guide

297

53-1003088-03