Usage Scenario
After a route-filter is created, you can run the peer route-filter export command to use the route-filter to filter the routes to be advertised to a specified BGP peer group. The command configuration ensures that only desired routes are advertised, which helps manage routes and reduces the routing table size and system resource consumption.
Prerequisites
The route-filter paragraph editing interface view has been displayed and a route-filter has been created using the edit xpl route-filter command.
Configuration Impact
If the peer route-filter command with a BGP peer group specified is run, all the members in the group inherit the command configuration.
Precautions
The peer route-filter command is mutually exclusive with the peer as-path-filter, peer filter-policy, peer ip-prefix, peer route-policy commands.
If a peer is specified when the peer route-filter command is run, a peer group is specified when the
peer capability-advertise orf command is run, and then the peer is added to the peer group, the peer cannot inherit the configuration of the
peer capability-advertise orf command from the peer group.