The peer capability-advertise orf ip-prefix command configures a BGP device to advertise the prefix-based ORF capability to its peer group.
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 group.
peer group-name capability-advertise orf ip-prefix { both | receive | send }
peer group-name capability-advertise orf non-standard-compatible ip-prefix { both | receive | send }
undo peer group-name capability-advertise orf ip-prefix { both | receive | send }
undo peer group-name capability-advertise orf non-standard-compatible ip-prefix { both | receive | send }
Parameter | Description | Value |
---|---|---|
group-name |
Specifies the name of a 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. |
both |
Indicates that a peer group is allowed to send and receive ORF packets. |
- |
receive |
Indicates that a peer group is allowed only to receive ORF packets. |
- |
send |
Indicates that a peer group 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.