< Home

interface stack-port

Function

The interface stack-port command displays the stack port view.

Only devices supporting service port stacking support this command.

Format

interface stack-port member-id/port-id

Parameters

Parameter Description Value
member-id

Specifies the stack ID of a member switch.

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

port-id

Specifies a stack port number.

The value is 1 or 2.

Views

System view

Default Level

3: Management level

Usage Guidelines

Each member switch has two stack ports, which are named Stack-Portn/1 and Stack-Portn/2. n specifies the stack ID of a member switch. After you run the interface stack-port command to enter the view of a stack port, you can configure attributes for the stack port.

Example

# Display the view of Stack-Port1/1.

<HUAWEI> system-view
[HUAWEI] interface stack-port 1/1
[HUAWEI-stack-port1/1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >