Applying A Routing Policy To Ipv6 Route Redistribution - HPE 5800 Series Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

[SwitchB-route-policy] quit
Apply the routing policy to route redistribution:
6.
# On Switch B, apply the routing policy when redistributing routes.
[SwitchB] ospf
[SwitchB-ospf-1] import-route isis 1 route-policy isis2ospf
[SwitchB-ospf-1] quit
# Display the OSPF routing table on Switch A. The cost of route 172.17.1.0/24 is 100, and the
tag of route 172.17.1.0/24 is 20.
[SwitchA] 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
As shown in
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.
Figure 104 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
OSPF Process 1 with Router ID 192.168.1.1
Routing Tables
Cost
1
Cost
100
1
1
1
Inter Area: 0
Figure
104, run RIPng on Switch A and Switch B.
Type
NextHop
Transit
192.168.1.1
Type
Tag
Type2
1
Type2
20
Type2
1
Type2
1
ASE: 4
NSSA: 0
360
AdvRouter
Area
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
0.0.0.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents