Applying A Route Policy To Ipv6 Route Redistribution - H3C S5500-SI Series Operation Manual

Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

[SwitchA-acl-basic-2000] rule deny source 30.0.0.0 0.255.255.255
[SwitchA-acl-basic-2000] rule permit source any
[SwitchA-acl-basic-2000] quit
# Redistribute static routes.
[SwitchA] rip
[SwitchA-rip-1] import-route static
# Apply ACL 2000 to filter the routing information to be advertised to Switch B.
[SwitchA-rip-1] filter-policy 2000 export vlan-interface 100
[SwitchA-rip-1] quit
2)
Configure Switch B.
# Configure IP addresses of the interfaces (omitted).
# Configure RIP basic functions.
<SwitchB> system-view
[SwitchB] rip
[SwitchB-rip-1] version 2
[SwitchB-rip-1] undo summary
[SwitchB-rip-1] network 192.168.1.0
[SwitchB-rip-1] network 10.0.0.0
[SwitchB-rip-1] quit
3)
Display the RIP routing table of Switch B and verify the configuration.
[SwitchB] display rip 1 route
Route Flags: R - RIP, T - TRIP
P
----------------------------------------------------------------------
Peer 192.168.1.3
Destination/Mask
20.0.0.0/8
40.0.0.0/8
The display shows that Switch B has only the routing information permitted by ACL 2000. Therefore, the
configurations above can meet the configuration requirements.

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.
-
Permanent,
A
-
on Vlan-interface100
Nexthop
192.168.1.3
192.168.1.3
Aging,
S
-
Suppressed,
Cost
Tag
Flags
1
0
RA
1
0
RA
1-8
G
-
Garbage-collect
Sec
14
14

Advertisement

Chapters

Table of Contents
loading

Table of Contents