NOTE
If the default interception port is in use, information about the current interception port is not displayed.
Run the
display ssh server session
command. The command output shows that the session
information between SSH server and client.
<Huawei>
display ssh server session
Session 2:
Conn :
VTY 4
Version : 2.0
State : started
Username : client002
Retry : 1
CTOS Cipher : aes128-cbc
STOC Cipher : aes128-cbc
CTOS Hmac : hmac-md5
STOC Hmac : hmac-md5
Kex : diffie-hellman-group-exchange-sha1
Authentication Type :
password
6.5 Configuration Examples
This section provides an example for performing files by accessing the system and using FTP
or SFTP.These configuration examples explain networking requirements, configuration
roadmap, and configuration notes.
6.5.1 Example for Performing File Operations by Means of the File
System
This section describes how to perform file operations by means of the file system. In this
example, you can log in to the router to view and copy directories.
Networking Requirements
You can log in to the router through the Console interface, Telnet, or STelnet to perform file
operations on the router.
The file path in the storage device must be correct. If the user does not specify a target file name,
the source file name is the name of the target file by default.
Configuration Roadmap
The configuration roadmap is as follows:
1.
Check the files under a certain directory.
2.
Copy a file to this directory.
3.
Check this directory and view that the file is copied successfully to the specified directory.
Data Preparation
To complete the configuration, you need the following data:
l
Source file name and target file name
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
105