< Home

as type

Function

The as type command specifies the file to be loaded during the upgrade of an AS of a specified device type.

The undo as type command deletes the file to be loaded during the upgrade of an AS of a specified device type.

By default, the file to be loaded is not specified during the upgrade of an AS of a specified device type.

This command can only be executed on a parent switch.

Format

as type as-type { system-software system-software | patch patch } *

undo as type as-type [ system-software | patch ]

Parameters

Parameter Description Value

as-type

Specifies the device type of an AS.

The value is an enumerated type. You can enter a question mark (?) and select a value from the displayed value range.

system-software system-software

Specifies the name of the system software file to be loaded on an AS.

The value is a string of 4 to 48 case-insensitive characters without spaces or special characters, including ~ * : ' " ? < > | [ ] % \ /.

patch patch

Specifies the name of the patch file to be loaded on an AS.

The value is a string of 5 to 48 case-insensitive characters without spaces or special characters, including ~ * : ' " ? < > | [ ] % \ /.

Views

uni-mng view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When an AS is automatically upgraded after going online, the AS is upgraded using the file specified by the as type command.

Precautions

You can run the as type command multiple times to specify different files for different types of ASs.

If the system software file is not specified and only the patch file is specified during a patch upgrade, the patch upgrade fails if the patch file does not match the system software.

Follow-up Procedure

Run the upgrade as command to upgrade the AS.

Example

# Specify the file to be loaded on the AS of the S5720-P-LI type.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] as type s5720-p-li system-software S5720-P-LI-V200R019C00SPC500.cc
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >