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.
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.
<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