Page 536 / 757 Scroll up to view Page 531 - 535
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
532
debug ospf log state
Purpose
Used to enable or disable the debug OSPF log.
Syntax
debug ospf log state [enable | disable]
Description
This command is used to enable or disable the debug OSPF log.
Parameters
state
- The state of the OSPF debug log.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable the OSPF debug log:
DGS-3627:admin# debug ospf log state enable
Command: debug ospf log state enable
Success.
DGS-3627:admin#
debug ospf show log state
Purpose
Used to display the OSPF debug log state.
Syntax
debug ospf show log state
Description
This command is used to display the OSPF debug log state.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To display the debug OSPF log state:
DGS-3627:admin# debug ospf show log state
Command: debug ospf show log state
OSPF Log State : Enabled
DGS-3627:admin#
debug ospf state
Purpose
Used to set the OSPF debug global state.
Syntax
debug ospf state [enable | disable]
Description
This command is used to set the OSPF debug global state.
Parameters
enable
– Specify to enable the OSPF debug global state.
disable
- Specify to disable the OSPF debug global state.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable the OSPF debug global state:
Page 537 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
533
DGS-3627:admin# debug ospf state enable
Command: debug ospf state enable
Success.
DGS-3627:admin# debug ospf show flag
Command: debug ospf show flag
Current OSPF Flags Setting:
Neighbor State Change
DGS-3627:admin#
Page 538 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
534
68
PASSWORD ENCRYPTION COMMANDS
The Password Encryption commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
enable password encryption
disable password encryption
create account
[admin | operator| user] <username 15>
config account
<username> {encrypt [plain_text| sha_1] <password>}
show account
delete account
<username>
Each command is listed, in detail, in the following sections.
enable password encryption
Purpose
Used to create user accounts.
Syntax
enable password encryption
Description
The user account configuration information will be stored in the configuration file, and can be
applied to the system later.
If the password encryption is enabled, the password will be in encrypted form.
Parameters
None.
Restrictions
Only Administrator can issue this command.
Example usage:
To enable the password encryption:
DGS-3627:admin# enable password encryption
Command: enable password encryption
Success.
DGS-3627:admin#
disable password encryption
Purpose
Used to create user accounts
Syntax
disable password encryption
Description
The user account configuration information will be stored in the configuration file, and can be
applied to the system later.
When password encryption is diabled, if the user specifies the password in plain text form,
the password will be in plan text form. However, if the user specifies the password in
encrypted form,
or if the password has been converted to encrypted form by the last enable
password encryption command, the password will still be in the encrypted form. It can not be
Page 539 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
535
disable password encryption
reverted to the plaintext.
Parameters
None.
Restrictions
Only Administrator can issue this command.
Example usage:
To disable the password encryption:
DGS-3627:admin# disable password encryption
Command: disable password encryption
Success.
DGS-3627:admin#
create account
Purpose
Used to create user accounts.
Syntax
create account [admin | operator| user] <username 15>
Description
The create account command creates user accounts.
The username is between 1 and 15
characters, the password is between 0 and 15 characters. It is case sensitive. The number of
account (include admin and user) is up to 8.
Parameters
admin <username 15>
- Name of the admin account.
user <username 15>
- Name of the user account.
operator <username 15>
- Name for a operator user acount.
Restrictions
Only Administrator can issue this command.
Example usage:
To create the admin-level user “dlink”:
DGS-3627:admin# create account admin dlink
Command: create account admin dlink
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS-3627:admin#
To create the user-level user “Remote-Manager”:
DGS-3627:admin# create account user Remote-Manager encrypt sha_1
*@&cRDtpNCeBiql5KOQsKVyrA0sAiClZQwq
Command: create account user Remote-Manager encrypt sha_1
*@&cRDtpNCeBiql5KOQsKVyrA0sAiClZQwq
Success.
DGS-3627:admin#
Page 540 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
536
config account
Purpose
Used to configure user accounts.
Syntax
config account <username> {encrypt [plain_text| sha_1] <password>}
Description
When the password information is not specified in the command, the system will prompt the
user to input the password interactively. For this case, the user can only input the plain text
password.
If the password is present in the command, the user can select to input the password in the
plain text form or in the encrypted form. The encryption algorithm is based on SHA-I.
Parameters
<username>
- Name of the account.
The account must already be defined.
plain_text
- Select to specify the password in plain text form.
sha_1
- Select to specify the password in the SHA-I enacrpted form.
<password>
- The password for the user account. The length for of password in plain-text
form and in encrypted form are different. For the plain-text form, passwords must have a
minimum of 0 character and can have a maximum of 15 characters.
For the encrypted form
password, the length is fixed to 35 bytes long. The assword is case-sensitive.
Restrictions
Only Administrator can issue this command.
Example usage:
To configure the user password of “dlink” account:
DGS-3627:admin# config account dlink
Command: config account dlink
Enter a old password:****
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS-3627:admin#
To configure the user password of “dlink” account:
DGS-3627:admin# config account adminstrator
Command: config account administrator encrypt sha_1 *@&cRDtpNCeBiq15KOQsKVyrA0sAiCIZQwq
Success.
DGS-3627:admin#
show account
Purpose
Used to display user accounts.
Syntax
show account
Description
The show account command displays user accounts that have been created.
Parameters
None.
Restrictions
Only Administrator can issue this command.
Example usage:
To display the accounts that have been created:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top