vpn-orf enable (BGP-MVPN address family view)

Function

The vpn-orf enable command enables ORF.

The undo vpn-orf enable command disables ORF.

By default, ORF is not enabled in the BGP-MVPN address family view.

Format

vpn-orf enable

undo vpn-orf enable

Parameters

None

Views

BGP-MVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

After this command is run, the two devices that have established a BGP-MVPN peer relationship send ORF routes carrying the import VPN target (IRT) of the local MVPN instance to each other. After a device receives an ORF route, the device matches the export VPN target (ERT) carried in the MVPN routes to be advertised against the IRT in the received ORF route to filter the MVPN routes. This ensures that the remote peer receives only the desired routes, thereby reducing pressure on the remote peer and the network load.

Precautions

The ipv4-family vpn-target command must also be run. If the vpn-orf enable command is run, but the ipv4-family vpn-target command is not, the BGP speaker does not advertise routes to the peer in the BGP-MVPN address family.

Example

# Enable ORF.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] ipv4-family mvpn
[*HUAWEI-bgp-af-mvpn] peer 1.1.1.1 enable
[*HUAWEI-bgp-af-mvpn] vpn-orf enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >