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