route match-destination (BGP-Flow VPN instance IPv6 address family view)

Function

The route match-destination command enables a device to change the prefix of each BGP (IPv6) VPN Flow Specification route that matches the export or import policy of a peer to the destination IP address specified in the if-match destination command.

The undo route match-destination command restores the default configuration.

By default, all 0s (0.0.0.0/0 for IPv4 and 0::0/0 for IPv6) are used as the prefix of each BGP (IPv6) VPN Flow Specification route that matches the export or import policy of a peer.

Format

route match-destination

undo route match-destination

Parameters

None

Views

BGP-Flow VPN instance IPv4 address family view, BGP-Flow VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

By default, all 0s (0.0.0.0/0 for IPv4 and 0::0/0 for IPv6) are used as the prefix of each BGP (IPv6) VPN Flow Specification route that matches the export or import policy of a peer. To enable a device to change the prefix of each BGP (IPv6) VPN Flow Specification route that matches the export or import policy of a peer to the destination IP address specified in the if-match destination command, run the route match-destination command.

Example

# Enable a device to change the prefix of each BGP IPv6 VPN Flow Specification route that matches the export or import policy of a peer to the destination IP address specified in the if-match destination command.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[~HUAWEI-vpn-instance-vpna] ipv6-family
[~HUAWEI-vpn-instance-vpna-af-ipv6] quit
[~HUAWEI-vpn-instance-vpna] quit
[~HUAWEI] bgp 100
[*HUAWEI-bgp] vpn-instance vpna
[*HUAWEI-bgp-instance-vpna] quit
[*HUAWEI-bgp] ipv6-flow vpn-instance vpna
[*HUAWEI-bgp-flow-6-vpna] route match-destination
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >