22
Chapter 1 Commands for Basic Switch
Configuration
1.1 Commands for Basic Configuration
1.1.1 authentication line
Command: authentication line {console | vty | web} login {local | radius | tacacs}
no authentication line {console | vty | web} login
Function:
Configure VTY (login with Telnet and SSH), Web and Console, so as to select
the priority of the authentication mode for the login user. The no form command restores
the default authentication mode.
Default:
No configuration is enabled for the console login method by default. Local
authentication is enabled for the VTY and Web login method by default.
Command Mode:
Global Mode.
Usage Guide:
The authentication method for Console, VTY and Web login can be
configured respectively. And authentication method can be any one or combination of
Local, RADIUS or TACCACS. When login method is configuration in combination, the
preference goes from left to right. If the users have passed the authentication method,
authentication method of lower preferences will be ignored. To be mentioned, if the user
receives correspond protocol
‘s answer whether refuse or incept, it will not attempt the next
authentication method (Exception: if the local authentication method failed, it will attempt
the next authentication method ); it will attempt the next authentication method if it
receives nothing. And AAA function RADIUS server should be configured before the
RADIUS configuration method can be used. And TACACS server should be configured
before the TACACS configuration method can be used.
The
authentication line console login
command is exclusive with the
login
command. The
authentication line console login
command configures the switch to use
the Console login method. And the
login
command makes the Console login to use the
passwords configured by the
password
command for authentication.
If local authentication is configured while no local users are configured, users will be
able to login the switch via the Console method.
Example:
To configure the Telnet and ssh login method to use RADIUS authentication
method.
Switch(config)# authentication line vty login local radius
Содержание S6124
Страница 311: ...311 Machine...
Страница 314: ...314...
Страница 318: ...318 am interface am ip pool 50 10 10 1 30 am mac ip pool 00 02 04 06 08 09 20 10 10 5 am ip pool 50 20 10 1 20...