Prefix-based BGP ORF enables a device to send its peer the local prefix-based import policy so that the peer can use the policy to filter routes before sending them to the local device.
When a device expects to receive only required routes from the remote device and the remote end does not want to maintain a separate export policy for each connected peer, you can configure prefix-based ORF which supports on-demand route advertisement.
The system view is displayed.
The BGP view is displayed.
The IPv4 unicast address family view is displayed.
An IP prefix list-based import policy is configured to filter routes received from the specified peer or peer group.
Prefix-based ORF is configured for a BGP peer or peer group.
The configuration is committed.
Run the display bgp peer [ ipv4-address ] verbose command to check detailed information about BGP peers.
Run the display bgp peer ipv4-address orf ip-prefix command to check routes received from a specified peer after the prefix-based ORF is configured.