2.2. User Management Commands

2.2.1. username

Command Purpose

Use this command to create or delete a local user account on the switch.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

username WORD

no username WORD

Parameter

Parameter Description

Parameter Value

username

Establish User Name Authentication

-

WORD

User name

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to add a user named testName:

Switch# configure terminal
Switch(config)# username testName

2.2.2. username password

Command Purpose

Use this command to add username and password.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

username WORD password ( 8 | ) LINE

Parameter

Parameter Description

Parameter Value

WORD

User name

-

Password

Password for username

-

(8|)

Specifies a hidden password will follow

-

LINE

User password string

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to add a user named testName and with the password of 123456:

Switch# configure terminal
Switch(config)# username testName password 123456

Related Commands

None

2.2.3. username secret

Command Purpose

Use this command to add username and password and the password will be encrypted by the switch.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

username WORD secret LINE

Parameter

Parameter Description

Parameter Value

WORD

User name

-

secret

Specify the secret for the user

-

LINE

User privilege level

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to add a user named testName and with the password of 123456:

Switch# configure terminal
Switch(config)# username testName secret 123456

Related Commands

None

2.2.4. username privilege

Command Purpose

Use this command to set a local user account with privilege level on the switch.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

username WORD privilege <1-4>

Parameter

Parameter Description

Parameter Value

username WORD

User name

-

privilege <1-4>

ser privilege level

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to add a user with privilege level of 2:

Switch# configure terminal
Switch(config)# username testName privilege 2

Related Commands

None

2.2.5. username service-type

Command Purpose

Use this command to set the user service type.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

username WORD service-type ( { rpc-api | ssh | telnet | web | ftp-server } | all | none )

Parameter

Parameter Description

Parameter Value

username WORD

User name

-

service-type

User service type(include rpc-api, ssh, telnet, web ftp-server)

-

Command Mode

Global Config

Default

Allow all user service type

Usage

None

Examples

This is a sample show how to set only support rpc-api user service-type:

Switch# configure terminal
Switch(config)# username testName service-type rpc-api

Related Commands

None

2.2.6. username privilege password

Command Purpose

Use this command to set a local user account with privilege level and password on the switch.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

username WORD privilege <1-4> password ( 8 | ) LINE

Parameter

Parameter Description

Parameter Value

WORD

User name

-

privilege <1-4>

User privilege level

-

8

Specifies a HIDDEN password will follow

-

LINE

User password string

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to add a user with privilege level of 2 and password of 123456:

Switch# configure terminal
Switch(config)# username testName privilege 2 password 123456

Related Commands

None

2.2.7. re-username newname

Command Purpose

Use this command to reset username.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

re-username WORD newname WORD

Parameter

Parameter Description

Parameter Value

re-username WORD

Old user name

-

newname WORD

New user name

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to reset username:

Switch# configure terminal
Switch(config)# re-username testName newname newname

Related Commands

None

2.2.8. cipher detect

Command Purpose

Use this command to set high level of cipher detect.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

cipher detect ( strong ( level ( 1 | 2 ) | ) | normal | none )

Parameter

Parameter Description

Parameter Value

strong

Cipher`s length must range form to 63 and must contain two type of digital, normal char and special char

-

strong level 1

Cipher`s length must range form to 63 and must contain two type of digital, normal char and special char

-

strong level 2

Cipher`s length must no less than 8 and consists of upper-case letters, lower-case letters, digits, and special characters and isusername-independent.

-

normal

Cipher`s length must range form 8 to 63

-

none

Disable security check

-

Command Mode

Global Config

Default

None

Usage

None

Examples

This is a sample output from this command displaying how to set high level of cipher detect:

Switch# configure terminal
Switch(config)# cipher detect strong

Related Commands

None