Applying A Routing Policy To Ipv6 Route Redistribution - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

# On Router B, enable route redistribution from IS-IS and apply the routing policy.
[RouterB] ospf
[RouterB-ospf-1] import-route isis 1 route-policy isis2ospf
[RouterB-ospf-1] quit
# Display OSPF routing table information on Router A. The cost of route 172.17.1.0/24 is 100,
and the tag of route 172.17.2.0/24 is 20.
[RouterA] display ospf routing
Routing for Network
Destination
192.168.1.0/24
Routing for ASEs
Destination
172.17.1.0/24
172.17.2.0/24
172.17.3.0/24
192.168.2.0/24
Total Nets: 5
Intra Area: 1

Applying a routing policy to IPv6 route redistribution

Network requirements
In
Figure
Configure three static routes on Router A
On Router A, 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 117 Network diagram
Configuration procedure
Configure Router A:
1.
# Configure IPv6 addresses for interfaces GigabitEthernet 2/1/1 and GigabitEthernet 2/1/2.
<RouterA> system-view
[RouterA] ipv6
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ipv6 address 10::1 32
OSPF Process 1 with Router ID 192.168.1.1
Routing Tables
Cost
1
Cost
100
1
1
1
Inter Area: 0
117, enable RIPng on Router A and Router B.
Type
NextHop
Transit
192.168.1.1
Type
Tag
Type2
1
Type2
20
Type2
1
Type2
1
ASE: 4
NSSA: 0
415
AdvRouter
192.168.1.1
NextHop
AdvRouter
192.168.1.2
192.168.2.2
192.168.1.2
192.168.2.2
192.168.1.2
192.168.2.2
192.168.1.2
192.168.2.2
Area
0.0.0.0

Advertisement

Table of Contents
loading

Table of Contents