Table Of Contents
U Commands
use-profile
username
U Commands
The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.
•use-profile
•username
use-profile
To bind a profile to the FCIP interface, use the use-profile option. To disable a configured profile, use the no form of the option.
use-profile profile-id
no use-profile profile-id
Syntax Description
use-profile
|
Configures the interface using an existing profile.
|
profile-id
|
Enters the profile ID to be used from 1 to 255.
|
Defaults
None.
Command Modes
Configuration mode
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.1(1).
Usage Guidelines
Access this command from the switch(config-if)# submode.
Binds the profile with the FCIP interface.
Examples
switch(config)# interface fcip 50
switch(config-if)# use-profile 100
switch(config-if)# no use-profile 100
Related Commands
Command
|
Description
|
show interface fcip
|
Displays an interface configuration for a specified FCIP interface.
|
show fcip
|
Displays information about the FCIP profile.
|
username
To define a user, use the username command in configuration mode. Use the no form of a command to undo the configuration or revert to factory defaults.
username name [expire date] [iscsi ] [role string] [sshkey key_content] [password [0 | 5
user-password] [update-snmpv3]
no username name [expire date] [iscsi ] [role string] [sshkey key_content] [password [0 | 5
user-password] [update-snmpv3]
Syntax Description
name
|
The name of the user. Maximum length is 32 characters.
|
expire
|
Date when this user account expires (in YYYY-MM-DD format).
|
date
|
The expiration date.
|
iscsi
|
Identifies an iSCSI user
|
password
|
Password for the user.
|
user-password
|
The password. Maximum length is 32 characters.
|
0
|
Password for the user (clear text)
|
5
|
Strongly encrypted password
|
role
|
Role which the user is to be assigned
|
sshkey
|
Updates the SSH key to authenticate a SSH user.
|
key_content
|
The actual contents of the SSH public key.
|
update-snmpv3
|
Update SNMPv3 password also (provide old SNMPv3 password)
|
Defaults
None.
Command Modes
Configuration mode.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage Guidelines
None.
Examples
The following example shows how to define a user.
switch(config)# username knuckles password testpw role bodega
switch(config)# do show user-account
this user account has no expiry date
this user account has no expiry date
The following example configures the name and password for a a user to login using iSCSI authentication:.
switch(config)# username iscsiuser password ffsffsfsffs345353554535 iscsi