H3C (v7平台)Console口通过账号密码登陆配置教程
H3C (v7平台)Console口通过账号密码登陆配置教程看不懂的地方请看后面的释义1、设置登陆账号local-user ?STRING<1-80>Local user name, which can contain the domain namelocal-user 023wg.com ?classSpecify a class for the local user<cr>
local-user 023wg.com class ? manage Device management usernetworkNetwork access user
local-user 023wg.com class manage ?<cr>
local-user 023wg.com class manageNew local user added.
2、设置登录账号密码password ?hash Specify a hashtext passwordsimpleSpecify a plaintext password<cr>
password simple ?STRING<1-63>Plaintext password string
password simple www.023wg.com
3、设置登录账号的权限(官方说法为授权用户角色)authorization-attribute ?acl Specify ACL of local usercallback-number Specify PPP callback number of local useridle-cut Specify idle cut function for local userip Specify the IP address of local userip-pool Specify the IP address pool of local useripv6 Specify the IPv6 address of local useripv6-pool Specify the IPv6 address pool of local useripv6-prefix Specify the IPv6 address prefix of local userprimary-dns Specify the primary DNS server of local usersecondary-dns Specify the secondary DNS server of local usersession-group-profileSpecify the session group profile of local usersession-timeout Specify time of session-timeoutsslvpn-policy-group Specify the SSL VPN policy group name of local usersubscriber-id Specify the subscriber ID of local userurl Specify the URL of local useruser-profile Specify user profile of local useruser-role Specify user role of the local uservlan Specify VLAN ID of local uservpn-instance Specify the VPN instance of local userwork-directory Specify work directory of local user
authorization-attribute user-role ?STRING<1-63> User role namenetwork-adminnetwork-operatorlevel-0level-1level-2level-3level-4level-5level-6level-7level-8level-9level-10level-11level-12level-13level-14level-15security-auditguest-manager
authorization-attribute user-role network-admin
4、设置登陆账号的服务类型service-type ?ftp FTP servicehttp HTTP service typehttps HTTPS service typepad X.25 PAD servicessh Secure Shell servicetelnet Telnet serviceterminalTerminal access service
service-type terminal
5、设置Console登陆采用账号密码登陆模式(即AAA或scheme认证方式)line console ?INTEGER<0-9>Number of the first line
line console 0authentication-mode ?none Login without authenticationpasswordPassword authenticationscheme Authentication use AAA
authentication-mode scheme ?<cr>
authentication-mode scheme
6、验证设置qsaThe current configuration will be written to the device. Are you sure? :yPlease input the file name(*.cfg)(To leave the existing filename unchanged, press the enter key):Validating file. Please wait...Saved the current configuration to mainboard device successfully.qu<H3C>qu
******************************************************************************* Copyright (c) 2004-2016 Hangzhou H3C Tech. Co., Ltd. All rights reserved.** Without the owner's prior written consent, ** no decompiling or reverse-engineering shall be allowed. *******************************************************************************
Line con0 is available.
Press ENTER to get started.login: 023wg.comPassword:
<H3C>
7、释义H3Cv7平台相较于V5平台配置思路与含义有了一些变化,这些变化之处重庆网管博客做个释义,欢迎各位道友留言或进群讨论。7.1、关于用户类别local-user 023wg.com class ? manage Device management usernetworkNetwork access user
class:指定本地用户的类别。若不指定本参数,则表示设备管理类用户。manage:设备管理类用户,用于登录设备,对设备进行配置和监控。此类用户可以提供ftp、http、https、telnet、ssh、terminal和pad服务。network:网络接入类用户,用于通过设备接入网络,访问网络资源。此类用户可以提供advpn、ike、ipoe、lan-access、portal、ppp和sslvpn服务。guest:来宾用户,仅能在帐户有效期内提供lan-access和portal服务。
7.2、授权用户角色authorization-attribute user-role ?STRING<1-63> User role namenetwork-adminnetwork-operatorlevel-0level-1level-2level-3level-4level-5level-6level-7level-8level-9level-10level-11level-12level-13level-14level-15security-auditguest-manager **** Hidden Message *****
好东西谢谢楼主分享 多谢分享 支持一下~~~~ {:6_263:} 111111111111111 謝謝樓主詳解,感謝 謝謝樓主詳解,感謝 谢谢楼主分享 学习学习,谢谢分享 很好,谢谢 很好额外恶趣味 {:6_267:} {:6_267:}{:6_267:} 大大大大大大大大大大大大大大大大大大dddd