McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)

McDATA® 4Gb SAN Switch for HP p-Class BladeSystem command line interface guide 79
Modifying the security database
To modify the security database, you must open an Admin session with the Admin Start command. An
Admin session prevents other accounts from making changes at the same time either through Telnet or
McDATA Web Server. You must also open a Security Edit session with the Security Edit
command. The Security Edit session provides access to the Securityset, Group, and Security
commands with which you make modifications to the security database.
McDATA4GbSAN #> admin start
McDATA4GbSAN (admin) #> security edit
McDATA4GbSAN (admin-security)#> securityset . . .
McDATA4GbSAN (admin-security)#> group . . .
McDATA4GbSAN (admin-security)#> security . . .
During the Security Edit session, if you want to discard changes without closing the session, enter the
Security Restore command. When you are finished making changes, enter the Security Save
command to save the changes and close the Security Edit session. To close the session without saving
changes, enter the Security Cancel command as shown in the following example:
McDATA4GbSAN (admin-security)#> security save
Changes to the active security set do not take effect until you activate it with the Security Activate
command. The Admin End command releases the Admin session for other administrators when you are
done making changes to the switch as shown in the following example:
McDATA4GbSAN (admin)#> security activate
McDATA4GbSAN (admin)#> admin end
See the ”Security command” on page 139.
Resetting the security database
There are two ways to remove all groups and security sets from the security database:
Enter the Security Clear command as shown in the following example:
McDATA4GbSAN (admin-security) #> security clear
All security information will be cleared. Please confirm (y/n): [n] y
McDATA4GbSAN (admin-security) #> security save
Enter the Reset Security command as shown in the following example. The security configuration
values, autosave and fabric binding remain unchanged.
McDATA4GbSAN (admin) #> reset security
See the ”Security command” on page 139.
See the ”Reset command” on page 132.