3Com 3.01.01 Switch User Manual


 
IP Routing Policy 157
the items are in the deny mode, no route will pass the ip-prefix filtering. You can
define an item of permit 0.0.0.0/0 greater-equal 0 less-equal 32 after the
multiple list items in the deny mode to let all the other routes pass.
Configuring for Filtering Received Routes
Perform the following configuration in routing protocol view.
Define a policy that filters the routing information that does not satisfy the
conditions and receives routes with the help of an ACL or address prefix-list. The
filter-policy gateway command specifies that only the update packets from a
specific neighboring router will be received.
Configuring for Filtering Distributed Routes
Define a policy concerning route distribution that filters the routing information
that does not satisfy the conditions, and distributes routes with the help of an ACL
or address ip-prefix.
Perform the following configuration in routing protocol view.
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: Static Route Configuration
RIP: Route discovered by RIP
OSPF: Route discovered by OSPF
OSPF-ASE: External route discovered by OSPF
OSPF-NSSA: NSSA route discovered by OSPF
BGP: Route acquired by BGP
Table 137 Configuring Filtering for Received Routes
Operation Command
Configure to filter the received routing
information distributed by the specified
address
filter-policy gateway ip-prefix-name import
Cancel the filtering of the received routing
information distributed 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 ] import
Cancel the filtering of the received global
routing information
undo filter-policy { acl-number | ip-prefix
ip-prefix-name } [ gateway ] import
Table 138 Configuring Filtering of Distributed Routes
Operation Command
Configure to filter the routes distributed by
the protocol
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-process ]
Cancel the filtering of the routes distributed
by the protocol
undo filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-process ]