shutdown (VSI view)

Function

The shutdown command disables a VSI.

The undo shutdown command enables a VSI.

By default, a VSI is enabled.

Format

shutdown

undo shutdown

Parameters

None

Views

VSI-AUTO view, VSI-BD view, VSI-BVSI view, VSI-DEFAULT view, VSI-IVSI-BEVPNINTERWORK view, VSI-IVSI-P2P view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

During service management, for example, service debugging or service halting, you can disable a VSI temporarily, and then add, cancel, or adjust VSI functions.

The shutdown command mainly affects the PW connections of a VSI. After the command is run, the AC is Down and the Layer 2 forwarding table is deleted.

Configuration Impact

After a VSI is disabled, the VSI cannot forward packets and withdraws all PW labels.

Precautions

After a VSI is disabled, the VSI cannot forward packets. Exercise caution when using the shutdown command.

Example

# Disable the current VSI.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi company1
[*HUAWEI-vsi-company1] shutdown
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >