View
RIP view
Parameters
acl-number: Number of the basic or advanced ACL used to filter routing information by destination
address, in the range of 2000 to 3999.
ip-prefix-name: Name of the address ip-prefix list used to filter routing information by destination
address, a string of 1 to 19 characters.
route-policy-name: Name of the route-policy used to filter routing information, a string of 1 to 19
characters.
protocol: Filters routing protocol redistributed from the protocol. Currently, this argument can be direct,
or static.
Description
Use the filter-policy export command to enable RIP to filter the outgoing routing information.
Use the undo filter-policy export command to disable RIP from filtering the outgoing routing
information.
Note that, if protocol is specified, RIP filters only the outgoing routes redistributed from the specified
routing protocol. Otherwise, RIP filters all routes to be advertised.
By default, RIP does not filter advertised routing information.
Related commands: acl, filter-policy import, ip ip-prefix.
For details about ACL, refer to ACL Operation.
Examples
# Apply ACL 2000 to filter the outgoing routing information.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rip
[Sysname-rip] filter-policy 2000 export
filter-policy import
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name [ gateway ip-prefix-name ] | route-policy
route-policy-name } import
undo 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
undo filter-policy gateway ip-prefix-name import
View
RIP view
3-6