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

ssl其他 Ssl其他 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.

派优网部分新闻资讯、展示的图片素材等内容均为用户自发上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习交流。用户通过本站上传、发布任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们一经核实,立即删除。并对发布账号进行封禁。
(0)
贾美丽的头像贾美丽

相关推荐

返回顶部