peer advertise route-reoriginated vpnv4 (BGP-VPNv4 address family view)

Function

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

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

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

Format

peer group-name advertise route-reoriginated vpnv4

undo peer group-name advertise route-reoriginated vpnv4

Parameters

Parameter Description Value
group-name

Specifies the name of a VPNv4 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-VPNv4 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 VPNv4 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 VPNv4 routes received by the SPEs into the VPN instances. The VPN instances regenerate these routes and then advertise them to the VPNv4 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 VPNv4 routes. To enable an SPE to advertise the regenerated routes in the VPNv4 address family to a BGP VPNv4 peer, run the peer advertise route-reoriginated vpnv4 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 VPNv4 address family.

Example

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