28
Enabling RIPv2 route automatic summarization
You can disable RIPv2 route automatic summarization if you want to advertise all subnet routes.
To enable RIPv2 route automatic summarization:
Ste
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. Enable RIPv2 automatic route
summarization.
summary
Optional.
Enabled by default.
If the subnet routes in the routing
table are not consecutive, disable
automatic route summarization to
avoid black hole routing.
Advertising a summary route
Disable RIPv2 route automatic summarization before advertising a summary route on an interface.
To configure RIPv2 to advertise a summary route on the specified interface:
Ste
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:
Ste
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 Enabled by default.