513
Total Nets: 4
Intra Area: 1 Inter Area: 0 ASE: 3 NSSA: 0
The output shows that the cost of route 172.17.1.0/24 is 100 and the tag of route 172.17.2.0/24
is 20.
Routing policy configuration example for IPv6 route
redistribution
Network requirements
•
Run RIPng on Switch A and Switch B.
•
Configure three static routes on Switch A.
•
On Switch A, apply a routing policy to redistribute static routes 20::/32 and 40::/32 and deny
route 30::/32.
Figure 118 Network diagram
Configuration procedure
1.
Configure Switch A:
# Configure IPv6 addresses for VLAN-interface 100 and VLAN-interface 200.
<SwitchA> system-view
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ipv6 address 10::1 32
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] ipv6 address 11::1 32
[SwitchA-Vlan-interface200] quit
# Enable RIPng on VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ripng 1 enable
[SwitchA-Vlan-interface100] quit
# Configure three static routes with next hop 11::2, and make sure the static routes are active.
[SwitchA] ipv6 route-static 20:: 32 11::2
[SwitchA] ipv6 route-static 30:: 32 11::2
[SwitchA] ipv6 route-static 40:: 32 11::2
# Configure a routing policy.
[SwitchA] ipv6 prefix-list a index 10 permit 30:: 32
[SwitchA] route-policy static2ripng deny node 0
[SwitchA-route-policy-static2ripng-0] if-match ipv6 address prefix-list a
[SwitchA-route-policy-static2ripng-0] quit
Switch A
Switch B
Vlan-int100
10::1/32
Vlan-int100
10::2/32
Vlan-int200
11::1/32
20::/32
30::/32
40::/32
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...