DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
14
2-6 login (Line)
This command is used to set the line login method. Use the
no
form of this command to disable the
login.
login [local]
no login
Parameters
login
Specifies that the line login method will be login.
local
Specifies that the line login method will be local.
Default
By default, all line interfaces use the login local method (by username and password).
Command Mode
Line Configuration Mode.
Command Default Level
Level: 15.
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
command password, the user 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, and
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 is ignored. Enter the details at
Level 1.
o
When the
username and password
option is selected, use the username and
password setup 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)#
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...