ASs in an SVF system can be manually upgraded on the parent.
The files used to upgrade an AS are often saved in the root directory unimng/ of the parent. These files can also be saved on an AS when the AS is upgraded or downgraded to the software version that is consistent with that of the parent.
To upgrade an AS, you must configure the FTP or SFTP server function on the parent so that the AS can download the related upgrade files from the parent.
The system view is displayed.
The uni-mng view is displayed.
The local file server is configured.
By default, no local file server is configured on the parent.
If the local file server is not configured, an AS cannot download upgrade files from the parent and so cannot be upgraded.
FTP has potential security risks, and so SFTP is recommended. If you want to use FTP, you are advised to configure ACLs to improve security. For details, see Configure the FTP ACL in "File Management" in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Basic Configuration.
When the file server is an FTP server, the FTP service is automatically enabled and an FTP user is created on the parent, removing the need to perform the FTP configuration.
When the file server type is set to SFTP, the SFTP service is not automatically enabled and no SFTP user is created on the parent. You need to manually pre-configure SFTP on the parent.
For more details about the SFTP configuration, see File Management in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Basic Configuration.
After the upgrade { local-ftp-server | local-sftp-server } command is executed, the same user name and password configuration is also generated in the AAA view. If you modify the configured local user information (the user password for example) in AAA view, the version management function does not take effect.
If information about a user already exists in the AAA view, running this command to create the same user will change the user password in the AAA view to the configured password and change the user level to level 3. Changing the user password is allowed only when the user level of the user running this command is higher or equal to the user level configured in the AAA view. Otherwise, the command does not take effect.
Running this command multiple times to create new users will delete previous user information. Previous user information can be deleted only when the user level of the user running this command is higher or equal to the user level configured in the AAA view. Otherwise, the command does not take effect.
If a remote authentication server is used for AAA authentication, the user name and password configured using this command must also be configured on the remote authentication server.
Files to be loaded on an AS of the specified type are specified.
You can run the as type command multiple times to specify different files for different types of ASs.
Run upgrade as name as-name [ reload [ at time ] ]
An AS with a specified name is upgraded.
Run upgrade as name-include string [ reload [ at time ] ]
ASs of which the name contains a specified string are upgraded.
Run upgrade as type as-type [ reload [ at time ] ]
An AS of a specified type is upgraded.
Run upgrade as all [ reload [ at time ] ]
All ASs are upgraded.
If reload is specified but at time is not specified during the upgrade of an AS, the AS restarts immediately after downloading upgrade files.
If reload and at time are specified during the upgrade of an AS, the AS restarts at the time specified by time.