H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 2 RIP Configuration Commands
2-5
2.1.5 filter-policy export
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } export [ protocol [ process-id ] |
interface interface-type interface-number ]
filter-policy route-policy route-policy-name export
undo filter-policy { acl-number | ip-prefix ip-prefix-name } export [ protocol
[ process-id ] | interface interface-type interface-number ]
undo filter-policy route-policy route-policy-name export
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 2,000 to 3,999.
ip-prefix-name: Name of the address ip-prefix list used to filter routing information by
destination address, containing 1 to 19 characters.
route-policy-name: Name of the routing policy used to filter routing information,
containing 1 to 19 characters. A routing policy can enable RIP to determine which
routes are to be sent/received based on such fields as
acl/cost/interface/ip/ip-prefix/tag.
protocol: Routing protocol whose routing information is to be filtered. Currently, this can
be bgp, direct, isis, ospf, ospf-ase, ospf-nssa or static.
process-id: Routing protocol process ID, in the range of 1 to 65535. This argument is
valid only when the protocol is ospf.
interface: Specifies an interface where the routes to be advertised will be filtered.
interface-type interface-number: Interface type and interface number.
Description
Use the filter-policy export command to enable RIP to filter the routing information to
be advertised.
Use the undo filter-policy export command to cancel the filtering of the routing
information to be advertised.
By default, RIP does not filter routing information before advertising.
Related commands: acl, filter-policy import, ip ip-prefix.
Examples
# Configure to filter route information by ACL 2000 before the information is advertised.