peer advertise route-reoriginated vpnv6 (BGP-VPNv6 address family view)(IPv6)

Function

The peer advertise route-reoriginated vpnv6 command enables a device to advertise the regenerated routes in the VPNv6 address family to a BGP VPNv6 peer.

The undo peer advertise route-reoriginated vpnv6 command restores the default configuration.

By default, the local device does not advertise routes regenerated in the VPNv6 address family to a BGP VPNv6 peer.

Format

peer peerIpv6Addr advertise route-reoriginated vpnv6

peer peerIpv4Addr advertise route-reoriginated vpnv6

undo peer peerIpv6Addr advertise route-reoriginated vpnv6

undo peer peerIpv4Addr advertise route-reoriginated vpnv6

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

peerIpv4Addr

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

Views

BGP-VPNv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an HVPN scenario, UPEs communicate with each other through SPEs and NPEs. If there are a large number of UPEs, the one-label-per-instance mode is configured for VPN instances, and the one-label-per-next-hop mode is configured for the VPNv6 address family on the SPE, the UPEs will receive a large number of labels. If the UPE has a small resource capacity, traffic may be incorrectly forwarded.

To address this problem, you can configure an SPE to leak the received VPNv6 routes into a VPN instance, which regenerates these routes and advertises them to the VPNv6 address family. Then, you can configure the one-label-per-instance mode for the VPN instance, when the re-originated VPNv6 routes are advertised to UPEs, each instance is assigned a label. This reduces the number of private network labels of VPNv6 routes. To enable an SPE to advertise routes regenerated in the VPNv6 address family to a BGP VPNv6 peer, run the peer advertise route-reoriginated vpnv6 command.

Precautions

The VPN instance has been configured to advertise regenerated routes to the VPNv6 address family using the advertise [ best-route | valid-routes ] route-reoriginate command.

Example

# Configure an SPE to advertise regenerated routes in the VPNv6 address family to a VPNv6 peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:db8::1 as-number 100
[*HUAWEI-bgp] ipv6-family vpnv6
[*HUAWEI-bgp-af-vpnv6] peer 2001:db8::1 enable
[*HUAWEI-bgp-af-vpnv6] peer 2001:db8::1 advertise route-reoriginated vpnv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >