5000 Series Data Center Switches Hardware Installation Guide
25
Creating a User Account
When logging into the switch using D-Link OS, there is no preconfigured default username and password. One of the
first and most important tasks will be to create user accounts. Logging in using a predefined administrator-level
username will give the user privileged access to the switch's management software. Also this will prevent
unauthorized access to the switch.
An example to create an administrator-level account for the switch called ‘
NewUser
’:
Figure 4-8 To create a user account
1.
At the CLI command prompt, enter the
enable
command to enter the Privileged EXEC Mode. Press
Enter
.
2.
Enter the
configure
command to enter the Global Configuration Mode. Press
Enter
.
3.
Enter the
username NewUser password 12345 level 15
command. Press
Enter
. This will create an
Administrative (15) privilege user account with the username of NewUser and a password of 12345.
4.
Enter the
end
command to exit back to the Privileged EXEC Mode.
NOTE:
Passwords are case sensitive. Usernames should be between 1 to 64 characters in
length. Passwords should be between 8 to 64 characters in length.
Configuring the IP Address
Each switch must be assigned its own IP address, which is used for communication with an SNMP network manager
or other TCP/IP applications. The switch’s VLAN1 default IP address is
10.90.90.90/8
, and the management port
default IP address is
192.168.0.1/24
. You can change the switch’s default IP address to fit into your networking
address range.
Below is an example to change the IP address of the switch to 10.50.50.50, using a subnet mask of 255.0.0.0:
Figure 4-9 To change the IP address
1. At the CLI command prompt, enter the
enable
command to enter the Privileged EXEC Mode. Press
Enter
.
2. Enter the
network parms 10.50.50.50 255.0.0.0
command to change the IP address and subnet mask. Press
Enter
.
The switch can now be configured and accessed through Telnet.
The switch’s IP address can also automatically be obtained by using the BOOTP or DHCP protocol.
(Switch) enable
(Switch) #
(Switch) #configure
(Switch) (Config)#username NewUser Password 12345 level 15
(Switch) (Config)#end
(Switch) #
(Switch) enable
(Switch) #
(Switch) #network parms 10.50.50.50 255.0.0.0
(Switch) #