Applying A Routing Policy To Ipv6 Route Redistribution - HP 3600 v2 series Configuration Manual

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

Applying a routing policy to IPv6 route redistribution

Network requirements
As shown in
Enable RIPng on Switch A and Switch B.
On Switch A, configure three static routes, and apply a routing policy to static route redistribution
to permit routes 20::0/32 and 40::0/32, and deny route 30::0/32.
Display RIPng routing table information on Switch B to verify the configuration.
Figure 120 Network diagram
Configuration procedure
Configure Switch A.
1.
# Configure IPv6 addresses for VLAN-interface 100 and VLAN-interface 200.
<SwitchA> system-view
[SwitchA] ipv6
[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 1 1::2—and make sure that they 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] ip ipv6-prefix a index 10 permit 30:: 32
[SwitchA] route-policy static2ripng deny node 0
[SwitchA-route-policy] if-match ipv6 address prefix-list a
[SwitchA-route-policy] quit
[SwitchA] route-policy static2ripng permit node 10
[SwitchA-route-policy] quit
# Enable RIPng and apply the routing policy to static route redistribution.
[SwitchA] ripng
Figure
120:
373

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents