H3C交换机开启telnet服务,为何远程TELNET不了。请大家指点下?

[复制链接]
发表于 : 2020-1-18 10:28:21 最新回复:2020-01-18 16:21:41
247 5
  求助帖: (未解决)

#

 version 7.1.070, Release 6126P12

#

 sysname H3C

#

 clock timezone Beijing add 08:00:00

 clock protocol none

#

 telnet server enable

#

 irf mac-address persistent timer

 irf auto-update enable

 undo irf link-delay

 irf member 1 priority 1

#

 lldp global enable

#

 password-recovery enable

#

vlan 1

#

interface NULL0

#

interface Vlan-interface1

 ip address 192.168.1.9 255.255.255.0

#

interface GigabitEthernet1/0/1

#

interface GigabitEthernet1/0/2

#

interface GigabitEthernet1/0/3

#

interface GigabitEthernet1/0/4

#

interface GigabitEthernet1/0/5

#

interface GigabitEthernet1/0/6

#

interface GigabitEthernet1/0/7

#

interface GigabitEthernet1/0/8

#

interface GigabitEthernet1/0/9

#

interface GigabitEthernet1/0/10

#

interface GigabitEthernet1/0/11

#

interface GigabitEthernet1/0/12

#

interface GigabitEthernet1/0/13

#

interface GigabitEthernet1/0/14

#

interface GigabitEthernet1/0/15

#

interface GigabitEthernet1/0/16

#

interface GigabitEthernet1/0/17

#

interface GigabitEthernet1/0/18

#

interface GigabitEthernet1/0/19

#

interface GigabitEthernet1/0/20

#

interface GigabitEthernet1/0/21

#

interface GigabitEthernet1/0/22

#

interface GigabitEthernet1/0/23

#

interface GigabitEthernet1/0/24

#

interface GigabitEthernet1/0/25

#

interface GigabitEthernet1/0/26

#

interface GigabitEthernet1/0/27

#

interface GigabitEthernet1/0/28

#

 scheduler logfile size 16

#

line class aux

 user-role network-admin

#

line class vty

 user-role network-operator

#

line aux 0

 user-role network-admin

#

line vty 0 63

 user-role network-operator

#

 ntp-service refclock-master

#

radius scheme system

 user-name-format without-domain

#

domain system

#

 domain default enable system

#

role name level-0

 description Predefined level-0 role

#

role name level-1

 description Predefined level-1 role

#

role name level-2

 description Predefined level-2 role

#

role name level-3

 description Predefined level-3 role

#

role name level-4

 description Predefined level-4 role

#

role name level-5

 description Predefined level-5 role

#

role name level-6

 description Predefined level-6 role

#

role name level-7

 description Predefined level-7 role

#

role name level-8

 description Predefined level-8 role

#

role name level-9

 description Predefined level-9 role

#

role name level-10

 description Predefined level-10 role

#

role name level-11

 description Predefined level-11 role

#

role name level-12

 description Predefined level-12 role

#

role name level-13

 description Predefined level-13 role

#

role name level-14

 description Predefined level-14 role

#

user-group system

#

local-user admin class manage

 password hash $h$6$4zv6kUo4s35XnKGC$jAEx/4t41qDtj3kwnF+1XKfWMH3LVI1XqWgLOea5kAuaQWZR53olUof6l8PACMB2S6EaJYgjKHv1OzWCmtaO/A==

 service-type telnet http https

 authorization-attribute user-role level-15

 authorization-attribute user-role network-operator

#

 ip http enable

 ip https enable

#

return


  • x
  • 常规:

点评 回复

跳转到指定楼层
guanbj
guanbj  新锐 发表于 2020-1-18 10:37:45 已赞(0) 赞(0)

line vty 0 63

user-role network-operator

没开telnet吧
  • x
  • 常规:

点评 回复

古茶驿道
古茶驿道   发表于 2020-1-18 10:53:19 已赞(0) 赞(0)

guanbj 发表于 2020-01-18 10:37 line vty 0 63 user-role network-operator没开telnet吧
上面全局 下面开了 telnet server enable 吗 指点下
  • x
  • 常规:

点评 回复

guanbj
guanbj  新锐 发表于 2020-1-18 11:17:49 已赞(0) 赞(0)

古茶驿道 发表于 2020-01-18 10:53上面全局 下面开了 telnet  server enable 吗 指点下

远程没开telnet协议啊,不开怎么远程呢

华为是要开的,H3C不清楚
  • x
  • 常规:

点评 回复

零青侠
零青侠   发表于 2020-1-18 15:42:42 已赞(1) 赞(1)

可以telnet 127.0.0.1测试是否配置好了telnet,Telnet server enable 要开启哦 ,

[H3C]user-interface vty 0 4
[H3C-line-vty0-4]authentication-mode scheme
[H3C-line-vty0-4]protocol inbound telnet
[H3C-line-vty0-4]quit

[H3C]telnet server enable
再配置个用户,
serviceTYPE telnet试试
  • x
  • 常规:

点评 回复

古茶驿道
古茶驿道   发表于 2020-1-18 16:21:41 已赞(0) 赞(0)

零青侠 发表于 2020-01-18 15:42 可以telnet 127.0.0.1测试是否配置好了telnet,Telnet server enable 要开启哦 ,[H3C]user-interface vty ...
好的谢谢! 我试下
  • x
  • 常规:

点评 回复

发表回复
您需要登录后才可以回帖 登录 | 注册

警告 内容安全提示:尊敬的用户您好,为了保障您、社区及第三方的合法权益,请勿发布可能给各方带来法律风险的内容,包括但不限于政治敏感内容,涉黄赌毒内容,泄露、侵犯他人商业秘密的内容,侵犯他人商标、版本、专利等知识产权的内容,侵犯个人隐私的内容等。也请勿向他人共享您的账号及密码,通过您的账号执行的所有操作,将视同您本人的行为,由您本人承担操作后果。详情请参看“隐私声明
如果附件按钮无法使用,请将Adobe Flash Player 更新到最新版本!
登录参与交流分享

登录参与交流分享

登录