R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

253
NOTE:
You need to disable RIPv2 route automatic summarization before advertising a summary route on an
interface.
Disabling host route reception
Sometimes a router may receive from the same network many host routes, which are not helpful for
routing and consume a large amount of network resources. You can disable RIP from receiving host
routes to save network resources.
Follow these steps to disable RIP from receiving host routes:
To do… Use the command…
Remarks
Enter system view system-view
Enter RIP view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
Disable RIP from receiving host
routes
undo host-route
Required
Enabled by default
NOTE:
RIPv2 can be disabled from receiving host routes, but RIPv1 cannot.
Advertising a default route
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
interface view takes precedence 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.
Follow these steps to configure RIP to advertise a default route:
To do… Use the command…
Remarks
Enter system view system-view ––
Enter RIP view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
––
Enable RIP to advertise a
default route
default-route { only | originate } [ cost
cost ]
Optional
Not enabled by default
Return to system view quit ––
Enter interface view interface interface-type interface-number ––
Configure the RIP interface
to advertise a default route
rip default-route { { only | originate } [ cost
cost ] | no-originate }
Optional
By default, a RIP interface can
advertise a default route if the RIP
process is configured with default
route advertisement.