486CHAPTER 31: CONFIGURING IP ROUTING POLICY

Table 565 Configure Filtering Route Information Received

Operation

Command

 

 

Filter the route information received from

filter-policy gateway

a specified gateway

prefix-list-name import

 

 

Change or cancel filtering the route

undo filter-policy gateway

information received from a specified

prefix-list-name import

gateway

 

 

 

Filter the route information received

filter-policy {acl-number

 

ip-prefix prefix-list-name} import

 

 

Change or cancel filtering route

undo filter-policy {acl-number

information received

ip-prefix prefix-list-name} import

 

 

Filter routing information received from a

filter-policy ip-prefix

specified gateway and the routing

prefix-list-name gateway

information received according to

prefix-list-name import

prefix-list

 

 

 

Change or cancel filtering the routing

undo filter-policy ip-prefix

information received from a specified

prefix-list-name gateway

gateway and the routing information

prefix-list-name import

received according to prefix-list

 

 

 

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.

Table 566 Configure Filtering RouteInformation Being Advertised

Operation

Command

 

 

Filter the route information being

filter-policy {acl-number

advertised

ip-prefix prefix-list-name} export [

 

protocol ]

 

 

Change or cancel filtering route

undo filter-policy { acl-number

information being advertised

ip-prefix prefix-list-name} export [

 

protocol ]

 

 

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

Perform the following configurations in all views.

Debugging IP Routing

 

Policy

 

Page 490
Image 490
3Com 10014299 manual Debugging IP Routing Policy, OSPF-ASE external route discovered by Ospf protocol