< Home

clear direct-command

Function

The clear direct-command command deletes commands to be directly delivered to an AS from the parent.

This command can only be executed on a parent switch.

Format

clear direct-command [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id

Specifies the stack ID of a member device in an AS.

The value is an integer that ranges from 0 to 4.

Views

AS view

Default Level

3: Management level

Usage Guidelines

After you run the direct-command command to directly deliver commands to an AS, you can run the clear direct-command command to delete the commands from the parent.

You can delete directly delivered commands only when the AS is offline. Do not run the clear direct-command command when the parent is delivering the commands to an AS.

Example

# Delete the commands to be directly delivered to AS1 from the parent.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] as name as1
[HUAWEI-um-as-as1] clear direct-command
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >