265Enabling the BGP ORF capabilityThe BGP ORF feature allows a BGP speaker to send to its BGP peer a set of ORFs through route-refresh messages. The peer then applies the ORFs, in addition to its local routing policies (if any),to filter updates to the BGP speaker. This procedure reduces the number of exchanged Updatemessages and saves network resources.After enabling the BGP ORF capability, the local BGP router negotiates the ORF capability withthe BGP peer through Open messages (that is, to determine whether to carry ORF information inmessages; if yes, whether to carry non-standard ORF information in the packets). After completingthe negotiation process and establishing the neighboring relationship, the BGP router and its BGPpeer can exchange ORF information through specific route-refresh messages.For the parameters configured on both sides for ORF capability negotiation, see Table 5.To do… Use the command… RemarksStep 1 Enter system view system-view —Step 2 Enter BGP view bgp as-number —Step 3 Enable BGP routerefresh for a peer orpeer grouppeer { group-name | ip-address }capability-advertise route-refreshRequiredEnabled by defaultStep 4 Enable the non-standard ORFcapability for a BGPpeer or peer grouppeer { group-name | ip-address }capability-advertise orf non-standardOptionalBy default, standard BGP ORFcapability defined in RFC 5291and RFC 5292 is supported.If the peer supports only non-standard ORF, you mustconfigure this command.Step 5 Enable the ORFcapability for a BGPpeer or peer grouppeer { group-name | ip-address }capability-advertise orf ip-prefix { both | receive | send}RequiredDisabled by defaultTable 5 The both, send, and receive parameters and the negotiation resultLocal parameter Peer parameter Negotiation resultsendreceive The ORF sending capability is enabled locally and theORF receiving capability is enabled on the peer.bothreceivesend The ORF receiving capability is enabled locally and theORF sending capability is enabled on the peer.both