D-Link DGS-3630-52PC WEB Reference Guide - Page 16
Usage Guideline, Example
View all D-Link DGS-3630-52PC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 16 highlights
DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide Usage Guideline For Console and Telnet access, when AAA is enabled, the line uses rules configured by the AAA module. When AAA is disabled, the line uses the following authentication rules: When login is disabled, the user can enter the line at Level 1. When the by password option is selected, after inputting the same password as the password command, the user will enter the line at level 1. If the password wasn't previously configured, an error message will be displayed and the session will be closed. When the username and password option is selected, enter the username and password configured by the username command. For SSH access, there are three authentication types: SSH public key Host-based authentication Password authentication The SSH public key and host-based authentication types are independent from the login command in the line mode. If the authentication type is password, the following rules apply: When AAA is enabled, the AAA module is used. When AAA is disabled, the following rules are used: o When login is disabled, the username and password are ignored. Enter the details at Level 1. o When the username and password option is selected, enter the username and password configured by the username command. o When the password option is selected, the username is ignored but a password is required using the password command to enter the line at level 1. Example This example shows how to enter the Line Configuration Mode and to create a password for the line user. This password only takes effect once the corresponding line is set to login. Switch# configure terminal Switch(config)# line console Switch(config-line)# password loginpassword Switch(config-line)# This example shows how to configure the line console login method as "login". Switch# configure terminal Switch(config)# line console Switch(config-line)# login Switch(config-line)# This example shows how to enter the login command. The device will check the validity of the user from the password create command. If correct, the user will have access at the particular level. Switch#login Password Switch# This example shows how to create a username "useraccount" with the password of "pass123" and use Privilege 12. Switch# configure terminal Switch(config)# username useraccount privilege 12 password 0 pass123 Switch(config)# 14