400
C
34: IP R
HAPTER
OUTING
Applying Route Policy
on Received or
Advertised Routes
P
C
OLICY
ONFIGURATION
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.
Table 400 Configure to filter the received routes
Operation
Configure to filter the received routing
information advertised by the specified
address
Cancel the filtering of the received routing
information advertised by the specified
address
Configure to filter the received global routing
information
Cancel the filtering of the received global
routing information
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.
Table 401 Configure to filter the advertised routes
Operation
Configure to filter the routes advertised by the
protocol
Cancel the filtering of the routes advertised by
the protocol
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
Command
filter-policy gateway ip-prefix-name import
undo filter-policy gateway ip-prefix-name
import
filter-policy { acl-number | ip-prefix
ip-prefix-name [ gateway ip-prefix-name] }
import
undo filter-policy { acl-number | ip-prefix
ip-prefix-name [ gateway ip-prefix-name] }
import
Command
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-protocol ]
undo filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-protocol ]
Need help?
Do you have a question about the 8807 and is the answer not in the manual?