zoukankan      html  css  js  c++  java
  • HCNA配置console线路密码aaa认证

    
      Please check whether system data has been changed, and save data in time
    
      Configuration console time out, please press any key to log on
    
    
    Login authentication
    
    
    Password:
    <R2>sys    
    <R2>system-view 
    Enter system view, return user view with Ctrl+Z.
    [R2]user-in    
    [R2]user-interface conso    
    [R2]user-interface console 0
    [R2-ui-console0]auth    
    [R2-ui-console0]authentication-mode aaa
    [R2-ui-console0]quit    
    [R2-ui-console0]quit 
    [R2]aaa
    [R2-aaa]loc    
    [R2-aaa]local-user user0 pass    
    [R2-aaa]local-user user0 password cip    
    [R2-aaa]local-user user0 password cipher huawei123
    Info: Add a new user.
    [R2-aaa]loc    
    [R2-aaa]local-user user1 ?
      access-limit   Set access limit of user(s)
      ftp-directory  Set user(s) FTP directory permitted
      idle-timeout   Set the timeout period for terminal user(s)
      password       Set password 
      privilege      Set admin user(s) level
      service-type   Service types for authorized user(s)
      state          Activate/Block the user(s)
      user-group     User group
    [R2-aaa]local-user user1 pass    
    [R2-aaa]local-user user1 password ?
      cipher  User password with cipher text
    [R2-aaa]local-user user1 password ci    
    [R2-aaa]local-user user1 password cipher huawei123
    Info: Add a new user.
    [R2-aaa]loc    
    [R2-aaa]local-user user2 pass    
    [R2-aaa]local-user user2 password cip    
    [R2-aaa]local-user user2 password cipher huawei123
    Info: Add a new user.
    [R2-aaa]q
    [R2]q
    <R2>q
    
      Configuration console exit, please press any key to log on
    
    
    Login authentication
    
    
    Username:user0
    Password:
    <R2>?
    User view commands:
      arp-ping               ARP-ping
      autosave               <Group> autosave command group
      backup                 Backup  information
      cd                     Change current directory 
      clear                  <Group> clear command group
      clock                  Specify the system clock
      cls                    Clear screen
      compare                Compare configuration file
      copy                   Copy from one file to another 
      debugging              <Group> debugging command group
      delete                 Delete a file 
      dialer                 Dialer
      dir                    List files on a filesystem 
      display                Display information
      factory-configuration  Factory configuration
      fixdisk                Try to restory disk 
      format                 Format file system
      free                   Release a user terminal interface
      ftp                    Establish an FTP connection
      help                   Description of the interactive help system
      hwtacacs-user          HWTACACS user
      license                <Group> license command group
      lldp                   Link Layer Discovery Protocol
    
    <R2>

    配置用户级别

    设置user0用户为0级 访问级别

    Configuration console exit, please press any key to log on
    
    
    Login authentication
    
    
    Username:user0
    Password:
    <R2>?
    User view commands:
      arp-ping               ARP-ping
      autosave               <Group> autosave command group
      backup                 Backup  information
      cd                     Change current directory 
      clear                  <Group> clear command group
      clock                  Specify the system clock
      cls                    Clear screen
      compare                Compare configuration file
      copy                   Copy from one file to another 
      debugging              <Group> debugging command group
      delete                 Delete a file 
      dialer                 Dialer
      dir                    List files on a filesystem 
      display                Display information
      factory-configuration  Factory configuration
      fixdisk                Try to restory disk 
      format                 Format file system
      free                   Release a user terminal interface
      ftp                    Establish an FTP connection
      help                   Description of the interactive help system
      hwtacacs-user          HWTACACS user
      license                <Group> license command group
      lldp                   Link Layer Discovery Protocol
    
    <R2>aaa
        ^
    Error: Unrecognized command found at '^' position.
    <R2>sys    
    <R2>system-view 
    Enter system view, return user view with Ctrl+Z.
    [R2]aaa    
    [R2]aaa
    [R2-aaa]lo    
    [R2-aaa]local-user pri    
    [R2-aaa]local-user?
      local-user  Add/Delete/Set user(s)
    [R2-aaa]local-user user    
    [R2-aaa]local-user user0 ?
      access-limit   Set access limit of user(s)
      ftp-directory  Set user(s) FTP directory permitted
      idle-timeout   Set the timeout period for terminal user(s)
      password       Set password 
      privilege      Set admin user(s) level
      service-type   Service types for authorized user(s)
      state          Activate/Block the user(s)
      user-group     User group
    [R2-aaa]loc    
    [R2-aaa]local-user user    
    [R2-aaa]local-user user0 pri    
    [R2-aaa]local-user user0 privilege ?
      level  Set admin user(s) level
    [R2-aaa]local-user user0 privilege 0
                                       ^
    Error: Unrecognized command found at '^' position.
    [R2-aaa]local-user user0 privilege lev    
    [R2-aaa]local-user user0 privilege level ?
      INTEGER<0-15>  Level value
    [R2-aaa]local-user user0 privilege level 0
    [R2-aaa]loc    
    [R2-aaa]local-user user    
    [R2-aaa]local-user user1    
    [R2-aaa]local-user user1 pri    
    [R2-aaa]local-user user1 privilege level    
    [R2-aaa]local-user user1 privilege level 1
    [R2-aaa]local-user user2    
    [R2-aaa]local-user user2 pri    
    [R2-aaa]local-user user2 privilege lev    
    [R2-aaa]local-user user2 privilege level 2
    [R2-aaa]q
    [R2]q
    <R2>q
    
      Configuration console exit, please press any key to log on
    
    
    Login authentication
    
    
    Username:user0
    Password:
      ----------------------------------------------------------------------------- 
        
      User last login information:     
      -----------------------------------------------------------------------------
      Access Type: Serial      
      IP-Address : --     
      Time       : 2017-12-07 21:04:46-08:00     
      -----------------------------------------------------------------------------
    <R2>?
    User view commands:
      display        Display information
      hwtacacs-user  HWTACACS user
      local-user     Add/Delete/Set user(s)
      ping           Ping function
      quit           Exit from current mode and enter prior mode
      save           Save file
      super          Modify super password parameters
      telnet         Open a telnet connection
      tracert        <Group> tracert command group
    

    设置user1用户为1级权限为监控级也不能进入系统视图

    设置user2用户为2级权限可以进入系统视图了

  • 相关阅读:
    Tars 服务调服务
    不一样的风格,C#的lambda表达式
    TCP/IP 协议图--传输层中的 TCP 和 UDP
    TCP/IP 协议图--TCP/IP 基础
    TCP/IP 协议图--计算机网络体系结构分层
    HTTP协议图--与 HTTP 协作的 Web 服务器
    HTTP协议图--HTTP 报文实体
    HTTP协议图--HTTP 响应状态码(重点分析)
    HTTP协议图--HTTP 报文首部之首部字段(重点分析)
    HTTP协议图--HTTP 报文首部之请求行、状态行
  • 原文地址:https://www.cnblogs.com/me80/p/8001104.html
Copyright © 2011-2022 走看看