HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 82

Using the device as an FTP server, Configuring basic parameters

Page 82 highlights

• Download the file newest.bin from the PC to the Flash root directory of the subordinate device (with member ID of 2). [ftp] get newest.bin slot2#flash:/newest.bin # Set the transfer mode to ASCII and upload the configuration file config.cfg from the IRF fabric to the PC for backup. [ftp] ascii [ftp] put config.cfg back-config.cfg 227 Entering Passive Mode (10,1,1,1,4,2). 125 ASCII mode data connection already open, transfer starting for /config.cfg. 226 Transfer complete. FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec. [ftp] bye 221 Server closing. # Specify newest.bin as the main system software image file for the next startup of all member devices. boot-loader file newest.bin slot all main This command will set the boot file of the specified board. Continue? [Y/N]:y The specified file will be used as the main boot file at the next reboot on slot 1! The specified file will be used as the main boot file at the next reboot on slot 2! IMPORTANT: The system software image file used for the next startup must be saved in the Flash root directory. You can copy or move a file to the Flash root directory. # Reboot the device, and the system software image file is updated at the system reboot. reboot Using the device as an FTP server If the device is operating as an FTP server, make sure the following requirements are met to ensure successful FTP operations: • The device and the FTP server can reach each other. • Configure a user account (including the username, password, and authorization) on the device or a remote authentication server for an FTP user. This task is required because the device does not support anonymous FTP for security reasons. By default, authenticated users can access the root directory of the device. • The FTP user provides the correct username and password. NOTE: When you use the Internet Explorer browser to log in to the device operating as an FTP server, some FTP functions are not available. This is because multiple connections are required during the login process but the device supports only one connection at a time. Configuring basic parameters The FTP server uses one of the following modes to update a file when you upload the file (using the put command) to the FTP server: 76

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135

76
Download the file
newest.bin
from the PC to the Flash root directory of the subordinate device (with
member ID of 2).
[ftp] get newest.bin slot2#flash:/newest.bin
# Set the transfer mode to ASCII and upload the configuration file
config.cfg
from the IRF fabric to the PC
for backup.
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.
FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.
[ftp] bye
221 Server closing.
# Specify
newest.bin
as the main system software image file for the next startup of all member devices.
<Sysname> boot-loader file newest.bin slot all main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
The specified file will be used as the main boot file at the next reboot on slot 2!
IMPORTANT:
The system software image file used for the next startup must be saved in the Flash root directory. You can
copy or move a file to the Flash root directory.
# Reboot the device, and the system software image file is updated at the system reboot.
<Sysname> reboot
Using the device as an FTP server
If the device is operating as an FTP server, make sure the following requirements are met to ensure
successful FTP operations:
The device and the FTP server can reach each other.
Configure a user account (including the username, password, and authorization) on the device or
a remote authentication server for an FTP user. This task is required because the device does not
support anonymous FTP for security reasons. By default, authenticated users can access the root
directory of the device.
The FTP user provides the correct username and password.
NOTE:
When you use the Internet Explorer browser to log in to the device operating as an FTP server, some FTP
functions are not available. This is because multiple connections are required during the login process but
the device supports only one connection at a time.
Configuring basic parameters
The FTP server uses one of the following modes to update a file when you upload the file (using the
put
command) to the FTP server: