摘要:
学习目标、掌握TELNET配置连接交换机 学习环境:ensp软件 方式一、配置TELNE...
学习目标、掌握TELNET配置连接交换机
学习环境:ensp软件
方式一、配置TELNET的认证方式为PASSWORD
<Huawei>system-view Enter system view, return user view with Ctrl+Z. [Huawei]undo info enable Info: Information center is disabled. [Huawei]int vlan 1 [Huawei-Vlanif1]ip address 192.168.1.1 24 //配置管理地址为192.168.1.1 [Huawei-Vlanif1]qu [Huawei]ip route-static 0.0.0.0 0.0.0.0 192.168.1.254 //配置默认路由,让其他网段可以连接,同网段可不用配置 [[Huawei]telnet server enable Info: The Telnet server has been enabled. [[Huawei]user-interface vty 0 4 [Huawei-ui-vty0-4]authentication-mode password //设置认证方式为PASSWORD [Huawei-ui-vty0-4]set authentication password cipher 123456 //设置密码为123456
方式一、配置TELNET的认证方式为aaa
<Huawei>system-view Enter system view, return user view with Ctrl+Z. [Huawei]undo info-center enable Info: Information center is disabled. [Huawei]int vlan 1 [[Huawei-Vlanif1]ip address 192.168.1.1 24 //配置管理地址为192.168.1.1 [Huawei-Vlanif1]qu [Huawei]ip route-static 0.0.0.0 0.0.0.0 192.168.1.254 //配置默认路由,让其他网段可以连接,同网段可不用配置 [Huawei]telnet server enable Info: The Telnet server has been enabled. [Huawei]user-interface vty 0 4 [Huawei-ui-vty0-4]authentication-mode aaa //设置认证方式为AAA [Huawei-ui-vty0-4]qu [Huawei]aaa [Huawei-aaa]local-user czj password cipher 123456 privilege level 3 //新建用户czj密码为123456用户级别3级 Info: Add a new user. [Huawei-aaa]local-user czj service-type telnet //设置用户CZJ的登录类型为TELNET
还没有评论,来说两句吧...