400
C
24: RIP C
C
HAPTER
ONFIGURATION
OMMANDS
Related commands: acl, filter-policy import, ip ip-prefix.
Example
# Filter the advertised route information according to ACL 2000.
[3Com-rip] filter-policy 2000 export
filter-policy import
Syntax
filter-policy gateway ip-prefix-name import
undo filter-policy gateway ip-prefix-name import
filter-policy { acl-number | ip-prefix ip-prefix-name [ gateway ip-prefix-name ] }
import
undo filter-policy { acl-number | ip-prefix ip-prefix-name [ gateway
ip-prefix-name ] } import
View
RIP view
Parameter
acl-number: Access control list number used for filtering the destination addresses
of the routing information.
ip-prefix-name: Name of address prefix list used for filtering the destination
addresses of the routing information.
gateway ip-prefix-name: Name of address prefix list used for filtering the
addresses of the neighboring routers advertising the routing information.
Description
Use the filter-policy gateway import command to configure to filter the
received routing information distributed from the specified address.
Use the undo filter-policy gateway import command to configure not to filter
the received routing information distributed from the specified address.
Use the filter-policy import command to configure the filtering to the received
global routing information.
Use the undo filter-policy import command to disable filtering to the received
global routing information
By default, RIP does not filter the received routing information.
Related commands: acl, filter-policy export, ip ip-prefix.
Example
# Configure the filtering of the received global routing information according to
ACL 2000.
[3Com-rip] filter-policy 2000 import