连接完 console 口
切换视图:<Quidway>sys
Enter system view, return user view with Ctrl+Z.
切换视图:[Quidway]interface vlanif 1
设置ip:[Quidway-Vlanif1]ip address 192.168.0.200 255.255.255.0
Jan 1 2008 00:04:46 Quidway %%01IFNET/4/LINK_STATE(l): Line protocol on interfa
ce Vlanif1 has turned into UP state.
----------------------------------------------------------------------------------
设完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!
失去了跟主机的连接。
C:\Documents and Settings\Administrator>
---------------------------------------------------------------------------------------
看来telnet用户的设置是必须的!下面设用户:
[Quidway]user-interface maximum-vty 5 VTY 连接的{zd0}数量为5。
[Quidway]user-interface vty 0 4 进入用户界面视图使能终端服务功能,配置用户界面支持Telnet服务
[Quidway-ui-vty0-4]shell
[Quidway-ui-vty0-4]protocol inbound telnet
[Quidway-ui-vty0-4]authentication-mode password 配置采用Password 验证方式,并配置密码为huawei。
[Quidway-ui-vty0-4]set authentication password cipher huawei
[Quidway-ui-vty0-4]user privilege level 15 配置用户的命令级别为15级,超时断开时间为5分钟。
[Quidway-ui-vty0-4]idle-timeout 5
----------------------------------------------------------------------------------------------
完成上面设置后:用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. *
***********************************************************
Login authentication
Password:
Note: The max number of VTY users is 5, and the current number
of VTY users on line is 1.
<Quidway>