extcommunity
#
interface Async5/0/1
async mode flow
#
interface GigabitEthernet 0/0/1
ip binding vpn-instance vpna
ip address 10.1.1.1 255.255.255.0
#
user-interface tty 42
undo shell
redirect enable
redirect binding vpn-instance vpna
#
return
8.8.3 Example for Configuring the Device as the STelnet Client to
Connect to the SSH Server
In this example, the local key pairs are generated on the STelnet client and the SSH server; the
public RSA key is generated on the SSH server and then bound to the STelnet client. In this
manner, the STelnet client can connect to the SSH server.
Networking Requirements
, after the STelnet service is enabled on the SSH server, the STelnet
client can log in to the SSH server with the password, RSA, password-rsa, or all authentication
mode.
Configure two login clients:
l
Configure Client001 with the password as huawei and adopt the password authentication.
l
Configure Client002, adopt the RSA authentication and assign the public key RsaKey001
to Client002.
The user interface supports only SSH.
Figure 8-10
Networking diagram of configuring the device as the STelnet client to connect to
the SSH server
Client002
GE1/0/0
10.164.39.221/24
SSH Server
GE1/0/0
10.164.39.222/24
Client001
GE1/0/0
10.164.39.220/24
Configuration Roadmap
The configuration roadmap is as follows:
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
8 Accessing Another Device
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
157