DXS-1210 Series Smart Managed Switch CLI Reference Guide
5
NOTE: By default, one user account is already configured on the Switch. Both the
username and password for this account is admin, and the privilege level is 15.
Observe the following example.
Switch>enable
Switch#configure terminal
Switch(config)#username user1 privilege 15 password 0 pass1234
Switch(config)#line console
Switch(config-line)#
In the above example we had to navigate and access the username command.
•
Starting in the User EXEC Mode we enter the command enable to access the Privileged
EXEC Mode.
•
After accessing the Privileged EXEC Mode, we entered the command configure terminal to
access the Global Configuration Mode.The username command can be used in the Global
Configuration Mode.
•
The command username user1 privilege 15 password 0 pass1234 creates a user account
with the username of user1 and a password of pass1234, and assigns a privilege level value
of 15 to the user.
•
The command line console allows us to access the console interface’s Line Configuration
Mode.
Save the running configuration to the start-up configuration. This means to save the changes made so
that when the Switch is rebooted, the configuration will not be lost. The following example shows how
to save the running configuration to the start-up configuration.
Switch#copy running-config startup-config
Destination filename startup-config? [y/n]: y
Saving all configurations to NV-RAM.......... Done.
Switch#
After the Switch was rebooted, or when the users logs out and back in, the newly created username
and password must be entered to access the CLI interface again, as seen below.
DXS-1210-12SC 10GbE Smart Managed Switch
Command Line Interface
Firmware: Build V1.15.005
Copyright(C) 2017 D-Link Corporation. All rights reserved.
User Access Verification
Username: admin
Password: *****
Switch#