华三 S5130 配置 web.Telnet,ssh 远程访问实例
笔记本-----华三 s5130。使用 console 线和网线。
要点:user-interface vty 0 4
如果执行 protocol inbound ssh 那么只有 ssh 可以访问,Telnet 无法打开,web 正常。这里这
样处理
undo protocol inbound
添加 protocol inbound all
先配置 web 和 Telnet,这个比较简单,因为 ssh 需要提交 rsa 和 dsa 秘钥对,在 user-
interface vty 0 4 下的 authentication-mode scheme 是一样的,组合访问(用户名和密
码)
(一)Telnet 和 web 访问
system-view
local-user admin
password simple 1234
service-type http telnet
quit
ip http enable
telnet server enable
user-interface vty 0 4
authentication-mode scheme
int vlan-interface 1
ip address 192.168.1.1 24
quit
PC 机配置 ipv4 地址为 192.168.1.2 24 网关正好为 vlan-interface 1 的三层接口。我们也可以
备注描述为 description guanli