D-Link DXS-3400 Quick Install Guide - Page 30

Connecting to the Switch for the First Time, Creating a User Account, Privileged EXEC Mode

Page 30 highlights

DXS-3400 Series Lite Layer 3 Stackable 10GbE Managed Switch Hardware Installation Guide Connecting to the Switch for the First Time The Switch supports user-based security that can prevent unauthorized users from accessing the Switch or changing its configuration. This section will explain how to log into the Switch's Command Line Interface via the out-of-band console connection. Upon initial connection to the Switch, the login screen appears (see example below). DXS-3400-24SC TenGigabit Ethernet Switch Switch> Command Line Interface Firmware: Build 2.00.008 Copyright(C) 2016 D-Link Corporation. All rights reserved. By default, there is no Username and Password configured in the account settings of this switch. This will allow the user to simply connect to this Switch for the first time by pressing the 'Enter' key. After pressing Enter, access will be given to enter commands after the command prompt (Switch>) appears. NOTE: The first user automatically gets Administrator level privileges. At least one Administratorlevel user account must be created for the Switch. NOTE: It is highly recommended to create a user account containing a username and a password on the Switch to prevent unauthorized access to the management interface. Creating a User Account One of the first and most important tasks after powering-on the Switch for the first time is to create a user account with administrator-level privileges. Logging in using a predefined administrator-level username will give the user privileged access to the Switch's management software. An example to create an administrator-level account for the Switch called 'NewUser': Switch>enable Switch#configure terminal Switch(config)#username NewUser password 12345 Switch(config)#username NewUser privilege 15 Switch(config)#line console Switch(config-line)#login local Switch(config-line)#end Switch# In the example above: 1. At the CLI command prompt, enter the enable command to enter the Privileged EXEC Mode. Press Enter. 2. Enter the configure terminal command to enter the Global Configuration Mode. Press Enter. 3. Enter the username NewUser password 12345 command. Press Enter. This will create a user account with the username of NewUser and a password of 12345. 4. Enter the username NewUser privilege 15 command. Press Enter. This will configure this user account to have Administrative (15) privileges. 5. Enter the line console command to enter the Line Configuration Mode. Press Enter. 6. Enter the login local command. Press Enter. This specifies that the local line requires login credentials. 7. Enter the end command to exit back to the Privileged EXEC Mode. 30

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60

DXS-3400 Series Lite Layer 3 Stackable 10GbE Managed Switch Hardware Installation Guide
30
Connecting to the Switch for the First Time
The Switch supports user-based security that can prevent unauthorized users from accessing the Switch or changing
its configuration. This section will explain how to log into the Switch
’s Command Line Interface via the out
-of-band
console connection.
Upon initial connection to the Switch, the login screen appears (see example below).
DXS-3400-24SC TenGigabit Ethernet Switch
Command Line Interface
Firmware: Build 2.00.008
Copyright(C) 2016 D-Link Corporation. All rights reserved.
Switch>
By default, there is no
Username
and
Password
configured in the account settings of this switch. This will allow the
user to simply connect to this Switch for the first time by pressing th
e ‘
Enter
’ key. After pressing
Enter
, access will be
given to enter commands after the command prompt (
Switch>
) appears.
NOTE:
The first user automatically gets Administrator level privileges. At least one Administrator-
level user account must be created for the Switch.
NOTE:
It is highly recommended to create a user account containing a username and a
password on the Switch to prevent unauthorized access to the management interface.
Creating a User Account
One of the first and most important tasks after powering-on the Switch for the first time is to create a user account with
administrator-level privileges. Logging in using a predefined administrator-level username will give the user privileged
access to the Switch's management software.
An example to create an administrator-level account for the Switch
called ‘NewUser’:
Switch>enable
Switch#configure terminal
Switch(config)#username NewUser password 12345
Switch(config)#username NewUser privilege 15
Switch(config)#line console
Switch(config-line)#login local
Switch(config-line)#end
Switch#
In the example above:
1.
At the CLI command prompt, enter the
enable
command to enter the
Privileged EXEC Mode
. Press
Enter
.
2. Enter the
configure terminal
command to enter the
Global Configuration Mode
. Press
Enter
.
3. Enter the
username NewUser password 12345
command. Press
Enter
. This will create a user account with
the username of NewUser and a password of 12345.
4. Enter the
username NewUser privilege 15
command. Press
Enter
. This will configure this user account to
have
Administrative
(
15
) privileges.
5. Enter the
line console
command to enter the
Line Configuration Mode
. Press
Enter
.
6. Enter the
login local
command. Press
Enter
. This specifies that the local line requires login credentials.
7. Enter the
end
command to exit back to the
Privileged EXEC Mode
.