H3C S7500E Series Command Manual page 460

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
5.1.33 filter-policy export
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id |
ospf process-id | rip process-id | static ]
undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id |
static ]
View
BGP view
Parameters
acl-number: Number of an ACL used to filter outgoing redistributed routing information,
ranging from 2000 to 3999.
ip-prefix-name: Name of an IP prefix list used to filter outgoing redistributed routing
information, a string of 1 to 19 characters.
direct: Filters direct routes.
isis process-id: Filters outgoing routes redistributed from an ISIS process. The ID is in
the range 1 to 65535.
ospf process-id: Filters outgoing routes redistributed from the OSPF process with an ID
from 1 to 65535.
rip process-id: Filters outgoing routes redistributed from a RIP process. The ID is in the
range 1 to 65535.
static: Filters static routes.
If no routing protocol is specified, all outgoing routes are filtered.
Description
Use the filter-policy export command to filter outgoing redistributed routes and only
the routes permitted by the specified filter can be advertised.
Use the undo filter-policy export command to remove the filtering.
If no routing protocol is specified, the filtering applies to all outgoing redistributed
routes.
By default, the filtering is not configured.
Examples
# In BGP view, reference ACL 2000 to filter all outgoing redistributed routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] filter-policy 2000 export
Chapter 5 BGP Configuration Commands
5-31

Advertisement

Table of Contents
loading

Table of Contents