< Home

(Optional) Pre-configuring the Stack ID for an AS

Context

When an AS is a stack of multiple member switches, the system pre-configures only stack ID 0 by default. You can only pre-configure services for the member switch with stack ID 0. Before pre-configuring services for another member switch, pre-configure a stack ID for the member switch.

The pre-configured stack ID does not affect the actual stack ID. For example, the pre-configured stack ID is 0 (default value), but the actual stack IDs are 0 and 2. The actual stack IDs remain 0 and 2 except that no services are configured on the device with stack ID 2.

An AS can be a stack of the same device series but different device models. If the stack contains different device models, you need to specify the replace-model parameter to change the device model that is different from the other device models in the stack to the actual access device model. If you do not specify the device model of a specified member, by default, the device model of this member is consistent with the pre-configured AS type.

  • If an AS is a single device but its stack ID is not 0 and no stack ID is configured on the parent, the parent changes the stack ID of the AS to 0 and restarts the AS when the AS connects to the parent.
  • If an AS is a switch that does not support the stacking function, you can pre-configure a stack ID on the parent but the configured stack ID does not take effect.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run uni-mng

    The uni-mng view is displayed.

  3. Run as name as-name

    The AS view is displayed.

  4. Run slot slot-id1 replace-model model-name or slot slot-id2 [ to slot-id3 ] [ replace-model model-name ]

    A stack ID is pre-configured for the AS or the pre-configured device model is changed.

    By default, the pre-configured stack ID is 0.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >