H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 3 RIP Configuration
3-7
III. Disable the receiving of host routes
In some special cases, the router can receive a lot of host routes from the same
network segment, and these routes are of little help in route addressing but consume
a large amount of network resources. After host route receiving is disabled, a router
can refuse any incoming host routes.
Follow these steps to disable the receiving of host routes:
To do... Use the command... Remarks
Enter system view
system-view
—
Enter RIP view
rip
—
Disable the receiving of
host routes
undo host-route
Required
By default, the router
receives host routes.
IV. Configure inbound/outbound route filtering policies
Route filtering is supported by the router. You can filter received or advertised routes
by configuring the inbound and outbound route filtering policies via referencing an
ACL and IP prefix list. You can also specify to receive only routes from a specified
neighbor.
Follow these steps to configure the filtering of incoming/outgoing routes:
To do... Use the command... Remarks
Enter system view
system-view
—
Enter RIP view
rip
—
filter-policy { acl-number |
[ ip-prefix ip-prefix-name ]
[ gateway ip-prefix-name ] }
import [ interface interface-type
interface-number ]
Configure to filter
incoming routes
filter-policy route-policy
route-policy-name import
Optional
By default, RIP does not
filter any incoming routes.
The gateway keyword is
used to filter the incoming
routes advertised from a
specified address.
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ protocol | interface
interface-type interface-number ]
Configure to filter
outgoing routes
filter-policy route-policy
route-policy-name export
Optional
By default, RIP does not
filter any outgoing routes.