The filtering policy can be configured on the inbound interface by configuring the ACL and IP prefix list to filter received routes. Only the routes not filtered out by the filtering policy are added to the local routing table.
The system view is displayed.
The RIP view is displayed.
Run filter-policy { acl-number | acl-name acl-name } import [ interface-type interface-number ]
The learned routing information is filtered based on an ACL.
Run filter-policy gateway ip-prefix-name import
The routing information advertised by neighbors is filtered based on the IP prefix list.
Run filter-policy ip-prefix ip-prefix-name [ gateway ip-prefix-name ] import [ interface-type interface-number ]
The routes learned by the specified interface are filtered based on the IP prefix list and neighbors.