486 CHAPTER 31: CONFIGURING IP ROUTING POLICY
Tabl e 565 Configure Filtering Route Information Received
2Configure filtering the route information being advertised
Define a strategic rule and quote an ACL or prefix-list to filter the routing
information that does not meet the requirements when receiving routes. Specify
the protocol to filter only the distributed protocol routing information.
Tabl e 566 Configure Filtering RouteInformation Being Advertised
By default, no route information received or being advertised is filtered.
protocol specifies the routing domain that can will be filtered. At present, it can
filter routes domain as follows:
direct: the network segment (host) route directly connected with the local
interface.
static: static route
RIP: route discovered by RIP protocol+
OSPF: route discovered by OSPF protocol
OSPF-ASE: external route discovered by OSPF protocol
BGP: route discovered by BGP protocol
Displaying and Debugging IP Routing Policy
Perform the following configurations in all views.
Operation Command
Filter the route information received from
a specified gateway filter-policy gateway
prefix-list-name import
Change or cancel filtering the route
information received from a specified
gateway
undo filter-policy gateway
prefix-list-name import
Filter the route information received filter-policy {acl-number |
ip-prefix prefix-list-name } import
Change or cancel filtering route
information received undo filter-policy {acl-number |
ip-prefix prefix-list-name } import
Filter routing information received from a
specified gateway and the routing
information received according to
prefix-list
filter-policy ip-prefix
prefix-list-name gateway
prefix-list-name import
Change or cancel filtering the routing
information received from a specified
gateway and the routing information
received according to prefix-list
undo filter-policy ip-prefix
prefix-list-name gateway
prefix-list-name import
Operation Command
Filter the route information being
advertised filter-policy {acl-number |
ip-prefix prefix-list-name } export [
protocol ]
Change or cancel filtering route
information being advertised undo filter-policy { acl-number |
ip-prefix prefix-list-name } export [
protocol ]