D-Link DGS-1510-28P User Manual - Page 30
Configuring the IP Address, LINE Configuration Mode
View all D-Link DGS-1510-28P manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
DGS-1510 Series Gigabit Ethernet SmartPro Switch Hardware Installation Guide By default, there are no user accounts configured on this Switch. To create a user account, enter the following commands. Switch> enable Switch# configure terminal Switch(config)# username Administrator password 12345 Switch(config)# username Administrator privilege 15 Switch(config)# line console Switch(config-line)# login local Switch(config-line)# 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 created a user account with the username of 'Administrator' and gave it the password of '12345' by entering the command username Administrator password 12345. 4. Then we assigned the privilege level of 15 to this user account by entering the command username Administrator privilege 15. The highest level access is 15 and the lowest level access is 1. 5. Then we entered the LINE Configuration Mode by entering the command line console. 6. Then we configured the Switch to allow access to the management interface by using locally configured user accounts. The command is login local. NOTE: CLI configuration commands only modify the running configuration file and are not saved when the Switch is rebooted. To save all your configuration changes in non-volatile storage, you must use the copy running-configuration start-up-configuration command to copy the running configuration file to the start-up configuration. For more information, refer to the CLI Reference Guide. Configuring the IP Address Each networking node, within a network, must use a unique IP Address. This IP address is used to communicate with other networking devices in the network. The IP address of the Switch is also important to be able to access the Web UI of this Switch. There are two methods in which a Switch can obtain an IP address. 1. The Switch can obtain an IP address from a DHCP server located within the local network. By default, this option is not enabled. 2. The administrator can manually configure an IP address for this Switch. To find out what the IP address of the Switch is, we again need to access the Switch management interface through the CLI. Take note of the following example. 30