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

Function

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

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

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

Format

peer peerGroupName advertise route-reoriginated vpnv6

undo peer peerGroupName advertise route-reoriginated vpnv6

Parameters

Parameter Description Value
peerGroupName

Specifies the name of a VPNv6 peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

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, different UPEs communicate with each other through SPEs and NPEs. When there are a large number of UPEs, if the per instance per label mode is configured for the VPN instances and the per next hop per label mode is configured for the VPNv6 address family of the SPEs, the UPEs have to receive a large number of labels. If the UPEs have comparatively low capacity, a traffic forwarding error may occur.

To solve this problem, import the VPNv6 routes received by the SPEs into the VPN instances. The VPN instances regenerate these routes and then advertise them to the VPNv6 address family. Because the per instance per label mode is configured for the VPN instances, one label is allocated per VPN instance when the regenerated routes are advertised to the UPEs, which reduces the number of VPN labels assigned to VPNv6 routes. To enable an SPE to advertise the regenerated routes in the VPNv6 address family to a BGP VPNv6 peer group, run the peer advertise route-reoriginated vpnv6 command.

Precautions

Before running this command, you can run the advertise [ best-route | valid-routes ] route-reoriginate command to configure a VPN instance to advertise regenerated routes to the VPNv6 address family.

Example

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