Configuration procedure – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 47

Advertising
background image

1-7

# Configure Telnet protocol is supported.

[device-ui-vty0] protocol inbound telnet

# Set the maximum number of lines the screen can contain to 30.

[device-ui-vty0] screen-length 30

# Set the maximum number of commands the history command buffer can store to 20.

[device-ui-vty0] history-command max-size 20

# Set the timeout time to 6 minutes.

[device-ui-vty0] idle-timeout 6

Telnet Configuration with Authentication Mode Being Scheme

Configuration Procedure

Follow these steps to perform Telnet configuration with the authentication mode being scheme:

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

scheme

{ local | none |

radius-scheme

radius-scheme-name

[ local ] |

hwtacacs-scheme

hwtacacs-scheme-name

[ local ] }

Configure the
authenticatio
n 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 and RADIUS
configuration on the switching
engine. (Refer to AAA in H3C
WX3000 Series Unified Switches
Switching Engine Configuration
Guide

for more.)

z

Configure the user name and
password accordingly on the AAA
server. (Refer to the user manual of
the 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 [ level

level

]

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

[ command- authorization ]

Required
The specified AAA scheme determines
whether to authenticate users locally or
remotely.
Users are authenticated locally by
default.

Advertising