408
[RouterA] ripng
[RouterA-ripng-1] import-route static route-policy static2ripng
2.
Configure Router B:
# Configure the IPv6 address of Ethernet 1/1.
<RouterB> system-view
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ipv6 address 10::2 32
# Enable RIPng.
[RouterB] ripng
[RouterB-ripng-1] quit
# Enable RIPng on the interface.
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ripng 1 enable
[RouterB-Ethernet1/1] quit
Verifying the configuration
# Display the RIPng routing table on Router B.
[RouterB] display ripng 1 route
Route Flags: A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::7D58:0:CA03:1 on Ethernet1/1
Destination 10::/32,
via FE80::7D58:0:CA03:1, cost 1, tag 0, A, 18 secs
Destination 20::/32,
via FE80::7D58:0:CA03:1, cost 1, tag 0, A, 8 secs
Destination 40::/32,
via FE80::7D58:0:CA03:1, cost 1, tag 0, A, 3 secs