< Home

shutdown interface

Function

The shutdown interface command shuts down a physical member interface.

The undo shutdown interface command enables a physical member interface.

By default, a physical member interface is enabled after being configured.

Only devices supporting service port stacking support this command.

Format

shutdown interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>

undo shutdown interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>

Parameters

Parameter Description Value
interface-type interface-number1 [ to interface-type interface-number2 ]
Specifies the type and number of an interface:
  • interface-type specifies the type of the interface.

  • interface-number1 specifies the number of the first interface.

  • interface-number2 specifies the number of the second interface.

The value of interface-number2 must be larger than that of interface-number1.

Views

Stack interface view

Default Level

3: Management level

Usage Guidelines

To restore a physical member interface to being a service interface, run the shutdown interface command in the stack interface view and then run the undo port interface enable command.

If there is only one available link on a stack interface, running the shutdown interface command will change the stack status or split the stack. After you run the undo shutdown interface command on the stack interface, the stack will be set up again when a link on the stack interface becomes available.

Example

# Shut down physical member interface XGigabitEthernet0/0/3.

<HUAWEI> system-view
[HUAWEI] interface stack-port 0/1
[HUAWEI-stack-port0/1] shutdown interface XGigabitEthernet0/0/3
Info: This operation may take a few seconds. Please wait...succeeded.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >