刚拆封的交换机,里边没有设置过!
连接 console 口:
切换视图:
[Quidway]interface vlanif 1
[Quidway-Vlanif1]ip address 你的网段ip 你的掩码
设置ip:我的例子:ip address 192.168.0.200 255.255.255.0
上述设置很重要,搞不好绝对上不了!
设完ip后,用xp的cmd telnet 192.168.0.200得到下面画面:
***********************************************************
* All rights reserved (2005-2008) *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
* Notice: *
* This is a private communication system. *
* Unauthorized access or use may lead to prosecution. *
*******************************************************
Warning:Login password has not been set!
失去了跟主机的连接。
上面的信息说明,ip设置正确,只是telnet用户没有设置!下面设用户:
[Quidway]user-interface maximum-vty 5
[Quidway]user-interface vty 0 4
[Quidway-ui-vty0-4]shell
[Quidway-ui-vty0-4]protocol inbound telnet
[Quidway-ui-vty0-4]authentication-mode password
[Quidway-ui-vty0-4]set authentication password cipher huawei
[Quidway-ui-vty0-4]user privilege level 15
[Quidway-ui-vty0-4]idle-timeout 5
完成上面设置后:用xp的cmd telnet 192.168.0.200 结果出现下面画面,输入密码huawei,成功!
***********************************************************
* All rights reserved (2005-2008) *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
* Notice: *
* This is a private communication system. *
* Unauthorized access or use may lead to prosecution. *
***********************************************************
Login authentication
Password:
这样设置,交换机任何一个口都能上Telnet