peer capability-advertise orf ip-prefix (BGP-IPv4 unicast address family view)

Function

The peer capability-advertise orf ip-prefix command configures a BGP device to advertise the prefix-based ORF capability to its peer.

The undo peer capability-advertise orf ip-prefix command cancels the configuration.

By default, a BGP device is not configured to advertise the prefix-based ORF capability to its peer.

Format

peer ipv4-address capability-advertise orf ip-prefix { both | receive | send }

peer ipv4-address capability-advertise orf non-standard-compatible ip-prefix { both | receive | send }

undo peer ipv4-address capability-advertise orf ip-prefix { both | receive | send }

undo peer ipv4-address capability-advertise orf non-standard-compatible ip-prefix { both | receive | send }

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

The value is in dotted decimal notation.

both

Indicates that a peer is allowed to send and receive ORF packets.

-

receive

Indicates that a peer is allowed only to receive ORF packets.

-

send

Indicates that a peer is allowed only to send ORF packets.

-

non-standard-compatible

Indicates that ORF supported by Huawei devices is compatible with that supported by a non-Huawei device.

-

Views

BGP-IPv4 unicast address family view, BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

ORF enables a BGP device to send to its BGP peer a set of routing policies that can be used by its peer to filter out unwanted routes during route advertisement.

Precautions

If a peer is specified when the peer capability-advertise orf command is run, a peer group is specified when the peer route-filter command is run, and then the peer is added to the peer group, the peer cannot inherit the configuration of the peer route-filter command from the peer group.

Example

# Configure a BGP device to advertise the prefix-based ORF capability to its peer or peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 11.11.11.1 as-number 200
[*HUAWEI-bgp] peer 11.11.11.1 capability-advertise orf ip-prefix both
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >