F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

450
On LB, enable static route redistribution into RIPng and apply a routing policy to permit routes
20::/32 and 40::/32 and deny route 30::/32.
Figure 210 Network diagram
Configuration procedure
1. Configure LB:
# Configure IPv6 addresses for interfaces GigabitEthernet 0/1 and GigabitEthernet 0/2.
<LB> system-view
[LB] ipv6
[LB] interface gigabitethernet 0/1
[LB-GigabitEthernet0/1] ipv6 address 10::1 32
[LB-GigabitEthernet0/1] quit
[LB] interface gigabitethernet 0/2
[LB-GigabitEthernet0/2] ipv6 address 11::1 32
[LB-GigabitEthernet0/2] quit
# Enable RIPng on GigabitEthernet 0/1.
[LB] interface gigabitethernet 0/1
[LB-GigabitEthernet0/1] ripng 1 enable
[LB-GigabitEthernet0/1] quit
# Configure three static routes with next hop 11::2, and make sure that the static routes are active.
[LB] ipv6 route-static 20:: 32 11::2
[LB] ipv6 route-static 30:: 32 11::2
[LB] ipv6 route-static 40:: 32 11::2
# Configure a routing policy.
[LB] ip ipv6-prefix a index 10 permit 30:: 32
[LB] route-policy static2ripng deny node 0
[LB-route-policy] if-match ipv6 address prefix-list a
[LB-route-policy] quit
[LB] route-policy static2ripng permit node 10
[LB-route-policy] quit
# Enable RIPng and apply routing policy static2ripng to filter redistributed static routes on Router
A.
[LB] ripng
[LB-ripng-1] import-route static route-policy static2ripng
2. Configure Router:
# Configure the IPv6 address of GigabitEthernet 0/1
<Router> system-view
[Router] ipv6
[Router] interface gigabitethernet 0/1
LB
Router
GE0/1
10::1/32
GE0/1
10::2/32
20::/32
30::/32
40::/32
GE0/2
11::1/32