beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 391

background image

366

2.

Configure RIP basic functions:
# Enable RIP 100, and configure a RIP version of 2 on SecPath A.

system-view

[SecPathA] rip 100

[SecPathA-rip-100] network 10.0.0.0

[SecPathA-rip-100] network 11.0.0.0

[SecPathA-rip-100] version 2

[SecPathA-rip-100] undo summary

[SecPathA-rip-100] quit

# Enable RIP 100 and RIP 200, configure RIP version as 2 on SecPath B.

system-view

[SecPathB] rip 100

[SecPathB-rip-100] network 11.0.0.0

[SecPathB-rip-100] version 2

[SecPathB-rip-100] undo summary

[SecPathB-rip-100] quit

[SecPathB] rip 200

[SecPathB-rip-200] network 12.0.0.0

[SecPathB-rip-200] version 2

[SecPathB-rip-200] undo summary

[SecPathB-rip-200] quit

# Enable RIP 200 and configure RIP version as 2 on SecPath C.

system-view

[SecPathC] rip 200

[SecPathC-rip-200] network 12.0.0.0

[SecPathC-rip-200] network 16.0.0.0

[SecPathC-rip-200] version 2

[SecPathC-rip-200] undo summary

# Display the routing table of SecPath C.

[SecPathC] 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 GE0/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 GE0/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 SecPath B.

[SecPathB] rip 200

[SecPathB-rip-200] import-route rip 100

[SecPathB-rip-200] import-route direct

[SecPathB-rip-200] quit

# Display the routing table of SecPath C.

[SecPathC] display ip routing-table