beautypg.com

H3C Technologies H3C S5120 Series Switches User Manual

Page 64

background image

3-11

To do…

Use the command…

Remarks

Enter system view

system-view

Enter the
default ISP
domain view

domain domain name

Configure
the AAA
scheme to
be applied to
the domain

authentication default
{

local | none

|

radius-scheme
radius-scheme-name
[ local ] }

Configure
the
authenticati
on scheme

Quit to
system view

quit

Optional

By default, the local AAA scheme is
applied. If you specify to apply the
local AAA scheme, you need to
perform the configuration concerning
local user as well.

If you specify to apply an existing
scheme by providing the
radius-scheme-name argument, you
need to perform the following
configuration as well:

z

Perform AAA-RADIUS
configuration on the switch. (Refer
to AAA Configuration for details.)

z

Configure the user name and
password accordingly on the AAA
server. (Refer to the user manual
of AAA server.)

Create a local user and
enter local user view

local-user user-name

No local user exists by default.

Set the authentication
password for the local user

password { simple |
cipher } password

Required

Specify the service type for
VTY users

service-type telnet

Required

Quit to system view

quit

Enter one or more VTY user
interface views

user-interface vty
first-number [ last-number ]

Configure to authenticate
users locally or remotely

authentication-mode
scheme

Required

The specified AAA scheme
determines whether to authenticate
users locally or remotely.

Users are authenticated locally by
default.

Configure the command
level available to users
logging in to the user
interface

user privilege level level

Optional

By default, commands of level 0 are
available to users logging in to the
VTY user interfaces.

Configure the supported
protocol

protocol inbound { all | ssh
| telnet }

Optional

Both Telnet protocol and SSH protocol
are supported by default.

Set the command that is
automatically executed
when a user logs into the
user interface

auto-execute command
text

Optional

By default, no command is
automatically executed when a user
logs into a user interface.

Define a shortcut key for
aborting tasks

escape-key { default |
character }

Optional

The default shortcut key combination
for aborting tasks is < Ctrl + C >.