activate-route-tag compatible (BGP multi-instance VPNv4 address family view)

Function

The activate-route-tag compatible command allows VPNv4 routes that carry a non-zero tag value to match the rule configured using the if-match tag command.

The undo activate-route-tag compatible command restores the default configuration.

By default, VPNv4 routes that carry a non-zero tag value are not allowed to match the rule configured using the if-match tag command.

Format

activate-route-tag compatible

undo activate-route-tag compatible

Parameters

None

Views

BGP multi-instance VPNv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

By default, the tag value of VPNv4 routes is 0, and the VPNv4 routes that carry tag 0 match the rule configured using the if-match tag command. If the tag carried in VPNv4 routes is not 0, the VPNv4 routes are not allowed to match the rule configured using the if-match tag command unless the activate-route-tag compatible command is run.

Example

# Allow VPNv4 routes that carry a non-zero tag value to match the rule configured using the if-match tag command.
<HUAWEI> system-view
[~HUAWEI] bgp 100 instance a
[*HUAWEI-bgp-instance-a] ipv4-family vpnv4
[*HUAWEI-bgp-instance-a-af-vpnv4] activate-route-tag compatible
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >