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

28
To configure RIPv2 to advertise a summary route on the specified interface:
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
Enabled by default.
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface interface-type
interface-number
N/A
6.
Advertise a summary route.
rip summary-address ip-address { mask
| mask-length }
N/A
Disabling host route reception
Perform this task to disable RIPv2 from receiving host routes from the same network and 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.
Advertising a default route
Under the following conditions, you can configure RIP to advertise a default route with a specified metric
to RIP neighbors:
•
In RIP view, you can configure all the interfaces of the RIP process to advertise a default route. In
interface view, you can configure a RIP interface of the RIP process to advertise a default route. The
latter takes precedence over the former on the interface.
•
If a RIP process is enabled to advertise a default route, to disable an interface of the RIP process
from default route advertisement, you can 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