Network requirements – H3C Technologies H3C SR8800 User Manual
Page 422
406
[RouterA-POS2/1/1] quit
# Configure three static routes on Router A.
[RouterA] ipv6 route-static 20:: 32 POS 2/1/2
[RouterA] ipv6 route-static 30:: 32 POS 2/1/2
[RouterA] ipv6 route-static 40:: 32 POS 2/1/2
# Configure a routing policy.
[RouterA] ip ipv6-prefix a index 10 permit 30:: 32
[RouterA] route-policy static2ripng deny node 0
[RouterA-route-policy] if-match ipv6 address prefix-list a
[RouterA-route-policy] quit
[RouterA] route-policy static2ripng permit node 10
[RouterA-route-policy] quit
# Enable RIPng and apply routing policy static3ripng to filter redistributed static routes on Router
A.
[RouterA] ripng
[RouterA-ripng-1] import-route static route-policy static2ripng
2.
Configure Router B:
# Configure the IPv6 address of POS2/1/1, and enable PPP on it.
<RouterB> system-view
[RouterB] ipv6
[RouterB] interface POS 2/1/1
[RouterB-POS2/1/1] ipv6 address 10::2 32
[RouterB-POS2/1/1] link-protocol ppp
# Enable RIPng on the interface.
[RouterB-POS2/1/1] ripng 1 enable
[RouterB-POS2/1/1] quit
# Enable RIPng.
[RouterB] ripng
# Display RIPng routing table information.
[RouterB-ripng-1] display ripng 1 route
Route Flags: A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::7D58:0:CA03:1 on POS2/1/1
Dest 10::/32,
via FE80::7D58:0:CA03:1, cost 1, tag 0, A, 18 Sec
Dest 20::/32,
via FE80::7D58:0:CA03:1, cost 1, tag 0, A, 8 Sec
Dest 40::/32,
via FE80::7D58:0:CA03:1, cost 1, tag 0, A, 3 Sec
Applying a routing policy to filter received BGP routes
Network requirements
•
, all the routers run BGP. Router C establishes EBGP connections with other routers.
•
Configure a routing policy on Router D to reject routes from AS 200.