远程登录CRT 路由器和交换机

[r1]user-interface vty04
[r1-ui-vty4]dis th
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
return
[r1-ui-vty4]authentication-mode aaa
[r1-ui-vty4]dis th
[V200R003C00]
#
user-interface con 0
 authentication-mode password
user-interface vty 0 3
user-interface vty 4
 authentication-mode aaa  【更改为aaa协议】
user-interface vty 16 20
#
return
[r1]aaa
[r1-aaa]dis th
[V200R003C00]
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$ 【密码】
 local-user admin service-type http 【协议】
#
return
[r1-aaa]local-user admin password cipher  123456   【设置密码】
[r1-aaa]local-user admin service-type http telnet  【添加telnet】
[r1-aaa]local-user  admin  privilege  level 15  【管理员权限给到15】
[r1-aaa]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip add 26.147.63.77 8


输入账户密码远程登陆成功

<Huawei>sys
[Huawei]sys lsw1\
[lsw1\]vlan batch  99
[lsw1\]int Vlanif 99
[lsw1\-Vlanif99]ip add 26.146.63.77 8
[lsw1\-Vlanif99]int g 0/0/1
[lsw1\-GigabitEthernet0/0/1]port link-type access 
[lsw1\-GigabitEthernet0/0/1]port default vlan  99
[lsw1\]user-interface  vty 0 4
[lsw1\-ui-vty0-4]authentication-mode aaa
[lsw1\-ui-vty0-4]aaa
[lsw1\-aaa]dis th
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
return
[lsw1\-aaa]local-user admin password cipher 123456
[lsw1\-aaa]local-user  cdmin service-type  http telnet 
[lsw1\-aaa]local-user  admin privilege  level  15

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值