88
FTP server configuration example in IRF mode
Network requirements
•
Configure the IRF fabric as an FTP server.
•
Create a local user account named
abc
on the FTP server. Set the password to
123456
.
•
Use the user account to log in to the FTP server from the FTP client.
•
Upload the
temp.bin
file from the FTP client to the FTP server.
•
Download configuration file
config.cfg
from the FTP server to the FTP client for backup.
Figure 23
Network diagram
Configuration procedure
1.
Configure IP addresses as shown in
. Make sure the IRF fabric and the PC can reach
each other. (Details not shown.)
2.
Configure the FTP server:
# Examine the storage space on the member devices. If the free space is insufficient, use the
delete/unreserved
file
-
url
command to delete unused files. (Details not shown.)
# Create a local user named
abc
. Set the password to
123456
.
<Sysname> system-view
[Sysname] local-user abc class manage
[Sysname-luser-abc] password simple 123456
# Assign the
network-admin
user role to the user. Set the working directory to the root
directory of the flash memory on the global active MPU. (To set the working directory to the root
directory of the flash memory on one of the global standby MPUs, replace
flash:/
with, for
example,
chassis2#slot1#flash:/
.)
[Sysname-luser-abc] authorization-attribute user-role network-admin work-directory
flash:/
# Assign the service type FTP to the user.
[Sysname-luser-abc] service-type ftp
[Sysname-luser-abc] quit
# Enable the FTP server.
[Sysname] ftp server enable
[Sysname] quit
3.
Perform FTP operations from the FTP client:
# Log in to the FTP server at 1.1.1.1 using username
abc
and password
123456
.
c:\> ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
Internet
PC
FTP client
1.2.1.1/16
Note: The orange line represents an IRF connection.
IRF (FTP server)
IP: 1.1.1.1/16
Master
(Member_ID=1)
Subordinate
(Member_ID=2)
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...