一、console口常用相关配置1、进入console视图,接下来我们就来聊聊关于三层交换机的路由器设置?以下内容大家不妨参考一二希望能帮到您!

三层交换机的路由器设置(交换机路由器console口常用配置)

三层交换机的路由器设置

一、console口常用相关配置

1、进入console视图

[Huawei]user-Interface ? console 0

INTEGER<0,34-48,50-54> The first user terminal interface to be configured

console Primary user terminal interface

current The current user terminal interface

maximum-vty The maximum number of VTY users, the default valueis 5

vty The virtual user terminal interface

2设置连接console超时时间

[Huawei-ui-console0]idle-timeout ?

INTEGER<0-35791> Set the number of minutes before a terminal user timesout(default: 10minutes)

2、设置console屏幕显示行数和列数

[Huawei-ui-console0]screen-?

screen-length

screen-width

-------------------

[Huawei-ui-console0]screen-length ?

INTEGER<0-512> Display the number of lines on a screen (the value 0indicates none split screen, and the default value is 24)

3、设置历史命令缓存大小

[Huawei-ui-console0]history-command max-size ?

INTEGER<0-256> The size of a history buffer

4、设置登录console的用户级别

[Huawei-ui-console0]user privilege level ?

INTEGER<0-15> Set a priority

5、设置登录console的认证方式

[Huawei-ui-console0]authentication-mode ?

aaa AAA authentication

none Login without checking

password Authentication through the password of a user terminal interface

--------如果需要采用用户名和密码登陆console口-----------

6、设置登录console的账号密码级别

[Huawei-aaa]local-user test001 password cipher 123456 privilege level 3

7、关联上步账号用于何种服务类型登陆

[Huawei-aaa]local-user test001 service-Type ? terminal

8021x 802.1x user

bind Bind authentication user

ftp FTP user

http Http user

l2tp L2tp user

ppp PPP user

ssh SSH user

sslvpn Sslvpn user

telnet Telnet user

terminal Terminal user

web Web authentication user

x25-pad X25-pad user

8、登陆账号的其他常用属性设置

[Huawei-aaa]local-user test001 ?

access-limit Set access limit of user(s) #同时多少用户可以登录

ftp-directory Set user(s) FTP directory permitted #可以访问的FTP目录

idle-timeout Set the timeout period for terminal user(s)# 超时时间

state Activate/Block the user(s) #设置状态(启用或禁用)

---------只以密码方式登陆----------

9、设置只以密码方式登陆的密码

[Huawei-ui-console0]set authentication password ?

cipher Set the password with cipher text

simple Set the password in plain text

============================================================

1、显示console界面信息

[Huawei]display user-interface console 0

Idx Type Tx/Rx Modem Privi ActualPrivi Auth Int

0 CON 0 9600 - 3 3 N -

: Current UI is active.

F : Current UI is active and work in async mode.

Idx : Absolute index of UIs.

Type : Type and relative index of UIs.

Privi: The privilege of UIs.

ActualPrivi: The actual privilege of user-interface.

Auth : The authentication mode of UIs.

A: Authenticate use AAA.

N: Current UI need not authentication.

P: Authenticate use current UI's password.

Int : The physical location of UIs.

,