Operation Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 RIP Configuration
Huawei Technologies Proprietary
3-8
Table 3-8 Configure RIP to filter incoming/outgoing routes
Operation Command Description
Enter system view
system-view
—
Enter RIP view
rip
—
filter-policy { acl-number |
ip-prefix ip-prefix-name
[ gateway ip-prefix-name ] |
route-policy
route-policy-name } import
Configure RIP to filter
incoming routes
filter-policy gateway
ip-prefix-name import
Required
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 [ routing-protocol ]
Configure RIP to filter
outgoing routes
filter-policy route-policy
route-policy-name export
Required
By default, RIP does
not filter any outgoing
routes.
Note:
z The filter-policy import command filters the RIP routes received from neighbors,
and the routes being filtered out will neither be added to the routing table nor be
advertised to any neighbors.
z The filter-policy export command filters all the routes to be advertised, including
the routes imported by using the import-route command as well as RIP routes
learned from neighbors.
z The filter-policy export command without the routing-protocol argument filters all
the routes to be advertised, including the routes imported by the import-route
command.