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.
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 }
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. |
- |
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.