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.
l
filter-policy
ipv6-prefix
ipv6-prefix-name
import
The imported routes are filtered based on the prefix list.
l
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.
----End
4.7.4 Checking the Configurations
After the function of controlling the receiving of RIPng routing information is successfully
configured, you can view RIPng routing information.
Prerequisites
Controlling the receiving of RIPng routing information has been configured.
Procedure
l
Run the
display ripng
process-id
database
command to check all activated routes in the
RIPng database.
l
Run the
display ripng
process-id
route
command to check all the RIPng routes that are
learned from other routers.
----End
Example
# Display all the activated routes in the RIPng database.
<HUAWEI>
display ripng 100 database
2001:DB8:8::8/128,
NULL0 cost 0, Imported
2001:DB8:10::/64,
via FE80::2E0:E6FF:FE1B:8242, Ethernet0/0/0, cost 1
2001:DB8:10::/64,
via FE80::2E0:E6FF:FE1B:8242, Ethernet0/0/1, cost 1
2001:DB8:10::/64,
via FE80::2E0:E6FF:FE1B:8142, Ethernet0/0/0, cost 1
2001:DB8:10::/64,
via FE80::2E0:E6FF:FE1B:8142, Ethernet0/0/1, cost 1
2001:DB8:12::/64,
Ethernet0/0/0 cost 0, RIPng-interface
# Display all the RIPng routes that are learned from other routers.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
4 RIPng Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
246