交换机SSH登陆失败故障排查

本文档详细介绍了如何排查交换机SSH登录失败的问题,包括检查网络连接、VTY通道、SSH服务器状态、ACL绑定、VTY界面SSH配置、用户存在性和AAA配置等关键步骤。
摘要由CSDN通过智能技术生成

一、检查网络连接是否正确

操作步骤

执行命令ping xxx.xxx.xxx.xxx(目的IP网段)

根据报文是否丢包确认是否可以访问该设备,网络不通请检查组网及网络地址、静态路由等相关配置。

二、检查VTY通道是否已占满*

操作步骤

在任意视图下,执行命令 display users,检查当前用户登录数量。

<HUAWEI> display users
NOTE:
User-Intf: The absolute number and the relative number of user interface
Authen: Whether the authentication passes
Author: Command line authorization flag
--------------------------------------------------------------------------------
  User-Intf   Delay     Type   Network Address   Authen    Author   Username
--------------------------------------------------------------------------------
  34  VTY 0   00:11:51  TEL    10.10.31.28       pass      yes      Unspecified

  35  VTY 1   00:10:17  TEL    10.10.34.161      pass      yes      Unspecified

* 36  VTY 2   00:00:00  TEL    10.10.193.10      pass      yes      Unspecified

在任意视图下,执行命令 display current-configuration configuration user-interface include-default,检查登录用户的最大数目。缺省情况下,Telnet、SSH(STelnet)用户最大数目共为5个。

<HUAWEI> display current-configuration configuration user-interface include-default
#
~undo user-interface vty security-policy disable
~user-interface maximum
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值