52Configuring inbound or outbound route filteringThe switch supports route filtering. You can filter routes by configuring the inbound andoutbound route filtering policies by referencing an ACL or IP prefix list. You can also configurethe router to receive routes only from a specified neighbor.To do… Use the command… RemarksStep 1 Enter system view system-view ––Step 2 Enter RIP view rip [ process-id ] [ vpn-instancevpn-instance-name ] ––Step 3 Configure the filtering ofincoming routesfilter-policy { acl-number |gateway ip-prefix-name | ip-prefix ip-prefix-name [ gatewayip-prefix-name ] } import [interface-type interface-number ]RequiredNot configured bydefaultStep 4 Configure the filtering ofoutgoing routesfilter-policy { acl-number | ip-prefix ip-prefix-name } export [protocol [ process-id ] | interface-type interface-number ]RequiredNot configured bydefault• The filter-policy import command filters incoming routes. Routes not passing the filtering will beneither installed into the routing table nor advertised to neighbors.• The filter-policy export command filters outgoing routes, including routes redistributed with theimport-route command.Configuring a priority for RIPMultiple IGP protocols can run in a router. If you want RIP routes to have a higher priority thanthose learned by other routing protocols, then assign RIP a smaller priority value to influenceoptimal route selection.To do… Use the command… RemarksStep 1 Enter system view system-view ––Step 2 Enter RIP view rip [ process-id ] [ vpn-instancevpn-instance-name ] ––Step 3 Configure a priority for RIP preference [ route-policyroute-policy-name ] valueOptional100 by default