交换机路由器console口常用配置
首页 > HuaWei > 基础配置   作者:浙江思唯网络  2015年9月22日 17:35 星期二  字号:   评论:1 条
时间:2015-9-22 17:35   评论:1 条 
 

一、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.

 

 

 您阅读这篇文章共花了: 
二维码加载中...
技术交流:欢迎在本文下方留言或加入QQ群:859273036 互相学习。     
本文地址:http://www.023wg.com/jcpz/4.html
版权声明:若无注明,本文皆为“Swiers思唯网络博客”原创,转载请保留文章出处。
李明2015-10-01 22:03
学习学习。

返回顶部    首页   
版权所有:Swiers思唯网络博客    浙江思唯网络