beautypg.com

Disabling host route reception, Advertising a default route – H3C Technologies H3C S12500-X Series Switches User Manual

Page 42

background image

28

For example, suppose contiguous subnets routes 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24 exist in the

routing table. You can create a summary route 10.1.0.0/16 on Ethernet 1/1 to advertise the summary
route instead of the more specific routes.
To configure a summary route:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter RIP view.

rip [ process-id ] [ vpn-instance
vpn-instance-name ]

N/A

3.

Disable RIPv2 automatic route

summarization.

undo summary

By default, RIPv2 automatic route
summarization is enabled.

4.

Return to system view.

Quit

N/A

5.

Enter interface view.

interface interface-type

interface-number

N/A

6.

Configure a summary route.

rip summary-address ip-address
{ mask-length | mask }

By default, no summary route is
configured.

150B

Disabling host route reception

Perform this task to disable RIPv2 from receiving host routes from the same network to save network

resources. This feature does not apply to RIPv1.
To disable RIP from receiving host routes:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter RIP view.

rip [ process-id ] [ vpn-instance
vpn-instance-name ]

N/A

3.

Disable RIP from receiving

host routes.

undo host-route

By default, RIP receives host routes.

151B

Advertising a default route

You can advertise a default route on all RIP interfaces in RIP view or on a specific RIP interface in interface

view. The interface view setting takes precedence over the RIP view settings.
To disable an interface from advertising a default route, use the rip default-route no-originate command

on the interface.
To configure RIP to advertise a default route:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter RIP view.

rip [ process-id ] [ vpn-instance
vpn-instance-name ]

N/A

This manual is related to the following products: