shutdown (SR-MPLS TE Policy view)

Function

The shutdown command enables an SR-MPLS TE Policy.

The undo shutdown command disables an SR-MPLS TE Policy.

By default, an SR-MPLS TE Policy is not disabled.

Format

shutdown

undo shutdown

Parameters

None

Views

SR-MPLS TE policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

To temporarily disable an SR-MPLS TE Policy, run the shutdown command. When needed, you can run the undo shutdown command to enable the SR-MPLS TE Policy again.

Example

# Disable an SR-MPLS TE Policy.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te policy policy1 endpoint 1.1.1.1 color 100
[*HUAWEI-segment-routing-te-policy-policy1] shutdown
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >