through telnet again, wait for at least two minutes and then set the port again.
Are you sure to continue?(y/n)[n]: y
Step 5 Use the port number 1028 to log in to Router B from Router A using Telnet.
<RouterA> telnet 1.1.1.2 1028
Press CTRL_] to quit telnet mode
Trying 1.1.1.2 ...
Connected to 1.1.1.2 ...
Login authentication
Password:
<RouterB>
----End
Configuration Files
l Configuration file of Router A
#
sysname RouterA
#
interface Ethernet1/0/0
ip address 1.1.1.1 255.255.255.0
#
return
l Configuration file of Router B
#
sysname RouterB
#
acl number 2000
rule 5 permit source 1.1.1.1 0
#
interface Ethernet1/0/0
ip address 1.1.1.2 255.255.255.0
#
user-interface con 0
user-interface vty 0 4
acl 2000 inbound
set authentication password cipher %$%$<09QW-j{{4oqpM#yo.n4"_VM:z
\#&q;k5JJQfhV@vq6A'e\
W%$%$
#
return
8.7.2 Example for Configuring the Device as the STelnet Client to
Connect to the SSH Server
This example shows how to configure an STelnet client to connect to an SSH server. Local key
pairs are generated on the STelnet client and the SSH server, and the public RSA key is generated
on the SSH server and then bound to the STelnet client.
Networking Requirements
As shown in Figure 8-6, after the STelnet service is enabled on the SSH server, the STelnet
client can use the password, RSA, password-rsa, or all authentication mode to log in to the SSH
server.
Configure two login clients:
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 8 Accessing Another Device
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
171