配置telnet+路由
<H3C>dis cu # version S1526V300R001 # sysname JM_GK_QYY501 # management-vlan 2200 # # local-user admin password simple admin local-user admi # vlan 1 # vlan 25 # vlan 2200 # port-group-vlan 1 # interface vlan-interface 2200 ip address 192.168.219.28 255.255.255.0 # interface Ethernet1/0/1 port access vlan 25 # interface Ethernet1/0/2 port access vlan 25 # interface Ethernet1/0/3 port access vlan 25 # interface Ethernet1/0/4 port access vlan 25 # interface Ethernet1/0/5 port access vlan 25 # interface Ethernet1/0/6 port access vlan 25 # interface Ethernet1/0/7 port access vlan 25 # interface Ethernet1/0/8 port access vlan 25 # interface Ethernet1/0/9 port access vlan 25 # interface Ethernet1/0/10 port access vlan 25 # interface Ethernet1/0/11 port access vlan 25 # interface Ethernet1/0/12 port access vlan 25 # interface Ethernet1/0/13 port access vlan 25 # interface Ethernet1/0/14 port access vlan 25 # interface Ethernet1/0/15 port access vlan 25 # interface Ethernet1/0/16 port access vlan 25 # interface Ethernet1/0/17 port access vlan 25 # interface Ethernet1/0/18 port access vlan 25 # interface Ethernet1/0/19 port access vlan 25 # interface Ethernet1/0/20 port access vlan 25 # interface Ethernet1/0/21 port access vlan 25 # interface Ethernet1/0/22 port access vlan 25 # interface Ethernet1/0/23 port access vlan 25 # interface Ethernet1/0/24 port access vlan 25 # interface GigabitEthernet1/1/1 port link-type trunk port trunk permit vlan 25 2200 undo port trunk permit vlan 1 # interface GigabitEthernet1/1/2 shutdown port link-type trunk port trunk permit vlan 25 2200 undo port trunk permit vlan 1 # interface GigabitEthernet1/2/1 port access vlan 25 # interface GigabitEthernet1/2/2 shutdown port access vlan 25 # user-interface aux 0 set authentication password simple H3C12345 # return <H3C> <H3C> dis version S1526 Product Version S1526V300R001 Copyright (c) 2011-2012 Hangzhou H3C Technologies Co.,Ltd. All rights reserved. S1526 uptime is 0 week(s),0 day(s),1 hour(s),2 minute(s) S1526 with 400M MIPS Processor Config Register points to FLASH Hardware Version is VER.A Bootrom Version is 103
(0)
最佳答案
# 进入系统视图,并开启Telnet服务,默认开启。
<H3C> system-view
[H3C] telnet server enable
# 配置VTY接口认证模式为scheme模式(用户名+密码认证)。
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] authentication-mode scheme //另两种认证模式为None(无密码)和Password(单密码)
[H3C-ui-vty0-4] quit
# 创建本地账号abc,密码为123456,权限级别为Level3。
[H3C] local-user abc
[H3C-luser-abc] password simple 123456
[H3C-luser-abc] service-type telnet
[H3C-luser-abc] authorization-attribute level 3
[H3C-luser-abc] quit
# 保存配置。
[H3C] save force
# 可复制如下内容直接粘贴到设备命令行,实现快速配置,注意提前修如下红色部分改账号和密码。
system-view
telnet server enable
user-interface vty 0 4
authentication-mode scheme
quit
local-user abc
password simple 123456
service-type telnet
authorization-attribute level 3
quit
save force
# 进入本地账号abc视图,直接配置新密码为654321即可,然后退出保存。
[H3C] local-user abc
[H3C-luser-abc] password simple 654321
[H3C-luser-abc] quit
[H3C] save force
(0)
telnet server enable 这句就会提示错误,还有ip route-static 0.0.0.0 0.0.0.0 192.168.219.254 这条路由也是提示错误。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
telnet server enable 这句就会提示错误,还有ip route-static 0.0.0.0 0.0.0.0 192.168.219.254 这条路由也是提示错误。