Creating A User Account; Configuring The Ip Address - D-Link DMS-3130 Series Hardware Installation Manual

Layer 3 stackable managed switch
Table of Contents

Advertisement

DMS-3130 Series Layer 3 Stackable Managed Switch Hardware Installation Guide

Creating a User Account

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 and record the passwords for future reference.
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.
NOTE: Passwords are case sensitive. Usernames can be up to 32 characters in length.
Passwords can be up to 32 plain-text characters.

Configuring the IP Address

Each switch must be assigned its own in-band IP Address, which is used for communication with an SNMP network
manager or other TCP/IP applications. The Switch's default IP address is 10.90.90.90 with a subnet mask of
255.0.0.0. You can change the IP address of the Switch to meet the specification of your networking address scheme.
The IP address of the Switch must be configured before it can be managed, by the user, via the Web UI.
An example to change the IP address of the Switch to '10.50.50.50', using a subnet mask of '255.0.0.0':
Switch>enable
Switch#configure terminal
Switch(config)#interface vlan 1
Switch(config-if)#ip address 10.50.50.50 255.0.0.0
Switch(config-if)#
In the above example,
1. We accessed the Privileged EXEC Mode by entering the command enable.
2. Then we entered the Global Configuration Mode by entering the command, configure terminal.
3. Then we entered the VLAN Configuration Mode of the default VLAN, which is VLAN 1, by entering the
command, interface vlan 1.
4. Then we changed the IP address of the Switch to 10.50.50.50 and the subnet mask to 255.0.0.0 by entering
the command ip address 10.50.50.50 255.0.0.0.
The Switch can now be accessed and configured through Telnet or the Web UI. The Switch's IP address can also
automatically be obtained by using the DHCP protocol.
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dms-3130-30psDms-3130-30ts

Table of Contents