H3C Technologies H3C SR8800 User Manual
Page 61
45
12.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0
16.4.1.0/24 Direct 0 0 16.4.1.1 GE3/1/2
16.4.1.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
3.
Configure RIP route redistribution:
# Configure RIP 200 to redistribute direct routes and routes from RIP 100 on Router B.
[RouterB] rip 200
[RouterB-rip-200] import-route rip 100
[RouterB-rip-200] import-route direct
[RouterB-rip-200] quit
# Display the routing table of Router C.
[RouterC] display ip routing-table
Routing Tables: Public
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost NextHop Interface
10.2.1.0/24 RIP 100 1 12.3.1.1 GE3/1/1
11.1.1.0/24 RIP 100 1 12.3.1.1 GE3/1/1
12.3.1.0/24 Direct 0 0 12.3.1.2 GE3/1/1
12.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0
16.4.1.0/24 Direct 0 0 16.4.1.1 GE3/1/2
16.4.1.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
4.
Configure a filtering policy for redistributed routes:
# On Router B, define ACL 2000 and reference it to a filtering policy to filter routes redistributed
from RIP 100, making the route not advertised to Router C.
[RouterB] acl number 2000
[RouterB-acl-basic-2000] rule deny source 10.2.1.1 0.0.0.255
[RouterB-acl-basic-2000] rule permit
[RouterB-acl-basic-2000] quit
[RouterB] rip 200
[RouterB-rip-200] filter-policy 2000 export rip 100
# Display the routing table on Router C.
[RouterC] display ip routing-table
Routing Tables: Public
Destinations : 7 Routes : 7
Destination/Mask Proto Pre Cost NextHop Interface
11.1.1.0/24 RIP 100 1 12.3.1.1 GE3/1/1
12.3.1.0/24 Direct 0 0 12.3.1.2 GE3/1/1
12.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0
16.4.1.0/24 Direct 0 0 16.4.1.1 GE3/1/2
16.4.1.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0