You can configure a router to selectively receive routes.
The system view is displayed.
The RIPng view is displayed.
filter-policy { acl6-number | acl6-name acl6-name } import
The imported routes are filtered based on the ACL.
Return to the system view.
The basic ACL view is displayed.
A rule is configured for the basic ACL.
When the rule command is run to configure rules for a named ACL, only the source address range specified by source and the time period specified by time-range are valid as the rules.
If the action specified in an ACL rule is permit, a route that matches the rule will be received or advertised by the system.
If the action specified in an ACL rule is deny, a route that matches the rule will not be received or advertised by the system.
If a route has not matched any ACL rules, the route will not be received or advertised by the system.
If an ACL does not contain any rules, all routes matching the route-policy that references the ACL will not be received or advertised by the system.
In the configuration order, the system first matches a route with a rule that has a smaller number and then matches the route with a rule with a larger number. Routes can be filtered using a blacklist or a whitelist:
Route filtering using a blacklist: Configure a rule with a smaller number and specify the action deny in this rule to filter out the unwanted routes. Then, configure another rule with a larger number in the same ACL and specify the action permit in this rule to receive or advertise the other routes.
Route filtering using a whitelist: Configure a rule with a smaller number and specify the action permit in this rule to permit the routes to be received or advertised by the system. Then, configure another rule with a larger number in the same ACL and specify the action deny in this rule to filter out unwanted routes.
filter-policy ipv6-prefix ipv6-prefix-name import
The imported routes are filtered based on the prefix list.
filter-policy route-policy route-policy-name import
The imported routes are filtered based on the route-policy.
RIPng can filter the received routes based on an IPv6 ACL, route-policy or an IPv6 prefix list. Only the routes that meet the match conditions are added in the RIPng routing table.
The configuration is submitted.