Follow these steps to configure RIP route summarization:
To do...
Enter system view
Enter RIP view
Enable RIP-2 automatic
route summarization
Disabling the router from receiving host routes
In some special cases, the router can receive a lot of host routes from the same segment, and these
routes are of little help in route addressing but consume a lot of network resources. After a router is
disabled from receiving host routes, it can refuse any incoming host route.
Follow these steps to disable the router from receiving host routes:
To do...
Enter system view
Enter RIP view
Disable the router from
receiving host routes
Configuring RIP to filter incoming/outgoing routes
The route filtering function provided by a router enables you to configure inbound/outbound filter policy
by specifying an ACL, address prefix list, or route policy to make RIP filter incoming/outgoing routes.
Besides, you can configure RIP to receive only the RIP packets from a specific neighbor.
Follow these steps to configure RIP to filter incoming/outgoing routes:
To do...
Enter system view
Enter RIP view
Configure RIP to filter
incoming routes
Configure RIP to filter
outgoing routes
Use the command...
system-view
rip
summary
Use the command...
system-view
rip
undo host-route
Use the command...
system-view
rip
filter-policy { acl-number | ip-prefix
ip-prefix-name [ gateway
ip-prefix-name ] | route-policy
route-policy-name } import
filter-policy gateway ip-prefix-name
import
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ protocol ]
filter-policy route-policy
route-policy-name export
3-6
Remarks
—
—
Required
Enabled by default
Remarks
—
—
Required
By default, the router receives
host routes.
Remarks
—
—
Required
By default, RIP does not
filter any incoming route.
The gateway keyword is
used to filter the incoming
routes advertised from a
specified address.
Required
By default, RIP does not
filter any outgoing route.