Operation Manual – AAA
H3C S3100 Series Ethernet Switches
Chapter 2 AAA Configuration
2-34
A Telnet user logging into the switch by a name in the format of
userid
@cams belongs
to the cams domain and will be authenticated according to the configuration of the
cams domain.
2.5.2 Local Authentication of FTP/Telnet Users
Note:
The configuration procedure for local authentication of FTP users is similar to that for
Telnet users. The following text only takes Telnet users as example to describe the
configuration procedure for local authentication.
I. Network requirements
In the network environment shown in
Figure 2-2
, you are required to configure the
switch so that the Telnet users logging into the switch are authenticated locally.
II. Network diagram
Figure 2-2
Local authentication of Telnet users
III. Configuration procedure
Method 1: Using local authentication scheme.
# Enter system view.
<Sysname> system-view
# Adopt AAA authentication for Telnet users.
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] authentication-mode scheme
[Sysname-ui-vty0-4] quit
# Create and configure a local user named "telnet".
[Sysname] local-user telnet
[Sysname-luser-telnet] service-type telnet
[Sysname-luser-telnet] password simple aabbcc
[Sysname-luser-telnet] quit
# Configure an authentication scheme for the default “system” domain.