图:
AR3260(G0/0/0)-------AR3260(G0/0/0)
例:
[Huawei]sysname w1
[w1]int g0/0/0
[w1-GigabitEthernet0/0/0]ip add 192.168.1.1 255.255.255.0
[w1-GigabitEthernet0/
Aug 02/0]4 2013 14:16:46-05:13 w1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[w1-GigabitEthernet0/0/0]q
[w1]aaa
[w1-aaa]local-user huawei password cipher hello
Info: Add a new user.
[w1-aaa]local-user huawei service-type telnet
[w1-aaa]local-user huawei privilege level 3
[w1-aaa]q
[w1]user
[w1]user-i
[w1]user-interface vty 0 4
[w1-ui-vty0-4]au
[w1-ui-vty0-4]authentication-mode aaa
[w1-ui-vty0-4]q
第二台路由器
<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
Username:huawei
Password:hello
-----------------------------------------------------------------------------
User last login information:
-----------------------------------------------------------------------------
Access Type: Telnet
IP-Address : 192.168.1.2
Time : 2013-08-24 14:20:59-05:13
-----------------------------------------------------------------------------
<w1>
转载于:https://blog.51cto.com/chaohu/1281632