华为交换机部分版本远程登录


关于华为交换机设备远程配置

通常我们在配置华为交换机远程配置只需做一下操作:

1、HTTP/HTTPS相关服务

#http secure-server enable

#http server enable

2、Telnet服务

#telnet server enable

3、SSH服务

#stelnet server enable

#ssh user admin authentication-type password

上面的配置在V200R019C10以及之前的版本都适用,只要用户名、服务类型、等级对了、VTY允许就没有任何问题,但是华为最近出了一款智选系列产品(还没有华为Logo),华为的设备为新版本V200R20以及之后的版本需要注意。

在上面图片中可以看到这个版本是V200R021版本,http的服务都是没问题的,但打不开WEB,通过display tcp status一看,没有侦听对应的端口号;

#http server enable

Info:The HTTP server has been already started.

Warning: After configuring the source interface orsource address, the listening socket will be created.

#提示帮了很大的忙,说没有指定源接口或者源地址,只有指定后设备才会listening(侦听)

#http server-source  all-interface

Warning:The operation will reboot the HTTP server. Continue? [Y/N]:y

Warning:It expandes the range of accessed Ip.

#指定后就可以访问了。

#telnet server-source  all

Warning:Telnet server source configuration will take effect in the next login. Continue?[Y/N]:y

Warning:It expandes the range of accessed Ip.

包括Telnet、以及SSH也是,默认情况下没有指定任何接口,也就是不能从任何接口登录设备,必须指定接口或者all才能访问。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM