# Display the RIPng routing table of Switch B.
[Switch B] display ripng 1 route
Route Flags: R - RIPng
A - Aging, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::F54C:0:9FDB:1 on Vlanif30
Dest 2::/64,
via FE80::F54C:0:9FDB:1, cost 1, tag 0, RA, 3 Sec
Dest 3::/64,
via FE80::F54C:0:9FDB:1, cost 1, tag 0, RA, 3 Sec
Peer FE80::D472:0:3C23:1 on Vlanif20
Dest 1::/64,
via FE80::D472:0:3C23:1, cost 1, tag 0, RA, 4 Sec
The preceding information shows that the RIPng routing table of Switch B contains the routes
of network segment 3::/64.
# Display the RIPng routing table of Switch A.
[Switch A] display ripng 1 route
Route Flags: R - RIPng
A - Aging, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::476:0:3624:1 on Vlanif20
Dest 2::/64,
via FE80::476:0:3624:1, cost 2, tag 0, RA, 21 Sec
Dest 3::/64,
via FE80::476:0:3624:1, cost 2, tag 0, RA, 21 Sec
The preceding information shows that the RIPng routing table of Switch A contains the routes
of network segment 3::/64 advertised by Switch B.
Step 4 Configure Switch B to filter the received routes.
[Switch B] acl ipv6 number 2000
[Switch B-acl6-basic-2000] rule deny source 3:: 64
[Switch B-acl6-basic-2000] rule permit
[Switch B-acl6-basic-2000] quit
[Switch B] ripng 1
[Switch B-ripng-1] filter-policy 2000 import
[Switch B-ripng-1] quit
Step 5 Verify the configuration.
# Check the RIPng routing table of Switch B. The RIPng routing table should not contain the
routes of network segment 3::/64.
[Switch B] display ripng 1 route
Route Flags: R - RIPng
A - Aging, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::F54C:0:9FDB:1 on Vlanif30
Dest 2::/64,
via FE80::F54C:0:9FDB:1, cost 1, tag 0, RA, 14 Sec
Peer FE80::D472:0:3C23:1 on Vlanif20
Dest 1::/64,
via FE80::D472:0:3C23:1, cost 1, tag 0, RA, 25 Sec
# Check the RIPng routing table of Switch A. The RIPng routing table should not contain the
routes of network segment 3::/64.
[Switch A] display ripng 1 route
Route Flags: R - RIPng
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 3 RIPng Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
79