3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
400
C
HAPTER
34: IP R
OUTING
P
OLICY
C
ONFIGURATION
Applying Route Policy
on Received or
Advertised Routes
Configuring to filter the received routes
Perform the following configuration in routing protocol view.
Define a policy to filter the routing information not satisfying the conditions while
receiving routes with the help of an ACL or address prefix-list. gateway specifies
that only the update packets from a particular neighboring router will be received.
receiving routes with the help of an ACL or address prefix-list. gateway specifies
that only the update packets from a particular neighboring router will be received.
Configuring to filter the advertised routes
You may define a route advertisement policy to filter advertised routing
information. This can be done by referencing an ACL or IP prefix-list to filter
routing information that does not meet the conditions, or by specifying a protocol
to filter routing information of that protocol only.
information. This can be done by referencing an ACL or IP prefix-list to filter
routing information that does not meet the conditions, or by specifying a protocol
to filter routing information of that protocol only.
Perform the following configuration in routing protocol view.
By far, the route policy supports importing the routes discovered by the following
protocols into the routing table:
protocols into the routing table:
direct: The hop (or host) to which the local interface is directly connected.
static: Route configured statically
rip: Route discovered by RIP
ospf: Route discovered by OSPF
ospf-ase: External route discovered by OSPF
ospf-nssa: NSSA route discovered by OSPF
isis: Route discovered by IS-IS
Table 400 Configure to filter the received routes
Operation
Command
Configure to filter the received routing
information advertised by the specified
address
information advertised by the specified
address
filter-policy gateway ip-prefix-name import
Cancel the filtering of the received routing
information advertised by the specified
address
information advertised by the specified
address
undo filter-policy gateway ip-prefix-name
import
import
Configure to filter the received global routing
information
information
filter-policy { acl-number | ip-prefix
ip-prefix-name [ gateway ip-prefix-name] }
import
ip-prefix-name [ gateway ip-prefix-name] }
import
Cancel the filtering of the received global
routing information
routing information
undo filter-policy { acl-number | ip-prefix
ip-prefix-name [ gateway ip-prefix-name] }
import
ip-prefix-name [ gateway ip-prefix-name] }
import
Table 401 Configure to filter the advertised routes
Operation
Command
Configure to filter the routes advertised by the
protocol
protocol
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-protocol ]
ip-prefix-name } export [ routing-protocol ]
Cancel the filtering of the routes advertised by
the protocol
the protocol
undo filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-protocol ]
ip-prefix-name } export [ routing-protocol ]