3com 8807 User Guide

Page of 883
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.
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.
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:
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 
filter-policy gateway ip-prefix-name import 
Cancel the filtering of the received routing 
information advertised by the specified 
address 
undo filter-policy gateway ip-prefix-name 
import 
Configure to filter the received global routing 
information 
filter-policy { acl-number | ip-prefix 
ip-prefix-name [ gateway ip-prefix-name] } 
import 
Cancel the filtering of the received global 
routing information 
undo filter-policy { acl-number | ip-prefix 
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 
filter-policy { acl-number | ip-prefix 
ip-prefix-name } export [ routing-protocol ] 
Cancel the filtering of the routes advertised by 
the protocol 
undo filter-policy { acl-number | ip-prefix 
ip-prefix-name } export [ routing-protocol ]