本文共 1560 字,大约阅读时间需要 5 分钟。
通过华为模拟器ensp新建两台模拟路由器AR3260,cable使用copper的线材。首次给两台路由器的接口设置IP地址。
<Huawei>sys(进入系统视图模式)第一台Enter system view, return user view with Ctrl+Z.[Huawei]int [Huawei]interface g [Huawei]interface GigabitEthernet 0/0/0 (此处配置路由接口命令)[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.2 24(接口IP地址)Jan 29 2018 19:02:26-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocolIP on the interface GigabitEthernet0/0/0 has entered the UP state. [Huawei-GigabitEthernet0/0/0][Huawei-GigabitEthernet0/0/0][Huawei-GigabitEthernet0/0/0]undo shutdown(激活接口)第二台(同上)[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 24Jan 29 2018 19:01:32-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocolIP on the interface GigabitEthernet0/0/0 has entered the UP state. [Huawei-GigabitEthernet0/0/0][Huawei-GigabitEthernet0/0/0][Huawei-GigabitEthernet0/0/0]undo shutdown上述完成后通过第二台进入系统视图模式进入设置(如下)
[Huawei]user-interface vty 0 1 (访问终端的可变量)[Huawei-ui-vty0-1]authentication-mode password(密码设置)Please configure the login password (maximum length 16):123(密码)[Huawei-ui-vty0-1]protocol inbound telnet(访问方式)[Huawei-ui-vty0-1]user privilege level 12(用户访问权限的级别,可变量)如下,通过第一台进行对192.168.1.1的访问
<Huawei>telnet 192.168.1.1Press CTRL_] to quit telnet modeTrying 192.168.1.1 ...Connected to 192.168.1.1 ...Login authentication
Password:(此处为密码)
<Huawei>sysEnter system view, return user view with Ctrl+Z.[Huawei]sysname j1(此处通过远程修改用户名)[j1][j1][j1]通过上述方式用telnet 的模式对华为路由器进行远程访问省去了网络运维人员两头跑的辛苦任务!
以上不足之处敬请谅解,感谢您能提出宝贵的意见!!
如果您觉得好别忘了点赞、转发、评论呦!转载于:https://blog.51cto.com/13585603/2066540