Usage Scenario
The peer ip-prefix import command can be used to configure a route filtering policy that is based on an IP prefix list for filtering BGP routes to be received from a specified peer group, implementing route control.
Prerequisites
If the peer ip-prefix command specifies an IP prefix list that does not exist for a peer, use the ip ip-prefix command to create an IP prefix list.
Configuration Impact
If an IP prefix list is specified for a peer group, all the members of the peer group inherit the configuration.
After an IP prefix list is specified for a peer group, the peers in the peer group filter the routes received from other peers based on the IP prefix list. Only the routes that pass the filtering of the IP prefix list can be received.
Precautions
If both this command and the peer route-filter import command are run, the latest configuration overrides the previous one.
If the length of the filter name is less than or equal to six characters and the name matches the first six characters of export or import, When you run the undo command, the filter name cannot be entered. You only need to enter the keyword import or export.