H3C Technologies H3C SecPath F1000-E User Manual

Page 396

Advertising
background image

371

[RouterC] rip 1

[RouterC-rip-1] network 11.0.0.0

[RouterC-rip-1] version 2

[RouterC-rip-1] undo summary

[RouterC-rip-1] quit

# Configure RIP to redistribute the routes from OSPF process 1 and direct routes on SecPath.

[SecPath-rip-1] import-route direct

[SecPath-rip-1] import-route ospf 1

# Display the routing table information of Router C.

[RouterC] display ip routing-table

Routing Tables: Public

Destinations : 10 Routes : 10

Destination/Mask Proto Pre Cost NextHop Interface

10.1.1.0/24 RIP 100 1 11.3.1.1 Eth1/1

10.2.1.0/24 RIP 100 1 11.3.1.1 Eth1/1

10.5.1.0/24 RIP 100 1 11.3.1.1 Eth1/1

10.6.1.0/24 RIP 100 1 11.3.1.1 Eth1/1

11.3.1.0/24 Direct 0 0 11.3.1.2 Eth1/1

11.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0

11.4.1.0/24 Direct 0 0 11.4.1.2 Eth1/2

11.4.1.2/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 route summarization on SecPath and advertise only the summary route 10.0.0.0/8:

[SecPath] interface gigabitethernet 0/2

[SecPath-GigabitEthernet0/2] rip summary-address 10.0.0.0 8

# Display the routing table information of Router C.

[RouterC] display ip routing-table

Routing Tables: Public

Destinations : 7 Routes : 7

Destination/Mask Proto Pre Cost NextHop Interface

10.0.0.0/8 RIP 100 1 11.3.1.1 Eth1/1

11.3.1.0/24 Direct 0 0 11.3.1.2 Eth1/1

11.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0

11.4.1.0/24 Direct 0 0 11.4.1.2 Eth1/2

11.4.1.2/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

Advertising