R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

38
[RouterB-rip-100] undo summary
[RouterB-rip-100] quit
[RouterB] rip 200
[RouterB-rip-200] network 12.0.0.0
[RouterB-rip-200] version 2
[RouterB-rip-200] undo summary
[RouterB-rip-200] quit
# Enable RIP 200 and configure RIPv2 on Router C.
<RouterC> system-view
[RouterC] rip 200
[RouterC-rip-200] network 12.0.0.0
[RouterC-rip-200] network 16.0.0.0
[RouterC-rip-200] version 2
[RouterC-rip-200] undo summary
[RouterC-rip-200] quit
# Display the routing table on Router C.
[RouterC] display ip routing-table
Routing Tables: Public
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
12.3.1.0/24 Direct 0 0 12.3.1.2 Eth1/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 Eth1/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 Eth1/1
11.1.1.0/24 RIP 100 1 12.3.1.1 Eth1/1
12.3.1.0/24 Direct 0 0 12.3.1.2 Eth1/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 Eth1/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: