apply entropy-label none

Function

The apply entropy-label none command discards the entropy label of BGP routes.

The undo apply entropy-label none command cancels the configuration.

By default, the entropy label of BGP routes is not discarded.

Format

apply entropy-label none

undo apply entropy-label none

Parameters

None

Views

Route-policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

On a device enabled to add the entropy label to advertised routes using the peer advertise-entropy-label command, if you want to discard the entropy label in received or advertised BGP routes, run the apply entropy-label none command in an import or export route-policy. Then, the entropy label in the BGP routes that match the if-match clauses will be discarded.

Prerequisites

A route-policy has been configured.

Example

# Discard the entropy label.
<HUAWEI> system-view
[~HUAWEI] route-policy policy permit node 10
[*HUAWEI-route-policy] apply entropy-label none
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >