Applying A Route Policy To Ipv6 Route Redistribution - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

[SwitchB-route-policy] if-match acl 2002
[SwitchB-route-policy] apply tag 20
[SwitchB-route-policy] quit
[SwitchB] route-policy isis2ospf permit node 30
[SwitchB-route-policy] quit
6)
Apply the route policy to route redistribution.
# On Switch B, apply the route 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, the tag of route
172.17.1.0/24 is 20.
[SwitchA] display ospf routing
OSPF Process 1 with Router ID 192.168.1.1
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 Route Policy to IPv6 Route Redistribution

Network requirements
As shown in the following figure:
Enable RIPng on Switch A and Switch B.
On Switch A, configure three static routes, and apply a route 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.
Routing Tables
Cost
Type
1
Transit
Cost
Type
100
Type2
1
Type2
1
Type2
1
Type2
Inter Area: 0
ASE: 4
NextHop
AdvRouter
192.168.1.1
192.168.1.1
Tag
NextHop
1
192.168.1.2
20
192.168.1.2
1
192.168.1.2
1
192.168.1.2
NSSA: 0
1-12
Area
0.0.0.0
AdvRouter
192.168.2.2
192.168.2.2
192.168.2.2
192.168.2.2

Advertisement

Chapters

Table of Contents
loading

Table of Contents