Follow these steps to configure the attributes of a local user

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

 

 

Optional

 

local-user

By default, the password

Set the password display mode

display mode of all access

password-display-mode

users is auto, indicating the

of all local users

 

{ cipher-force auto }

passwords of access users are

 

 

displayed in the modes set by

 

 

the password command.

 

 

 

Add a local user and enter local

 

Required

local-user user-name

By default, there is no local

user view

 

user in the system.

 

 

 

 

 

Set a password for the local

password { simple cipher }

Required

user

password

 

 

 

 

 

 

Optional

Set the status of the local user

state { active block }

By default, the user is in active

state, that is, the user is

 

 

allowed to request network

 

 

services.

 

 

 

 

service-type { ftp lan-access

Required

Authorize the user to access

By default, the system does not

specified type(s) of service

{ telnet ssh terminal }*

authorize the user to access

[ level level ] }

 

any service.

 

 

 

 

 

Set the privilege level of the

 

Optional

level level

By default, the privilege level of

user

 

the user is 0.

 

 

 

 

 

 

 

Required

Configure the authorization

authorization vlan string

By default, no authorization

VLAN for the local user

VLAN is configured for the local

 

 

 

user.

 

 

 

 

 

Optional

 

attribute { ip ip-addressmac

When binding the user to a

 

remote port, you must use

Set the attributes of the user

mac-address idle-cutsecond

nas-ipip-addressto specify a

access-limit

remote access server IP

whose service type is

max-user-number vlan vlan-id

address (here, ip-addressis

lan-access

location { nas-ip ip-address

127.0.0.1 by default,

 

port port-number port

representing this device).

 

port-number } }*

When binding the user to a

 

 

local port, you need not use

 

 

nas-ipip-address.

 

 

 

2-7

Page 266
Image 266
3Com WX3000 Local-user, Password-display-mode, Cipher-force auto, Service-type ftp lan-access, Telnet ssh terminal